{
  "_id": "6a19ec721d7bb097a09c7773",
  "Package": "mgsub",
  "Type": "Package",
  "Title": "Safe, Multiple, Simultaneous String Substitution",
  "Version": "2.0.0",
  "Authors@R": "c(\nperson(\"Mark\", \"Ewing\", email=\"b.mark.ewing@gmail.com\", role=c(\"aut\",\"cre\"))\n)",
  "BugReports": "https://github.com/bmewing/mgsub/issues",
  "Description": "Designed to enable simultaneous substitution in strings in\na safe fashion. Safe means it does not rely on placeholders\n(which can cause errors in same length matches).",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "ByteCompile": "true",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/bmewing/mgsub, https://bmewing.github.io/mgsub/",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://bmewing.r-universe.dev",
  "Date/Publication": "2026-05-06 09:43:45 UTC",
  "RemoteUrl": "https://github.com/bmewing/mgsub",
  "RemoteRef": "HEAD",
  "RemoteSha": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-29 19:34:24 UTC",
    "User": "root"
  },
  "Author": "Mark Ewing [aut, cre]",
  "Maintainer": "Mark Ewing <b.mark.ewing@gmail.com>",
  "MD5sum": "82369f924c72bb6afbf0c7c37f6b5bf1",
  "_user": "bmewing",
  "_type": "src",
  "_file": "mgsub_2.0.0.tar.gz",
  "_fileid": "2bc9195974df20bb358a88fa3bfcfbea85c3d86bffac20a3f9de9740346437fa",
  "_filesize": 111421,
  "_sha256": "2bc9195974df20bb358a88fa3bfcfbea85c3d86bffac20a3f9de9740346437fa",
  "_created": "2026-05-29T19:34:24.000Z",
  "_published": "2026-05-29T19:43:46.193Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78573270767,
      "time": 109,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7299438300"
    },
    {
      "job": 78573270772,
      "time": 144,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7299449213"
    },
    {
      "job": 78573270814,
      "time": 103,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7299436226"
    },
    {
      "job": 78573270773,
      "time": 113,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7299439675"
    },
    {
      "job": 78573270858,
      "time": 98,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7299555491"
    },
    {
      "job": 78573270845,
      "time": 172,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7299524767"
    },
    {
      "job": 78573270870,
      "time": 82,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7299571153"
    },
    {
      "job": 78573270863,
      "time": 183,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7299525964"
    },
    {
      "job": 78572743996,
      "time": 197,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7299402530"
    },
    {
      "job": 78573270739,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7299436109"
    },
    {
      "job": 78573270758,
      "time": 95,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7299433186"
    },
    {
      "job": 78573270780,
      "time": 80,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7299428898"
    },
    {
      "job": 78573270752,
      "time": 90,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7299431849"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bmewing/actions/runs/26657893343",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/bmewing/mgsub",
  "_commit": {
    "id": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
    "author": "Mark Ewing <b.mark@ewingsonline.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Fix author's email in DESCRIPTION (#19)\n\n* Fix author's email in DESCRIPTION\n\nUpdated author's email address in DESCRIPTION file.\n\n* prep for fix\n\n* final cran comments\n\n* addressing errors in downstream BeeBDC package\n\n* fixed spelling error in NEWS",
    "time": 1778060625
  },
  "_maintainer": {
    "name": "Mark Ewing",
    "email": "b.mark.ewing@gmail.com"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "bmewing",
  "_selfowned": true,
  "_usedby": 32,
  "_updates": [
    {
      "week": "2026-17",
      "n": 7
    },
    {
      "week": "2026-19",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v2.0",
      "date": "2026-04-21"
    }
  ],
  "_topics": [
    "safety",
    "strings",
    "strings-manipulation",
    "substitutions",
    "cpp"
  ],
  "_stars": 15,
  "_contributors": [
    {
      "user": "bmewing",
      "count": 23,
      "uuid": 16339866
    }
  ],
  "_userbio": {
    "uuid": 16339866,
    "type": "user",
    "name": "Mark Ewing",
    "description": "Author of mgsub for R and Python. I do random stuff with code sometimes. Not super consistently here."
  },
  "_downloads": {
    "count": 7829,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mgsub"
  },
  "_devurl": "https://github.com/bmewing/mgsub",
  "_pkgdown": "https://bmewing.github.io/mgsub/",
  "_searchresults": 267,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mgsub.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/bmewing/mgsub",
  "_realowner": "bmewing",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2018-01-25"
    },
    {
      "version": "1.5.0",
      "date": "2018-03-08"
    },
    {
      "version": "1.7.0",
      "date": "2019-01-13"
    },
    {
      "version": "1.7.1",
      "date": "2019-03-13"
    },
    {
      "version": "1.7.2",
      "date": "2020-07-22"
    },
    {
      "version": "1.7.3",
      "date": "2021-07-28"
    },
    {
      "version": "2.0.0",
      "date": "2026-05-06"
    }
  ],
  "_exports": [
    "mgsub",
    "mgsub_censor"
  ],
  "_help": [
    {
      "page": "censor_worker",
      "title": "mgsub_censor worker",
      "topics": [
        "censor_worker"
      ]
    },
    {
      "page": "fast_replace",
      "title": "Fast escape replace",
      "topics": [
        "fast_replace"
      ]
    },
    {
      "page": "filter_overlap",
      "title": "Filter overlaps from matches",
      "topics": [
        "filter_overlap"
      ]
    },
    {
      "page": "filter_overlap_base",
      "title": "Filter overlaps from matches using only base R functionality",
      "topics": [
        "filter_overlap_base"
      ]
    },
    {
      "page": "get_matches",
      "title": "Get all matches",
      "topics": [
        "get_matches"
      ]
    },
    {
      "page": "get_matches_base",
      "title": "Get all matches using only base R functionality",
      "topics": [
        "get_matches_base"
      ]
    },
    {
      "page": "mgsub",
      "title": "Safe, multiple gsub",
      "topics": [
        "mgsub"
      ]
    },
    {
      "page": "mgsub_censor",
      "title": "Safe, multiple censoring of text strings",
      "topics": [
        "mgsub_censor"
      ]
    },
    {
      "page": "worker",
      "title": "mgsub worker",
      "topics": [
        "worker"
      ]
    }
  ],
  "_readme": "https://github.com/bmewing/mgsub/raw/HEAD/README.md",
  "_rundeps": [],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "Safe-Censoring.Rmd",
      "filename": "Safe-Censoring.html",
      "title": "Safe Censoring",
      "engine": "knitr::rmarkdown",
      "headings": [
        "String Censoring",
        "mgsub_censor",
        "Multicharacter censoring",
        "Multicharacter, length one vector",
        "Single character, vector with length greater than one",
        "Multicharacter, vector with length greater than one",
        "Safe Censoring"
      ],
      "created": "2018-10-20 00:04:17",
      "modified": "2021-07-26 18:05:45",
      "commits": 4
    },
    {
      "source": "Safe-Substitution.Rmd",
      "filename": "Safe-Substitution.html",
      "title": "Safe String Substitution",
      "engine": "knitr::rmarkdown",
      "headings": [
        "String Substitutions",
        "Simultaneous Substitutions",
        "mgsub",
        "Regular Expression Support",
        "Safe Substitution"
      ],
      "created": "2018-01-22 20:38:31",
      "modified": "2021-07-26 18:05:45",
      "commits": 8
    }
  ],
  "_score": 9.77961004218852,
  "_indexed": true,
  "_nocasepkg": "mgsub",
  "_universes": [
    "bmewing"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-05-29T19:36:21.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "834e42398cc784f0cbf856fb7edaf5aee11f0039f545b87d13c5e16a31b693d2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/26657893343"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-05-29T19:36:52.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "7fdadcb929ad5bb347bf8c9c5832f3b690db3b2129b902dd1d40eb42afe35df3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/26657893343"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-05-29T19:36:15.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "ccaebc72cba995f5299ecdf329cbaa07d1408c13d61690b53b572ab975c97c6b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/26657893343"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-05-29T19:36:22.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "5d3418bb130d44f0f2ab198fa332cd48c40ded7c8790daf3b642bb343fa80c8d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/26657893343"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-05-29T19:42:25.000Z",
      "arch": "aarch64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "b076797ce82fc5bfa3137c5407680fac10261396f5a8487e5c636caa8bf87da0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/26657893343"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-05-29T19:40:33.000Z",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "10c59b63514fd92f9e01f7724b8610d691180b087a47b30eea1424577591d5b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/26657893343"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-05-29T19:43:18.000Z",
      "arch": "aarch64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "166191d5a71c751f5a93a5f37e6375642d76c098767818ae34e90754dab07575",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/26657893343"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-05-29T19:40:33.000Z",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "0d4da14f94ac5741d086178ea5c34930c69a8cf88108227fb4995098c7d290bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/26657893343"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.0",
      "date": "2026-05-29T19:36:22.000Z",
      "arch": "emscripten",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "1dcd1ac122ff203f9f500ac07122a21b0525dae87c910eac43e3842ce82d3f65",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/26657893343"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-05-29T19:35:39.000Z",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "552141c7e89a1109a6da844c5646e6c77ce883bcc563e1f47a45f6a52c683402",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/26657893343"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-05-29T19:35:34.000Z",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "9f650ad5d0e0aceb09065efe40e9ccdb8084fbd0332ce9c40ce10ff6aadf0cd6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/26657893343"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-05-29T19:35:42.000Z",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "92fe8d972c6e866fd944f6a3013aecb8f79469291f042fed21f11b2da01cc452",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/26657893343"
    }
  ]
}