{
  "_id": "6ae5b2ab95ca2370cc8d1324",
  "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-10-31 08:53:22 UTC",
    "User": "root"
  },
  "Author": "Mark Ewing [aut, cre]",
  "Maintainer": "Mark Ewing <b.mark.ewing@gmail.com>",
  "_user": "bmewing",
  "_type": "src",
  "_file": "mgsub_2.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/47d6409b8caad0fac7e789ea805c69341baa6eface208ca15c3b03d4dfcc46c4",
  "_filesize": 112502,
  "_sha256": "47d6409b8caad0fac7e789ea805c69341baa6eface208ca15c3b03d4dfcc46c4",
  "_expires": "2027-02-08T09:19:38.000Z",
  "_created": "2026-10-31T08:53:22.000Z",
  "_published": "2026-10-31T09:19:39.550Z",
  "_upstream": "https://github.com/bmewing/mgsub",
  "_status": "success",
  "_maintainer": {
    "name": "Mark Ewing",
    "email": "b.mark.ewing@gmail.com"
  },
  "_jobs": [
    {
      "job": 124494200029,
      "time": 90,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13036957594"
    },
    {
      "job": 124494200102,
      "time": 102,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13037330455"
    },
    {
      "job": 124494200020,
      "time": 79,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13035844796"
    },
    {
      "job": 124494200249,
      "time": 109,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13036204124"
    },
    {
      "job": 124494200076,
      "time": 129,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13037273618"
    },
    {
      "job": 124494200025,
      "time": 334,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13037385689"
    },
    {
      "job": 124494200030,
      "time": 92,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13037817049"
    },
    {
      "job": 124494200150,
      "time": 239,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13036829905"
    },
    {
      "job": 124493701577,
      "time": 154,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13037145753"
    },
    {
      "job": 124494200015,
      "time": 81,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13037008848"
    },
    {
      "job": 124494200095,
      "time": 364,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13037231173"
    },
    {
      "job": 124494200099,
      "time": 96,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13036169112"
    },
    {
      "job": 124494200113,
      "time": 73,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13037220679"
    },
    {
      "job": 124494200153,
      "time": 349,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13036969306"
    },
    {
      "job": 124494200097,
      "time": 90,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13037195800"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bmewing/actions/runs/41186248364",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "bmewing",
  "_selfowned": true,
  "_usedby": 33,
  "_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",
    "followers": 13,
    "description": "Author of mgsub for R and Python. I do random stuff with code sometimes. Not super consistently here."
  },
  "_downloads": {
    "count": 7235,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mgsub"
  },
  "_devurl": "https://github.com/bmewing/mgsub",
  "_pkgdown": "https://bmewing.github.io/mgsub/",
  "_searchresults": 406,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/mgsub.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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": "16-20260322-1ubuntu1",
      "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.94072101834946,
  "_indexed": true,
  "_nocasepkg": "mgsub",
  "_universes": [
    "bmewing"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-10-31T08:55:00.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/bd13bb4e78ba0557477ff1f3270dcb01a62a6289d88bc5bd8f661ca96b626cd9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/41186248364"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-10-31T08:55:04.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/67bc067a66b1b10c2c6a3e004c6f88ce23007d8c3912224a4bfaf01d4393c128",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/41186248364"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-10-31T08:54:51.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/54d13325d17c8fe322b2b09d94ecd41579861788b221e771b5f81c3dcac9287a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/41186248364"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-10-31T08:55:14.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/3955f4b63988a225c91098de5b4d7afae398d767c65c426f79768b8fe8a0a999",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/41186248364"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-10-31T09:18:55.000Z",
      "arch": "aarch64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/d0799e8a8349ac2eb64e3edd2d2102384b2caa3798a291405f72cb056b09eda1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/41186248364"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-10-31T08:57:43.000Z",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/53d81af8e63aa51a9701181df7f9325390bb383f51e55b2d75b79e0e2687aad5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/41186248364"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-10-31T09:16:52.000Z",
      "arch": "aarch64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/2e59b555597fcfb1594490aa92586001255ecb1c315724263a6e6dffc468e00f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/41186248364"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-10-31T08:56:51.000Z",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/86f195425ff64a86365b4be3ec909515e81d40362bdc7dd0181c7a10e74a1bab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/41186248364"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.0",
      "date": "2026-10-31T08:54:55.000Z",
      "arch": "emscripten",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/6c2411712a3985c974cc358d45dc74526079e36d80848c169871ab57f0bac41a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/41186248364"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-10-31T08:58:51.000Z",
      "arch": "aarch64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/1749354a324ed41144da38a57c256d736c12b0afdcf9947fed22ccf2e08ed2f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/41186248364"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-10-31T08:54:18.000Z",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/afbca5e19c11bc0796f0ac94885adde0d3caf57180668771dbad22dc90bd2e4c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/41186248364"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-10-31T08:54:22.000Z",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/f61549fe7a2fbe70a2590a62c2f5bb73a30203a31ef4c094b3d10761096aab77",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/41186248364"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-10-31T08:58:28.000Z",
      "arch": "aarch64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/136ad946a44919cd30d92f4e5452ef858f784a66f61416494a7288e6eed85ba8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/41186248364"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-10-31T08:54:37.000Z",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/089ebd435f138468dbb6ec08a4e0230649809ba4042a97ebcc7e4ea42ea104dc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/41186248364"
    }
  ]
}