{
  "_id": "6a47d1c5e06c18f0a651fe24",
  "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-07-03 15:10:20 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/7ebf7358d42ca60a4a41ebd3a9f1a1121f74586e52d2df7646f9645bb09f75b6",
  "_filesize": 113071,
  "_sha256": "7ebf7358d42ca60a4a41ebd3a9f1a1121f74586e52d2df7646f9645bb09f75b6",
  "_expires": "2026-10-11T15:14:11.000Z",
  "_created": "2026-07-03T15:10:20.000Z",
  "_published": "2026-07-03T15:14:13.030Z",
  "_jobs": [
    {
      "job": 85027605781,
      "time": 142,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8069872683"
    },
    {
      "job": 85027605795,
      "time": 118,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8069864763"
    },
    {
      "job": 85027605804,
      "time": 128,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8069868497"
    },
    {
      "job": 85027605813,
      "time": 113,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8069863072"
    },
    {
      "job": 85027605799,
      "time": 87,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8069854852"
    },
    {
      "job": 85027605846,
      "time": 138,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8069871160"
    },
    {
      "job": 85027605797,
      "time": 69,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8069848955"
    },
    {
      "job": 85027605775,
      "time": 194,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8069887936"
    },
    {
      "job": 85027167679,
      "time": 157,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8069825662"
    },
    {
      "job": 85027605702,
      "time": 100,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8069858852"
    },
    {
      "job": 85027605766,
      "time": 83,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8069853920"
    },
    {
      "job": 85027605772,
      "time": 92,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8069856375"
    },
    {
      "job": 85027605746,
      "time": 85,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8069853788"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/bmewing/actions/runs/28668832481",
  "_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": 30,
  "_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": 5173,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mgsub"
  },
  "_devurl": "https://github.com/bmewing/mgsub",
  "_pkgdown": "https://bmewing.github.io/mgsub/",
  "_searchresults": 415,
  "_rbuild": "4.6.1",
  "_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",
    "LICENSE",
    "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": "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.763154339280163,
  "_indexed": true,
  "_nocasepkg": "mgsub",
  "_universes": [
    "bmewing"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-07-03T15:12:53.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/362c1b5814e12ebfcc923ef0d328962eb3b4326dc61e686df2c854138024e050",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/28668832481"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-07-03T15:12:23.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/7c2eeb531cf08e0e893bc14473c7a8fcf25cac44a9284b2f185f88a386880efa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/28668832481"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-07-03T15:12:38.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/93ff9ee72378cd5011d0c0e15327b551d49924cabee03059cb3339c7bf891beb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/28668832481"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.0.0",
      "date": "2026-07-03T15:12:18.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/f9ce8f26f4c9220624d107fc159ca5707b8da2f2ef367e88a8b3836813ca23aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/28668832481"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-07-03T15:11:52.000Z",
      "arch": "aarch64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/fad117c1d5dbb11ad00fc3df46deaa30a6160caed933e0926771a145c64313e3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/28668832481"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-07-03T15:12:34.000Z",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/32230d14e426626a4c6224885241574f8e90b697a8bc0be10202fc0defd8e378",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/28668832481"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-07-03T15:11:35.000Z",
      "arch": "aarch64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/e7cf3bd937054d137910a8a4aa9714110f14ae5b5874fab26161305695364f26",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/28668832481"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.0.0",
      "date": "2026-07-03T15:13:16.000Z",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/b515e08964534a290144967237165496bb4cd67c814ddfc7b61b7b771a5105a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/28668832481"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.0",
      "date": "2026-07-03T15:12:13.000Z",
      "arch": "emscripten",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/8c9e1061284d452a2627dabd4d9c296afedbd52f212b8682286873ccd86fdb8a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/28668832481"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-07-03T15:11:33.000Z",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/3c489ed6648d4d073d9e5cecf14000eeb078b7ea80bb75cfb8b7e28a54140c61",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/28668832481"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-07-03T15:11:34.000Z",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/7b034c0601d01b395e102f346b75f7e22e649641875a588700368ba67c636d63",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/28668832481"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.0.0",
      "date": "2026-07-03T15:11:29.000Z",
      "arch": "x86_64",
      "commit": "e8520928f7a23bf8fa87140ceab702820e0d76b8",
      "fileid": "https://r2.ropensci.org/97d8d99140d32832e7c9988153857d994516a396c9284b3db63e62454e25ef0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bmewing/actions/runs/28668832481"
    }
  ]
}