{
  "_id": "6a483f25e06c18f0a65327b8",
  "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-07-03 22:57:47 UTC",
    "User": "root"
  },
  "_user": "skranz",
  "_type": "src",
  "_file": "sourcemodify_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/cdbfbe082ae4317f3387db829702140727538d62ab6bce5e1986fcad7ff9c7bd",
  "_filesize": 113029,
  "_sha256": "cdbfbe082ae4317f3387db829702140727538d62ab6bce5e1986fcad7ff9c7bd",
  "_expires": "2026-10-11T23:00:52.000Z",
  "_created": "2026-07-03T22:57:47.000Z",
  "_published": "2026-07-03T23:00:53.876Z",
  "_jobs": [
    {
      "job": 85081146669,
      "time": 111,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8075886260"
    },
    {
      "job": 85081146658,
      "time": 158,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8075892935"
    },
    {
      "job": 85081146661,
      "time": 72,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8075880733"
    },
    {
      "job": 85081146664,
      "time": 96,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8075884249"
    },
    {
      "job": 85080970309,
      "time": 137,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8075870432"
    },
    {
      "job": 85081146662,
      "time": 100,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8075884855"
    },
    {
      "job": 85081146672,
      "time": 98,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8075884514"
    },
    {
      "job": 85081146666,
      "time": 70,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8075880613"
    },
    {
      "job": 85081146665,
      "time": 65,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8075880005"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/skranz/actions/runs/28686819434",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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",
    "followers": 216
  },
  "_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.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/sourcemodify.html",
    "LICENSE",
    "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-07-03T22:59:40.000Z",
      "distro": "resolute",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "https://r2.ropensci.org/5402eaeb7ce1dba1849496811804a4365558fd84fa06a75b83b9a4ae7430a7bf",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/28686819434"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-03T23:00:25.000Z",
      "distro": "resolute",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "https://r2.ropensci.org/c8f06ff5d691e9f283c966836679de02c101159cb9b8d8a3b28f1d9bd7d79014",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/28686819434"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-03T22:59:02.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "https://r2.ropensci.org/6fdaf70649d9a55b7c943dba2da6fd85a0f59c83c2ffa29b057acd9c516c0c4d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/28686819434"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-03T22:59:25.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "https://r2.ropensci.org/ecf888b58b25fb12732e6f069b56cd4764a14d1150a1820bfe22c60b1975a615",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/28686819434"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-07-03T22:59:40.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "https://r2.ropensci.org/18f708c2f9394833d29d9d531270cbee27eee75b9d3414999098efcfa59e3df5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/28686819434"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-03T22:59:20.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "https://r2.ropensci.org/ba5a89ef7f6f8b00e51a23e35a63875c64303fbcab84b443aade7da5c1f41130",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/28686819434"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-03T22:58:52.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "https://r2.ropensci.org/2d0cc78f20d479b1b256dc2332278da445a83eb1eb1ee748c55488a34f294851",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/28686819434"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-03T22:58:46.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "https://r2.ropensci.org/1250572f43fa650cd1a4052a6dcd981418030632f792eae6157cb6967742e931",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/28686819434"
    }
  ]
}