{
  "_id": "6a154e3eacfb0bcc41d598b5",
  "Package": "sourcemodify",
  "Type": "Package",
  "Title": "Helper functions to modify source code of R scripts",
  "Version": "0.1.0",
  "Author": "Sebastian Kranz",
  "Maintainer": "Sebastian Kranz <sebastian.kranz@uni-ulm.de>",
  "Description": "Helper functions to modify source code of R scripts",
  "License": "GPL >= 2.0",
  "Encoding": "UTF-8",
  "Remotes": [
    "skranz/stringtools"
  ],
  "RoxygenNote": "7.1.1",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://skranz.r-universe.dev",
  "Date/Publication": "2026-03-27 06:15:15 UTC",
  "RemoteUrl": "https://github.com/repboxr/sourcemodify",
  "RemoteRef": "main",
  "RemoteSha": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-26 07:37:16 UTC",
    "User": "root"
  },
  "MD5sum": "51e83a66a75f275111c56a4a015ec893",
  "_user": "skranz",
  "_type": "src",
  "_file": "sourcemodify_0.1.0.tar.gz",
  "_fileid": "0cc9a4e14efb1059d3b172a2c8adddabb963015cdeac8bdbdaf2f4d9684253a6",
  "_filesize": 111848,
  "_sha256": "0cc9a4e14efb1059d3b172a2c8adddabb963015cdeac8bdbdaf2f4d9684253a6",
  "_created": "2026-05-26T07:37:16.000Z",
  "_published": "2026-05-26T07:39:42.672Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77828519630,
      "time": 116,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7211426243"
    },
    {
      "job": 77828519649,
      "time": 118,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7211426264"
    },
    {
      "job": 77828519607,
      "time": 115,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7211425073"
    },
    {
      "job": 77828519693,
      "time": 81,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7211415893"
    },
    {
      "job": 77828109258,
      "time": 173,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7211392907"
    },
    {
      "job": 77828519562,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7211419496"
    },
    {
      "job": 77828519558,
      "time": 102,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7211423467"
    },
    {
      "job": 77828519625,
      "time": 69,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7211412718"
    },
    {
      "job": 77828519577,
      "time": 87,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7211417822"
    }
  ],
  "_buildurl": "https://github.com/r-universe/skranz/actions/runs/26438867910",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/repboxr/sourcemodify",
  "_commit": {
    "id": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
    "author": "skranz-auto <xsx50@uni-ulm.de>",
    "committer": "skranz-auto <xsx50@uni-ulm.de>",
    "message": "Update from server\n",
    "time": 1774592115
  },
  "_maintainer": {
    "name": "Sebastian Kranz",
    "email": "sebastian.kranz@uni-ulm.de",
    "login": "skranz",
    "bluesky": "@sebkranz.bsky.social",
    "description": "",
    "uuid": 1413022
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "stringi",
      "role": "Depends"
    },
    {
      "package": "restorepoint",
      "role": "Depends"
    },
    {
      "package": "stringtools",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Depends"
    }
  ],
  "_owner": "repboxr",
  "_selfowned": true,
  "_usedby": 3,
  "_updates": [
    {
      "week": "2026-13",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "skranz",
      "count": 15,
      "uuid": 1413022
    },
    {
      "user": "skranz-auto",
      "count": 4,
      "uuid": 124874982
    }
  ],
  "_userbio": {
    "uuid": 1413022,
    "type": "user",
    "name": "Sebastian Kranz"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sourcemodify"
  },
  "_devurl": "https://github.com/repboxr/sourcemodify",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/sourcemodify.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "add_id_col",
    "debug.check.mod",
    "example",
    "extractFunArgsParseData",
    "find_descendant_ids",
    "find_somo_descendant_ids",
    "find_somo_fun_call",
    "find.line.starts",
    "get.fun.args.def",
    "get.mod_df.value",
    "getAssignmentParseData",
    "getAugmentedParseData",
    "getFunCallsParseData",
    "has.col",
    "init.somo.single.code",
    "match.arg.with.args.df",
    "pd_add_funid",
    "remove.col",
    "somo_calls_info",
    "somo_change_assign_rhs",
    "somo_change_calls_fun_name",
    "somo_find_fun_arg",
    "somo_find_fun_call",
    "somo_found",
    "somo_init",
    "somo_make_code",
    "somo_make_mod_df",
    "somo_make_pd_code",
    "somo_surround_calls",
    "somo_surround_calls_arg",
    "srcref_to_df",
    "sys_calls_df"
  ],
  "_help": [
    {
      "page": "getAugmentedParseData",
      "title": "Key internal function fo sourcemodify Returns parsed code as a tibble with detailed information where each subexpression is found in the code",
      "topics": [
        "getAugmentedParseData"
      ]
    },
    {
      "page": "somo_calls_info",
      "title": "A simplified interface to somo_find_fun_arg",
      "topics": [
        "somo_calls_info"
      ]
    },
    {
      "page": "somo_change_assign_rhs",
      "title": "Changes the rhs of variable assignments",
      "topics": [
        "somo_change_assign_rhs"
      ]
    },
    {
      "page": "somo_change_calls_fun_name",
      "title": "Change the name of a called function without adapting any arguments",
      "topics": [
        "somo_change_calls_fun_name"
      ]
    },
    {
      "page": "somo_find_fun_arg",
      "title": "Find the text of the function argument in all calls to fun",
      "topics": [
        "somo_find_fun_arg"
      ]
    },
    {
      "page": "somo_find_fun_call",
      "title": "Find the text of the function argument in all calls to fun",
      "topics": [
        "somo_find_fun_call"
      ]
    },
    {
      "page": "somo_found",
      "title": "Returns the results from the last somo_find_* call as a tibble",
      "topics": [
        "somo_found"
      ]
    },
    {
      "page": "somo_init",
      "title": "Init a new source modifier object",
      "topics": [
        "somo_init"
      ]
    },
    {
      "page": "somo_make_code",
      "title": "Returns the modified code of a somo object",
      "topics": [
        "somo_make_code"
      ]
    },
    {
      "page": "somo_make_mod_df",
      "title": "Generate a data frame that contains information for all code modifications",
      "topics": [
        "somo_make_mod_df"
      ]
    },
    {
      "page": "somo_make_pd_code",
      "title": "Computes for the specified rows in somo$pd the modified code after replacements have been performed.",
      "topics": [
        "somo_make_pd_code"
      ]
    },
    {
      "page": "somo_surround_calls",
      "title": "Surround calls to the specified functions",
      "topics": [
        "somo_surround_calls"
      ]
    },
    {
      "page": "somo_surround_calls_arg",
      "title": "Surround an argument of specific function",
      "topics": [
        "somo_surround_calls_arg"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "dplyr",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "R6",
    "restorepoint",
    "rlang",
    "stringi",
    "stringr",
    "stringtools",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 1.9542425094393248,
  "_indexed": false,
  "_nocasepkg": "sourcemodify",
  "_universes": [
    "skranz"
  ],
  "_indexurl": "https://repboxr.r-universe.dev/sourcemodify",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-26T07:39:13.000Z",
      "distro": "noble",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "24536921daec7d18f815fc973056c37fff00c8cdc1e766abd5845f3234896a45",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/26438867910"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-26T07:39:12.000Z",
      "distro": "noble",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "de5f1513f55f4b90e273ca8a8ccdac51be7555e6419928f38bbe378875a6f9a0",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/26438867910"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-26T07:39:10.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "9962f30061cfddaf45235abcfa67906caf2548ba7168332dfcb9005b418787bf",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/26438867910"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-26T07:38:40.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "66a295f075aa93aa72ee5545f2b1e3382b3faf797cdf782388b614a43b5a7f2d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/26438867910"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-05-26T07:39:02.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "6fd40eaad50a87c00cd76233300f3963ef57084cb26a08f26fa2e2af93d08c61",
      "status": "success",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/26438867910"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-26T07:38:59.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "47a4543cd9461edc1495cc5685c08eb65753f3d8714e923efac5f55bb9027015",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/26438867910"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-26T07:38:20.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "dfe837e8dc2605b68df6e829cf6b352084ca8243ace36a03ff15d983cd0f6b99",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/26438867910"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-26T07:38:40.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "6e1d782b08f6f3bca2eb29e366895c2fb1f548b66e66407998a05de4efc52230",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/26438867910"
    }
  ]
}