{
  "_id": "6aca4b5afe5cc25786e86bff",
  "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-10-10 14:05:14 UTC",
    "User": "root"
  },
  "_user": "repboxr",
  "_type": "src",
  "_file": "sourcemodify_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/15d9ef6b4ccd41afb1ee4a0b21e9c094466b7a0efcead17bb38936dfa4bc4b75",
  "_filesize": 112520,
  "_sha256": "15d9ef6b4ccd41afb1ee4a0b21e9c094466b7a0efcead17bb38936dfa4bc4b75",
  "_expires": "2027-01-18T14:27:36.000Z",
  "_created": "2026-10-10T14:05:14.000Z",
  "_published": "2026-10-10T14:27:38.016Z",
  "_buildurl": "https://github.com/r-universe/repboxr/actions/runs/38057927749",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114231012557,
      "time": 102,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11671834982"
    },
    {
      "job": 114231012587,
      "time": 100,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11672320459"
    },
    {
      "job": 114231012601,
      "time": 83,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11672807109"
    },
    {
      "job": 114231012545,
      "time": 104,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11671884790"
    },
    {
      "job": 114230318988,
      "time": 147,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11672360143"
    },
    {
      "job": 114231012555,
      "time": 84,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11672465182"
    },
    {
      "job": 114231012591,
      "time": 71,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11672044760"
    },
    {
      "job": 114231012589,
      "time": 71,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11672520103"
    },
    {
      "job": 114231012548,
      "time": 50,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11672165699"
    }
  ],
  "_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/manual.pdf",
    "extra/sourcemodify.html",
    "LICENSE"
  ],
  "_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-10-10T14:07:05.000Z",
      "distro": "resolute",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "https://r2.ropensci.org/e31b99fbe031b25f36639e105954885891a7dcd07f453b556abe7f0406efb0f0",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/repboxr/actions/runs/38057927749"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-10T14:07:05.000Z",
      "distro": "resolute",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "https://r2.ropensci.org/f22fb637522d55569b4bcab954c9cdab76a76b6720b08e7cb9af822cb5336fe4",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/repboxr/actions/runs/38057927749"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-10T14:27:00.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "https://r2.ropensci.org/39f3751df27ab015f16df90606ca2d3eac16312c6032bbbe6d9bf29022354534",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/repboxr/actions/runs/38057927749"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-10T14:24:23.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "https://r2.ropensci.org/7622d6aafb423dd97da0d49a206302f19f5d6e3ab435dd0bd62fca2fc60648a9",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/repboxr/actions/runs/38057927749"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-10T14:06:58.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "https://r2.ropensci.org/2db7ba1b17fec957a6613c00a0f7ba02ffb238142d28876d658a4f7d00c98a88",
      "status": "success",
      "buildurl": "https://github.com/r-universe/repboxr/actions/runs/38057927749"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-10T14:06:29.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "https://r2.ropensci.org/c61d5257419ca4603ec36fe88f0824e5ac539571aa0d6b4bcf9ffd51cf6853ed",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/repboxr/actions/runs/38057927749"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-10T14:06:31.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "https://r2.ropensci.org/6bcf38de756a9bae6433935c4ea8d09c9cbe9f0484635b0c05becc00db2763fe",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/repboxr/actions/runs/38057927749"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-10T14:06:09.000Z",
      "commit": "9a7752de771856c0ddb5e9ed24e2a30f87af2376",
      "fileid": "https://r2.ropensci.org/d2742303d6010348bda61e81185fc23afb344dbcc68ac1d32ae6ecc86f04745c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/repboxr/actions/runs/38057927749"
    }
  ]
}