{
  "_id": "6a1bf1241d7bb097a0a232b7",
  "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-05-31 08:19:04 UTC",
    "User": "root"
  },
  "MD5sum": "b70f2bf8c342ebe8a6820a00a3016cf6",
  "_user": "ggrothendieck",
  "_type": "src",
  "_file": "gsubfn_0.7.tar.gz",
  "_fileid": "d9aba38a9c7e4065dd6511e8b62fbb97e2585ac084a3ca48d88f006691a91ea5",
  "_filesize": 642497,
  "_sha256": "d9aba38a9c7e4065dd6511e8b62fbb97e2585ac084a3ca48d88f006691a91ea5",
  "_created": "2026-05-31T08:19:04.000Z",
  "_published": "2026-05-31T08:28:20.918Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78711557890,
      "time": 102,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7315175992"
    },
    {
      "job": 78711557910,
      "time": 99,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315175654"
    },
    {
      "job": 78711557849,
      "time": 199,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7315218261"
    },
    {
      "job": 78711557847,
      "time": 112,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315190141"
    },
    {
      "job": 78711445613,
      "time": 126,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315164473"
    },
    {
      "job": 78711557841,
      "time": 88,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315174448"
    },
    {
      "job": 78711557892,
      "time": 68,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7315171989"
    },
    {
      "job": 78711557855,
      "time": 65,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7315171652"
    },
    {
      "job": 78711557895,
      "time": 80,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315173624"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/26707481709",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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": 76,
  "_updates": [],
  "_tags": [],
  "_stars": 11,
  "_contributors": [
    {
      "user": "ggrothendieck",
      "count": 2,
      "uuid": 7840510
    }
  ],
  "_userbio": {
    "uuid": 7840510,
    "type": "user",
    "name": "ggrothendieck"
  },
  "_downloads": {
    "count": 25160,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gsubfn"
  },
  "_mentions": 3,
  "_devurl": "https://github.com/ggrothendieck/gsubfn",
  "_searchresults": 948,
  "_rbuild": "4.6.0",
  "_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": [],
      "created": "2013-12-28 16:48:13",
      "modified": "2018-03-15 23:05:55",
      "commits": 3
    }
  ],
  "_score": 10.25396776098964,
  "_indexed": true,
  "_nocasepkg": "gsubfn",
  "_universes": [
    "ggrothendieck"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7",
      "date": "2026-05-31T08:20:49.000Z",
      "distro": "noble",
      "commit": "66d52d9c0db277d39d3502d1db74911e8257fb64",
      "fileid": "a947d1ec73f795c15e6afb150de29b89a0b5f72200e74092acaa9b600ef98217",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/26707481709"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.7",
      "date": "2026-05-31T08:20:47.000Z",
      "distro": "noble",
      "commit": "66d52d9c0db277d39d3502d1db74911e8257fb64",
      "fileid": "48446cf61e52911d8692f612e1f9a8632857432ecb4da3b8df8bf8a19993955b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/26707481709"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7",
      "date": "2026-05-31T08:27:17.000Z",
      "commit": "66d52d9c0db277d39d3502d1db74911e8257fb64",
      "fileid": "457077a7f4676eb6476c868becdbf50948757afca759322af9250c47c30a2b19",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/26707481709"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.7",
      "date": "2026-05-31T08:23:00.000Z",
      "commit": "66d52d9c0db277d39d3502d1db74911e8257fb64",
      "fileid": "42b138c5f59f92b004d3f256990f0f1a284e6c05ad742a027201ca6968c9a4fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/26707481709"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7",
      "date": "2026-05-31T08:20:47.000Z",
      "commit": "66d52d9c0db277d39d3502d1db74911e8257fb64",
      "fileid": "44f0dc6c48cdb66211d21740df5ad12498a6ae579b5f7b5e367a1f0add304ed7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/26707481709"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7",
      "date": "2026-05-31T08:20:09.000Z",
      "commit": "66d52d9c0db277d39d3502d1db74911e8257fb64",
      "fileid": "ff1409553a94082e44fcac898d07e6eff2aa2eeb0e45018de8e87a5c1ed6e254",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/26707481709"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7",
      "date": "2026-05-31T08:20:07.000Z",
      "commit": "66d52d9c0db277d39d3502d1db74911e8257fb64",
      "fileid": "afc913f095db0f6f8257ddcc8e3bf907eb18f3f71152ce87b4787bbe83011415",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/26707481709"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.7",
      "date": "2026-05-31T08:20:25.000Z",
      "commit": "66d52d9c0db277d39d3502d1db74911e8257fb64",
      "fileid": "d499e893b1adc55cb2370fe61563913546b080603b149656556f1d3e21894c7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggrothendieck/actions/runs/26707481709"
    }
  ]
}