{
  "_id": "6a489ca1e06c18f0a6543267",
  "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://repboxr.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-04 05:26:25 UTC",
    "User": "root"
  },
  "_user": "repboxr",
  "_type": "src",
  "_file": "sourcemodify_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/e5e9af028e96599d17db0c1b9ac51ec53b7c67207e5b422f6311f5987559b9f8",
  "_filesize": 113046,
  "_sha256": "e5e9af028e96599d17db0c1b9ac51ec53b7c67207e5b422f6311f5987559b9f8",
  "_expires": "2026-10-12T05:39:44.000Z",
  "_created": "2026-07-04T05:26:25.000Z",
  "_published": "2026-07-04T05:39:45.685Z",
  "_jobs": [
    {
      "job": 85106113749,
      "time": 123,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8078674767"
    },
    {
      "job": 85106113754,
      "time": 111,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8078673517"
    },
    {
      "job": 85106113758,
      "time": 72,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8078738331"
    },
    {
      "job": 85106113760,
      "time": 77,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8078749971"
    },
    {
      "job": 85105942277,
      "time": 167,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8078661348"
    },
    {
      "job": 85106113741,
      "time": 100,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8078672341"
    },
    {
      "job": 85106113748,
      "time": 63,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8078668398"
    },
    {
      "job": 85106113751,
      "time": 61,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8078668345"
    },
    {
      "job": 85106113753,
      "time": 82,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8078670377"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/repboxr/actions/runs/28696143533",
  "_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": 153829126,
    "type": "organization",
    "name": "repboxr",
    "followers": 9
  },
  "_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": true,
  "_nocasepkg": "sourcemodify",
  "_universes": [
    "repboxr",
    "skranz"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-04T05:28:30.000Z",
      "distro": "resolute",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "https://r2.ropensci.org/631c0e7f1c2a71dc05b9788f22e6c8e412dee44769f8477a466deda373325c57",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/repboxr/actions/runs/28696143533"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-04T05:28:20.000Z",
      "distro": "resolute",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "https://r2.ropensci.org/003247ebd5e6c75db33ea0e80721510a83fc61cdb990ce83269b3c58b0e9631d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/repboxr/actions/runs/28696143533"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-04T05:37:45.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "https://r2.ropensci.org/8c77edf0d5869bdf621e8e60a3a901aedd870721945a3d97a7f3cab5b0545497",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/repboxr/actions/runs/28696143533"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-04T05:39:16.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "https://r2.ropensci.org/e6b13c4fffb6b39abc01774a754d5d4f94bb231b135eaf1f61a984a00b67ed53",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/repboxr/actions/runs/28696143533"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-07-04T05:28:20.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "https://r2.ropensci.org/d16b95071f52b3493d90984ed96738f761e8b66655f7c894df59518d64a1517d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/repboxr/actions/runs/28696143533"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-04T05:27:27.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "https://r2.ropensci.org/1130c3c6aba26112d5959c81139edf1fb08257730daee8dd5d01e3dba188648a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/repboxr/actions/runs/28696143533"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-04T05:27:26.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "https://r2.ropensci.org/1b29d61219126bbc0460d2d1a8280a51c32c39b6348211efef7599d4101de92b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/repboxr/actions/runs/28696143533"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-04T05:27:45.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "https://r2.ropensci.org/bd70f561da7af325199ed566a1deaa03df074e0cd6c4df086da94a114674062b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/repboxr/actions/runs/28696143533"
    }
  ]
}