{
  "_id": "6a1687d1acfb0bcc41d75edb",
  "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-05-26 07:38:17 UTC",
    "User": "root"
  },
  "MD5sum": "e91142a3ae7c66d43710b479275fd3bf",
  "_user": "repboxr",
  "_type": "src",
  "_file": "sourcemodify_0.1.0.tar.gz",
  "_fileid": "841607127244172ddcf0cb1aa32781c400c0cd5b39fd7e7842eb169ccecb8a21",
  "_filesize": 111866,
  "_sha256": "841607127244172ddcf0cb1aa32781c400c0cd5b39fd7e7842eb169ccecb8a21",
  "_created": "2026-05-26T07:38:17.000Z",
  "_published": "2026-05-27T05:57:37.933Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78016531674,
      "time": 109,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7211441498"
    },
    {
      "job": 78016531740,
      "time": 106,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7211440602"
    },
    {
      "job": 78016531820,
      "time": 76,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7211432240"
    },
    {
      "job": 78016531678,
      "time": 83,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7211434093"
    },
    {
      "job": 78016531481,
      "time": 139,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7211410031"
    },
    {
      "job": 78016531634,
      "time": 92,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7211436736"
    },
    {
      "job": 78016531701,
      "time": 72,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7211431048"
    },
    {
      "job": 78016531727,
      "time": 82,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7211433755"
    },
    {
      "job": 78016531609,
      "time": 74,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7232972886"
    }
  ],
  "_buildurl": "https://github.com/r-universe/repboxr/actions/runs/26438931909",
  "_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": 153829126,
    "type": "organization",
    "name": "repboxr"
  },
  "_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": true,
  "_nocasepkg": "sourcemodify",
  "_universes": [
    "repboxr",
    "skranz"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-26T07:40:07.000Z",
      "distro": "noble",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "84c36afd8c73f3a22ccb9f428b82cc94bd774e80dcb8077ba32e2c522b441651",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/repboxr/actions/runs/26438931909"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-26T07:40:05.000Z",
      "distro": "noble",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "938470fd542a8ae1114e1e31474307340025574e0a78a2d6d2f11b9e43a9e0db",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/repboxr/actions/runs/26438931909"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-26T07:39:39.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "62e899cf771ce4bd52449429e10d185dcd424096f7f35bcdc0a418736b69d5c7",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/repboxr/actions/runs/26438931909"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-26T07:39:43.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "a00d7910371251bc0e0510e92f94a0aa46d9cd2959d95a01d256b351509a72d5",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/repboxr/actions/runs/26438931909"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-05-26T07:40:02.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "646530fde955396d4c6201c348856388c6d356e2392ad4f44e8a0831c55cdd76",
      "status": "success",
      "buildurl": "https://github.com/r-universe/repboxr/actions/runs/26438931909"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-26T07:39:27.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "fdc6993a77dcedea1b6607f44e0319885aac741e892cb912d0ef61ddb31269d7",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/repboxr/actions/runs/26438931909"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-26T07:39:30.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "6e2850f9e03ef733af44a7692431560e12e30f5359763bf1bb38332c3e6e4da2",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/repboxr/actions/runs/26438931909"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-27T05:56:50.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "3fea479ae289a28ef62abc3f0f1c3a316892deeaa4ef800a66dcc7fcf7a4c162",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/repboxr/actions/runs/26438931909"
    }
  ]
}