{
  "_id": "6a497c886d67900babdf75bf",
  "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-07-04 21:32:42 UTC",
    "User": "root"
  },
  "_user": "ggrothendieck",
  "_type": "src",
  "_file": "gsubfn_0.7.tar.gz",
  "_fileid": "https://r2.ropensci.org/a458ff37353a30ab41dc0ba410988e4ee50b0c8b8653a9b4f9b8f369e6cea6d2",
  "_filesize": 643870,
  "_sha256": "a458ff37353a30ab41dc0ba410988e4ee50b0c8b8653a9b4f9b8f369e6cea6d2",
  "_expires": "2026-10-12T21:35:03.000Z",
  "_created": "2026-07-04T21:32:42.000Z",
  "_published": "2026-07-04T21:35:04.837Z",
  "_jobs": [
    {
      "job": 85168737516,
      "time": 107,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8085623178"
    },
    {
      "job": 85168737505,
      "time": 106,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8085623071"
    },
    {
      "job": 85168737506,
      "time": 66,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8085618640"
    },
    {
      "job": 85168737504,
      "time": 88,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8085620798"
    },
    {
      "job": 85168535383,
      "time": 180,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8085611222"
    },
    {
      "job": 85168737500,
      "time": 79,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8085619930"
    },
    {
      "job": 85168737511,
      "time": 66,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8085618494"
    },
    {
      "job": 85168737517,
      "time": 64,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8085618253"
    },
    {
      "job": 85168737513,
      "time": 74,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8085619756"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/28720227041",
  "_status": "success",
  "_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": 74,
  "_updates": [],
  "_tags": [],
  "_stars": 11,
  "_contributors": [
    {
      "user": "ggrothendieck",
      "count": 2,
      "uuid": 7840510
    }
  ],
  "_userbio": {
    "uuid": 7840510,
    "type": "user",
    "name": "ggrothendieck",
    "followers": 43
  },
  "_downloads": {
    "count": 19725,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gsubfn"
  },
  "_mentions": 3,
  "_devurl": "https://github.com/ggrothendieck/gsubfn",
  "_searchresults": 1370,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gsubfn.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_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.29660449336639,
  "_indexed": true,
  "_nocasepkg": "gsubfn",
  "_universes": [
    "ggrothendieck"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7",
      "date": "2026-07-04T21:34:35.000Z",
      "distro": "resolute",
      "commit": "66d52d9c0db277d39d3502d1db74911e8257fb64",
      "fileid": "https://r2.ropensci.org/3095c9fe1214af26d06f01df1067e07b5779968bdca8dca57bfe3aee66ecb301",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/28720227041"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.7",
      "date": "2026-07-04T21:34:35.000Z",
      "distro": "resolute",
      "commit": "66d52d9c0db277d39d3502d1db74911e8257fb64",
      "fileid": "https://r2.ropensci.org/6ec03914b75a51687670d8e612834850a2be0d76184cfe7ba0b18680bbb58e1d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/28720227041"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7",
      "date": "2026-07-04T21:33:56.000Z",
      "commit": "66d52d9c0db277d39d3502d1db74911e8257fb64",
      "fileid": "https://r2.ropensci.org/79ce4cf4b82eb58c367162db5b3c04d1be55d94817c79ec8aa94a4240687f610",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/28720227041"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.7",
      "date": "2026-07-04T21:34:14.000Z",
      "commit": "66d52d9c0db277d39d3502d1db74911e8257fb64",
      "fileid": "https://r2.ropensci.org/cdb201e3d1ef74b502103b8b9209bed386f9689f2979dab681ad3c46eb1ecfbd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/28720227041"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7",
      "date": "2026-07-04T21:34:16.000Z",
      "commit": "66d52d9c0db277d39d3502d1db74911e8257fb64",
      "fileid": "https://r2.ropensci.org/3dbac1436e36bf52eb377bfc60b52b5292785ab46c4c7aab3291d0ac35bf428b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/28720227041"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7",
      "date": "2026-07-04T21:33:47.000Z",
      "commit": "66d52d9c0db277d39d3502d1db74911e8257fb64",
      "fileid": "https://r2.ropensci.org/49a8fc57926124ce1e92312513390e08e976e5a9a0b27f03461a292fcff7ec17",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/28720227041"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7",
      "date": "2026-07-04T21:33:43.000Z",
      "commit": "66d52d9c0db277d39d3502d1db74911e8257fb64",
      "fileid": "https://r2.ropensci.org/81347cd9d21ae4e3a49fa402ce9c5bf8ca77784cae82d6fc3c4fdbdb5aa8a443",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/28720227041"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.7",
      "date": "2026-07-04T21:33:58.000Z",
      "commit": "66d52d9c0db277d39d3502d1db74911e8257fb64",
      "fileid": "https://r2.ropensci.org/cdde0ec6ed6204d8dc04601d351ca86ccf16427fdd64f1f0c8a701eaaf44a6e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/28720227041"
    }
  ]
}