{
  "_id": "6acded77a14063b82c3ad1d4",
  "Package": "gsubfn",
  "Version": "0.7",
  "Date": "2018-03-15",
  "Title": "Utilities for Strings and Function Arguments",
  "Author": "G. Grothendieck",
  "Maintainer": "G. Grothendieck <ggrothendieck@gmail.com>",
  "Description": "The gsubfn function is like gsub but can take a\nreplacement function or certain other objects instead of the\nreplacement string. Matches and back references are input to\nthe replacement function and replaced by the function output.\ngsubfn can be used to split strings based on content rather\nthan delimiters and for quasi-perl-style string interpolation.\nThe package also has facilities for translating formulas to\nfunctions and allowing such formulas in function calls instead\nof functions.  This can be used with R functions such as apply,\nsapply, lapply, optim, integrate, xyplot, Filter and any other\nfunction that expects another function as an input argument or\nfunctions like cat or sql calls that may involve strings where\nsubstitution is desirable. There is also a facility for\nreturning multiple objects from functions and a version of\ntransform that allows the RHS to refer to LHS used in the same\ntransform.",
  "BugReports": "https://github.com/ggrothendieck/gsubfn/issues",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/ggrothendieck/gsubfn",
  "Repository": "https://ggrothendieck.r-universe.dev",
  "Date/Publication": "2018-03-15 23:05:55 UTC",
  "RemoteUrl": "https://github.com/ggrothendieck/gsubfn",
  "RemoteRef": "HEAD",
  "RemoteSha": "66d52d9c0db277d39d3502d1db74911e8257fb64",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-13 08:28:54 UTC",
    "User": "root"
  },
  "_user": "ggrothendieck",
  "_type": "src",
  "_file": "gsubfn_0.7.tar.gz",
  "_fileid": "https://r2.ropensci.org/cf263cffedd0d00f6282d365eea4e793796e582e1bf3af5c51883960b9b83fcc",
  "_filesize": 641375,
  "_sha256": "cf263cffedd0d00f6282d365eea4e793796e582e1bf3af5c51883960b9b83fcc",
  "_expires": "2027-01-21T08:36:05.000Z",
  "_created": "2026-10-13T08:28:54.000Z",
  "_published": "2026-10-13T08:36:07.263Z",
  "_buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/38369240315",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115202932049,
      "time": 166,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11798137814"
    },
    {
      "job": 115202932066,
      "time": 91,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11798592539"
    },
    {
      "job": 115202932160,
      "time": 82,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11798084658"
    },
    {
      "job": 115202932059,
      "time": 102,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11798104233"
    },
    {
      "job": 115201916050,
      "time": 161,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11798731817"
    },
    {
      "job": 115202932054,
      "time": 77,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11797639940"
    },
    {
      "job": 115202932194,
      "time": 68,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11797794373"
    },
    {
      "job": 115202932148,
      "time": 72,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11798232371"
    },
    {
      "job": 115202932088,
      "time": 64,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11797972676"
    }
  ],
  "_upstream": "https://github.com/ggrothendieck/gsubfn",
  "_commit": {
    "id": "66d52d9c0db277d39d3502d1db74911e8257fb64",
    "author": "ggrothendieck <ggrothendieck@gmail.com>",
    "committer": "ggrothendieck <ggrothendieck@gmail.com>",
    "message": "version 0.7-0\n",
    "time": 1521155155
  },
  "_maintainer": {
    "name": "G. Grothendieck",
    "email": "ggrothendieck@gmail.com",
    "login": "ggrothendieck",
    "description": "",
    "uuid": 7840510
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "proto",
      "role": "Depends"
    },
    {
      "package": "boot",
      "role": "Suggests"
    },
    {
      "package": "chron",
      "role": "Suggests"
    },
    {
      "package": "grid",
      "role": "Suggests"
    },
    {
      "package": "lattice",
      "role": "Suggests"
    },
    {
      "package": "quantreg",
      "role": "Suggests"
    },
    {
      "package": "svUnit",
      "role": "Suggests"
    },
    {
      "package": "tcltk",
      "role": "Suggests"
    },
    {
      "package": "zoo",
      "role": "Suggests"
    }
  ],
  "_owner": "ggrothendieck",
  "_selfowned": true,
  "_usedby": 78,
  "_updates": [],
  "_tags": [],
  "_stars": 11,
  "_contributors": [
    {
      "user": "ggrothendieck",
      "count": 2,
      "uuid": 7840510
    }
  ],
  "_userbio": {
    "uuid": 7840510,
    "type": "user",
    "name": "ggrothendieck",
    "followers": 43
  },
  "_downloads": {
    "count": 17929,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gsubfn"
  },
  "_mentions": 3,
  "_devurl": "https://github.com/ggrothendieck/gsubfn",
  "_searchresults": 1212,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gsubfn.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt"
  ],
  "_homeurl": "https://github.com/ggrothendieck/gsubfn",
  "_realowner": "ggrothendieck",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1-0",
      "date": "2006-03-27"
    },
    {
      "version": "0.1-1",
      "date": "2006-04-05"
    },
    {
      "version": "0.1-2",
      "date": "2006-04-18"
    },
    {
      "version": "0.1-3",
      "date": "2006-04-23"
    },
    {
      "version": "0.1-4",
      "date": "2006-08-23"
    },
    {
      "version": "0.1-5",
      "date": "2006-10-01"
    },
    {
      "version": "0.2-0",
      "date": "2006-10-06"
    },
    {
      "version": "0.2-1",
      "date": "2006-10-10"
    },
    {
      "version": "0.2-2",
      "date": "2006-10-15"
    },
    {
      "version": "0.3-1",
      "date": "2006-10-23"
    },
    {
      "version": "0.3-3",
      "date": "2006-10-28"
    },
    {
      "version": "0.3-7",
      "date": "2008-10-17"
    },
    {
      "version": "0.3-8",
      "date": "2008-12-15"
    },
    {
      "version": "0.5-0",
      "date": "2009-07-02"
    },
    {
      "version": "0.5-1",
      "date": "2010-03-16"
    },
    {
      "version": "0.5-2",
      "date": "2010-03-23"
    },
    {
      "version": "0.5-3",
      "date": "2010-06-13"
    },
    {
      "version": "0.5-5",
      "date": "2010-11-18"
    },
    {
      "version": "0.5-7",
      "date": "2011-06-07"
    },
    {
      "version": "0.6-2",
      "date": "2012-03-28"
    },
    {
      "version": "0.6-3",
      "date": "2012-04-03"
    },
    {
      "version": "0.6-4",
      "date": "2012-08-01"
    },
    {
      "version": "0.6-5",
      "date": "2012-10-22"
    },
    {
      "version": "0.6-6",
      "date": "2014-08-27"
    },
    {
      "version": "0.7",
      "date": "2018-03-16"
    }
  ],
  "_exports": [
    "[<-.result",
    "$.fn",
    "as.function.formula",
    "cat0",
    "fn",
    "gsubfn",
    "list",
    "match.funfn",
    "matrixfn",
    "ostrapply",
    "read.pattern",
    "strapply",
    "strapply1",
    "strapplyc",
    "tclList2R"
  ],
  "_help": [
    {
      "page": "gsubfn-package",
      "title": "gsubfn",
      "topics": [
        "gsubfn-package"
      ]
    },
    {
      "page": "as.function.formula",
      "title": "Make a one-line function from a formula.",
      "topics": [
        "as.function.formula"
      ]
    },
    {
      "page": "fn",
      "title": "Transform formula arguments to functions.",
      "topics": [
        "$.fn",
        "eval.with.vis",
        "fn",
        "matrixfn"
      ]
    },
    {
      "page": "gsubfn",
      "title": "Pattern Matching and Replacement",
      "topics": [
        "cat0",
        "gsubfn"
      ]
    },
    {
      "page": "list",
      "title": "Multiple value assignment.",
      "topics": [
        "list",
        "[<-.result"
      ]
    },
    {
      "page": "match.funfn",
      "title": "Generic extended version of R match.fun",
      "topics": [
        "match.funfn"
      ]
    },
    {
      "page": "read.pattern",
      "title": "Read file or text string using a regular expression to separate fields.",
      "topics": [
        "read.pattern"
      ]
    },
    {
      "page": "strapply",
      "title": "Apply a function over a string or strings.",
      "topics": [
        "ostrapply",
        "strapply",
        "strapply1",
        "strapplyc",
        "tclList2R"
      ]
    }
  ],
  "_rundeps": [
    "proto"
  ],
  "_vignettes": [
    {
      "source": "gsubfn.Rnw",
      "filename": "gsubfn.pdf",
      "title": "gsubfn: Utilities for Strings and for Function Arguments.",
      "engine": "utils::Sweave",
      "headings": [
        "Introduction",
        "The gsubfn Function",
        "gsubfn with lists",
        "gsubfn with proto objects",
        "strapply",
        "Miscellaneous",
        "fn",
        "match.funfn and as.function.formula",
        "Summary"
      ],
      "created": "2013-12-28 16:48:13",
      "modified": "2018-03-15 23:05:55",
      "commits": 3
    }
  ],
  "_score": 10.224788484338418,
  "_indexed": true,
  "_nocasepkg": "gsubfn",
  "_universes": [
    "ggrothendieck"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7",
      "date": "2026-10-13T08:31:54.000Z",
      "distro": "resolute",
      "commit": "66d52d9c0db277d39d3502d1db74911e8257fb64",
      "fileid": "https://r2.ropensci.org/05ff0fd4387615e5d5f09b8d1f783085e9edcd34816b93aa2836d2eac8890b0e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/38369240315"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.7",
      "date": "2026-10-13T08:30:33.000Z",
      "distro": "resolute",
      "commit": "66d52d9c0db277d39d3502d1db74911e8257fb64",
      "fileid": "https://r2.ropensci.org/c7840f46ed8f0e57ec7df4c86ae97522de17abd3a41f3947e5b42440bc998029",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/38369240315"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7",
      "date": "2026-10-13T08:35:39.000Z",
      "commit": "66d52d9c0db277d39d3502d1db74911e8257fb64",
      "fileid": "https://r2.ropensci.org/49c59713b544d2e06ff7ee01539388cbd547bc236c2f52066bad070b697d892e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/38369240315"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.7",
      "date": "2026-10-13T08:34:06.000Z",
      "commit": "66d52d9c0db277d39d3502d1db74911e8257fb64",
      "fileid": "https://r2.ropensci.org/78e68b9d012b040c956d4025610e9473f3dab84574c8ccb340b1f671adf296f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/38369240315"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7",
      "date": "2026-10-13T08:30:33.000Z",
      "commit": "66d52d9c0db277d39d3502d1db74911e8257fb64",
      "fileid": "https://r2.ropensci.org/dd769290a59c33fafa079260eecc734162b79e13111ca938c2724c11fcb3e6a2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/38369240315"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7",
      "date": "2026-10-13T08:30:05.000Z",
      "commit": "66d52d9c0db277d39d3502d1db74911e8257fb64",
      "fileid": "https://r2.ropensci.org/1aea8a57a971bbeae9edb219fad460043b66bcd7633d3e6787df34868e55ce1e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/38369240315"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7",
      "date": "2026-10-13T08:30:06.000Z",
      "commit": "66d52d9c0db277d39d3502d1db74911e8257fb64",
      "fileid": "https://r2.ropensci.org/e454144a1ccd041378c0df37e2a9ab75ad9f63f4270361a1f0652495124a1a50",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/38369240315"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.7",
      "date": "2026-10-13T08:30:02.000Z",
      "commit": "66d52d9c0db277d39d3502d1db74911e8257fb64",
      "fileid": "https://r2.ropensci.org/2c7e0cb4714c02fddcf7437f342896e47524e66573f8d1fb0c5dfde72e06daa3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/38369240315"
    }
  ]
}