{
  "_id": "6abe268899f7aa8c6aa52de2",
  "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-01 09:15:25 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/2d746632801af2966b4daff77c9db180d5917f2940ba92ac820bcc0b432662f5",
  "_filesize": 113325,
  "_sha256": "2d746632801af2966b4daff77c9db180d5917f2940ba92ac820bcc0b432662f5",
  "_expires": "2027-01-09T09:23:18.000Z",
  "_created": "2026-10-01T09:15:25.000Z",
  "_published": "2026-10-01T09:23:20.379Z",
  "_jobs": [
    {
      "job": 110301656277,
      "time": 145,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11151344707"
    },
    {
      "job": 110301656366,
      "time": 133,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11151895064"
    },
    {
      "job": 110301656353,
      "time": 104,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11150748942"
    },
    {
      "job": 110301656316,
      "time": 120,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11151646818"
    },
    {
      "job": 110301656282,
      "time": 202,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11150853994"
    },
    {
      "job": 110301656330,
      "time": 425,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11152010679"
    },
    {
      "job": 110301656472,
      "time": 170,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11150679194"
    },
    {
      "job": 110301656816,
      "time": 395,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11151419585"
    },
    {
      "job": 110300317740,
      "time": 226,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11151468849"
    },
    {
      "job": 110301656321,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11150943642"
    },
    {
      "job": 110301656414,
      "time": 358,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11151613540"
    },
    {
      "job": 110301656290,
      "time": 116,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11151104812"
    },
    {
      "job": 110301656341,
      "time": 78,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11151423899"
    },
    {
      "job": 110301656288,
      "time": 354,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11150969114"
    },
    {
      "job": 110301656412,
      "time": 76,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11151023474"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/bmewing/actions/runs/36841116186",
  "_status": "success",
  "_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"
  },
  "_distro": "resolute",
  "_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",
    "followers": 13,
    "description": "Author of mgsub for R and Python. I do random stuff with code sometimes. Not super consistently here."
  },
  "_downloads": {
    "count": 5597,
    "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.815873828243156,
  "_indexed": true,
  "_nocasepkg": "mgsub",
  "_universes": [
    "bmewing"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-10-01T09:18:02.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/168a731ae7735de8b48731a862ca33e65498b2cec2f136d6315aa0c8b9eabf68",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/36841116186"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-10-01T09:17:47.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/746c49620e8bba56ecf71ab8adbc4661468523b65b38aeb8a7f34ad4cf35efb6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/36841116186"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-10-01T09:17:23.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/58f42215ca6e49c837c07a4d38d39814261f4760192f68c64b710583b0c32c46",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/36841116186"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-10-01T09:17:32.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/242076dfcef26c8db073e1f7654bba5575dde5e9817798197b35af40e4ad8423",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/36841116186"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-10-01T09:18:20.000Z",
      "arch": "aarch64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/261a627919d3f94584f437b881a68b7eef014c912020408facb57c17d53829e3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/36841116186"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-10-01T09:21:09.000Z",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/2b1d1a239ac1dbab53ec494285313b33c653e7c65811a9f433ae35ad78ea562e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/36841116186"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-10-01T09:17:43.000Z",
      "arch": "aarch64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/69a9aa54262d7134158de6fb66a8edf89d056293c3159b832f6f02b0c8b02e43",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/36841116186"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-10-01T09:20:04.000Z",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/3277edcd36f609cfaa78f822399798e6328a7017b935ec2fc70614c2ff2ac735",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/36841116186"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.0",
      "date": "2026-10-01T09:17:22.000Z",
      "arch": "emscripten",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/b10b455a48182cb8581f33dfee4750b54dc26c1f0951ed1ec55beac5174cc1b0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/36841116186"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-10-01T09:20:42.000Z",
      "arch": "aarch64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/bbbd29e45cd015e238dd735dc1d3a7535e023f57c90559a2654d54d9ac54efa4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/36841116186"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-10-01T09:16:36.000Z",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/19ac09bf1cef57de4f4e29d7a533a33f263347ca1e36ebdbe33df164f5472eda",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/36841116186"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-10-01T09:16:32.000Z",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/09e799d575b436e1f7802e9001f8d0eda6a4aadd0a6148c6417435ccd09b43d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/36841116186"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-10-01T09:20:52.000Z",
      "arch": "aarch64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/2cacef63f216ce429699f7e48b1da58a6dc144770913bced9b5f65a9cbfd3b52",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/36841116186"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-10-01T09:16:32.000Z",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/dc46bf096c98a5b2a9ab966ffe092b2b4ca91a72365f6ee017fde4fd97c789b9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/36841116186"
    }
  ]
}