{
  "_id": "6a1eff8db401979e7341aa86",
  "Package": "parcr",
  "Title": "Construct Parsers for Structured Text Files",
  "Version": "0.6.1.9000",
  "Authors@R": "person(given = \"Douwe\",\nfamily = \"Molenaar\",\nrole = c(\"aut\", \"cre\", \"cph\"),\nemail = \"d.molenaar@vu.nl\",\ncomment = c(ORCID = \"0000-0001-7108-4545\"))",
  "Description": "Construct parser combinator functions, higher order\nfunctions that parse input. Construction of such parsers is\ntransparent and easy. Their main application is the parsing of\nstructured text files like those generated by laboratory\ninstruments. Based on a paper by Hutton (1992)\n<doi:10.1017/S0956796800000411>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "URL": "https://github.com/SystemsBioinformatics/parcr",
  "BugReports": "https://github.com/SystemsBioinformatics/parcr/issues",
  "Repository": "https://systemsbioinformatics.r-universe.dev",
  "Date/Publication": "2026-02-17 09:54:28 UTC",
  "RemoteUrl": "https://github.com/systemsbioinformatics/parcr",
  "RemoteRef": "HEAD",
  "RemoteSha": "2e583a197ac22aed5c7b2008c974621a4104a60f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-18 09:14:38 UTC",
    "User": "root"
  },
  "Author": "Douwe Molenaar [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0001-7108-4545>)",
  "Maintainer": "Douwe Molenaar <d.molenaar@vu.nl>",
  "MD5sum": "8d5233c5f8c1ddb30a95fd2bbf239722",
  "_user": "systemsbioinformatics",
  "_type": "src",
  "_file": "parcr_0.6.1.9000.tar.gz",
  "_fileid": "5c9fd3a032741bc722abf303195a5bc034cafcadf4f08f46956694b54aeac2a6",
  "_filesize": 320393,
  "_sha256": "5c9fd3a032741bc722abf303195a5bc034cafcadf4f08f46956694b54aeac2a6",
  "_created": "2026-05-18T09:14:38.000Z",
  "_published": "2026-06-02T16:06:37.450Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79116218970,
      "time": 159,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7053922445"
    },
    {
      "job": 79116218743,
      "time": 120,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7053908565"
    },
    {
      "job": 79116219134,
      "time": 156,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7053913783"
    },
    {
      "job": 79116218630,
      "time": 152,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7053910247"
    },
    {
      "job": 79116218211,
      "time": 140,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7053866037"
    },
    {
      "job": 79116217550,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7363231644"
    },
    {
      "job": 79116218735,
      "time": 129,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7053911479"
    },
    {
      "job": 79116219792,
      "time": 70,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7053890948"
    },
    {
      "job": 79116219075,
      "time": 75,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7053892366"
    }
  ],
  "_buildurl": "https://github.com/r-universe/systemsbioinformatics/actions/runs/26024289995",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/systemsbioinformatics/parcr",
  "_commit": {
    "id": "2e583a197ac22aed5c7b2008c974621a4104a60f",
    "author": "Douwe Molenaar <d.molenaar@vu.nl>",
    "committer": "Douwe Molenaar <d.molenaar@vu.nl>",
    "message": "Increment version number to 0.6.1.9000\n",
    "time": 1771322068
  },
  "_maintainer": {
    "name": "Douwe Molenaar",
    "email": "d.molenaar@vu.nl",
    "login": "douwe",
    "description": "Microbiologist, Systems biologist, Data scientist (@SystemsBioinformatics)",
    "uuid": 1353191,
    "orcid": "0000-0001-7108-4545"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "systemsbioinformatics",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-29",
      "n": 11
    },
    {
      "week": "2026-05",
      "n": 3
    },
    {
      "week": "2026-06",
      "n": 4
    },
    {
      "week": "2026-07",
      "n": 17
    },
    {
      "week": "2026-08",
      "n": 5
    }
  ],
  "_tags": [
    {
      "name": "v0.5.3",
      "date": "2025-07-18"
    },
    {
      "name": "v0.6.0",
      "date": "2026-02-15"
    },
    {
      "name": "v0.6.1",
      "date": "2026-02-16"
    }
  ],
  "_topics": [
    "combinators",
    "higher-order-functions",
    "parser",
    "parsing"
  ],
  "_stars": 6,
  "_contributors": [
    {
      "user": "douwe",
      "count": 286,
      "uuid": 1353191
    }
  ],
  "_userbio": {
    "uuid": 12168054,
    "type": "organization",
    "name": "Systems Biology Lab, Vrije Universiteit Amsterdam",
    "description": "This is the code repository of the Systems Biology Lab. Our lab studies the molecular networks inside cells that give rise to cell behaviour and fitness."
  },
  "_downloads": {
    "count": 178,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/parcr"
  },
  "_devurl": "https://github.com/systemsbioinformatics/parcr",
  "_searchresults": 10,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/parcr.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/systemsbioinformatics/parcr",
  "_realowner": "systemsbioinformatics",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.5.0",
      "date": "2024-01-16"
    },
    {
      "version": "0.5.1",
      "date": "2024-01-31"
    },
    {
      "version": "0.5.2",
      "date": "2024-06-07"
    },
    {
      "version": "0.5.3",
      "date": "2025-07-18"
    },
    {
      "version": "0.6.0",
      "date": "2026-02-16"
    },
    {
      "version": "0.6.1",
      "date": "2026-02-17"
    }
  ],
  "_exports": [
    "%or%",
    "%ret%",
    "%then%",
    "%thenx%",
    "%using%",
    "%xthen%",
    "by_split",
    "by_symbol",
    "clear_store",
    "EmptyLine",
    "eof",
    "exactly",
    "fail",
    "failed",
    "finished",
    "has_stored",
    "Ignore",
    "list_stored",
    "literal",
    "match_n",
    "match_s",
    "MaybeEmpty",
    "named",
    "one_or_more",
    "reporter",
    "retrieve",
    "satisfy",
    "Spacer",
    "store",
    "stringparser",
    "succeed",
    "zero_or_more",
    "zero_or_one"
  ],
  "_datasets": [
    {
      "name": "fastafile",
      "title": "Example nucleotide fasta file",
      "object": "fastafile",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "grapes-or-grapes",
      "title": "Applying alternative parsers",
      "topics": [
        "%or%"
      ]
    },
    {
      "page": "grapes-ret-grapes",
      "title": "Return a fixed value instead of the result of a parser",
      "topics": [
        "%ret%"
      ]
    },
    {
      "page": "grapes-then-grapes",
      "title": "Applying parsers in sequence",
      "topics": [
        "%then%"
      ]
    },
    {
      "page": "grapes-using-grapes",
      "title": "Applying a function to the result of a parser",
      "topics": [
        "%using%"
      ]
    },
    {
      "page": "grapes-xthen-grapes",
      "title": "Keeping only first or second result from a %then% sequence",
      "topics": [
        "%thenx%",
        "%xthen%"
      ]
    },
    {
      "page": "by_split",
      "title": "Applying a parser to a split string",
      "topics": [
        "by_split"
      ]
    },
    {
      "page": "by_symbol",
      "title": "Applying a parser to individual symbols of a string",
      "topics": [
        "by_symbol"
      ]
    },
    {
      "page": "clear_store",
      "title": "Clear all stored values",
      "topics": [
        "clear_store"
      ]
    },
    {
      "page": "EmptyLine",
      "title": "Recognize empty lines",
      "topics": [
        "EmptyLine",
        "MaybeEmpty",
        "Spacer"
      ]
    },
    {
      "page": "eof",
      "title": "Detect end of input",
      "topics": [
        "eof"
      ]
    },
    {
      "page": "failed",
      "title": "Testing for parser failure",
      "topics": [
        "failed"
      ]
    },
    {
      "page": "fastafile",
      "title": "Example nucleotide fasta file",
      "topics": [
        "fastafile"
      ]
    },
    {
      "page": "finished",
      "title": "Test whether the parser has completely consumed the input",
      "topics": [
        "finished"
      ]
    },
    {
      "page": "has_stored",
      "title": "Check if a variable is stored",
      "topics": [
        "has_stored"
      ]
    },
    {
      "page": "Ignore",
      "title": "Ignore all until the end",
      "topics": [
        "Ignore"
      ]
    },
    {
      "page": "list_stored",
      "title": "List all stored variable names",
      "topics": [
        "list_stored"
      ]
    },
    {
      "page": "literal",
      "title": "Matching parser input with a literal string",
      "topics": [
        "literal"
      ]
    },
    {
      "page": "match_s",
      "title": "Identifying and processing a string and producing custom output",
      "topics": [
        "match_s"
      ]
    },
    {
      "page": "named",
      "title": "Add a semantic name to a parser for better error messages",
      "topics": [
        "named"
      ]
    },
    {
      "page": "print.marker",
      "title": "Print method for an object of class 'marker'",
      "topics": [
        "print.marker"
      ]
    },
    {
      "page": "reporter",
      "title": "Turn a parser into an error reporting parser",
      "topics": [
        "reporter"
      ]
    },
    {
      "page": "satisfy",
      "title": "Matching input using a logical function",
      "topics": [
        "satisfy"
      ]
    },
    {
      "page": "store",
      "title": "Store and retrieve objects",
      "topics": [
        "retrieve",
        "store"
      ]
    },
    {
      "page": "stringparser",
      "title": "String parser constructor",
      "topics": [
        "stringparser"
      ]
    },
    {
      "page": "succeed",
      "title": "The most basic parsers",
      "topics": [
        "fail",
        "succeed"
      ]
    },
    {
      "page": "zero_or_more",
      "title": "Repeated application of a parser",
      "topics": [
        "exactly",
        "match_n",
        "one_or_more",
        "zero_or_more",
        "zero_or_one"
      ]
    }
  ],
  "_readme": "https://github.com/systemsbioinformatics/parcr/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "Design_details.Rmd",
      "filename": "Design_details.html",
      "title": "Discussion of some design details",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Lazy evaluation by %or%, and constructing parsers",
        "Tracking where a parser error occurs",
        "The package rex",
        "Literature"
      ],
      "created": "2024-01-15 14:30:25",
      "modified": "2026-02-15 07:20:13",
      "commits": 4
    },
    {
      "source": "Creating_parser_combinators.Rmd",
      "filename": "Creating_parser_combinators.html",
      "title": "Making parsers with higher order functions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Goal of the package",
        "Higher order functions in R",
        "Creating parser combinators in R to parse text files",
        "The output of the parsers: a list",
        "A simple example of using parser combinators",
        "The functions in the parcr package",
        "The fundamental parsers",
        "Succeeding and failing",
        "Parsers for the current element",
        "The fundamental combinators",
        "Modifying the output of a parser",
        "Derived parsers",
        "Iterators",
        "Recognizing and processing strings with match_s",
        "Functions that split a string and parse the substrings",
        "Derived functions to recognize and modify empty lines",
        "Example application: a parser for fasta sequence files",
        "Example application: parsers with parameters",
        "Improved error messaging (since v0.6)",
        "Automatic Expected Values",
        "Custom Expected Values with satisfy()",
        "Semantic Names with named()",
        "Literature"
      ],
      "created": "2023-12-29 17:51:22",
      "modified": "2026-02-13 12:19:28",
      "commits": 30
    }
  ],
  "_score": 5.477121254719663,
  "_indexed": true,
  "_nocasepkg": "parcr",
  "_universes": [
    "systemsbioinformatics",
    "douwe"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.1.9000",
      "date": "2026-05-18T09:17:19.000Z",
      "distro": "noble",
      "commit": "2e583a197ac22aed5c7b2008c974621a4104a60f",
      "fileid": "a4348d305752fde1c8cd08e5e6116f658a9bc9f2d88b91c35ef8c61a244b8af5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/systemsbioinformatics/actions/runs/26024289995"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.6.1.9000",
      "date": "2026-05-18T09:16:42.000Z",
      "distro": "noble",
      "commit": "2e583a197ac22aed5c7b2008c974621a4104a60f",
      "fileid": "5f504c780800f604fd672023511bce15bfb6319212ce5e29e3d6d577eb19d9ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/systemsbioinformatics/actions/runs/26024289995"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.1.9000",
      "date": "2026-05-18T09:16:59.000Z",
      "commit": "2e583a197ac22aed5c7b2008c974621a4104a60f",
      "fileid": "987b737fc58ad298bd1fdea32a12fa95634995972cbf219b9598df4fd1d8b276",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/systemsbioinformatics/actions/runs/26024289995"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.6.1.9000",
      "date": "2026-05-18T09:16:45.000Z",
      "commit": "2e583a197ac22aed5c7b2008c974621a4104a60f",
      "fileid": "d146bac042571b05b227fb7980a9520921f34d61bc911ca804cabd16ba7d3e1b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/systemsbioinformatics/actions/runs/26024289995"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.1.9000",
      "date": "2026-05-18T09:16:43.000Z",
      "commit": "2e583a197ac22aed5c7b2008c974621a4104a60f",
      "fileid": "b5b17a909fdfef71d8027dd218a3ff3b42e1faf65a5a37f2a98f0ea0f197a2f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/systemsbioinformatics/actions/runs/26024289995"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.1.9000",
      "date": "2026-05-18T09:15:45.000Z",
      "commit": "2e583a197ac22aed5c7b2008c974621a4104a60f",
      "fileid": "bddb81cec0d8de087dbf527d9b7747b5ca2e1da7f376bda6a434d8e46cfd0311",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/systemsbioinformatics/actions/runs/26024289995"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.6.1.9000",
      "date": "2026-05-18T09:15:48.000Z",
      "commit": "2e583a197ac22aed5c7b2008c974621a4104a60f",
      "fileid": "2c37da6f14994bbc5c01bb6a901089b2d86f3e2c6a3d6ee5fb6d374c2982dea0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/systemsbioinformatics/actions/runs/26024289995"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.1.9000",
      "date": "2026-06-02T16:06:21.000Z",
      "commit": "2e583a197ac22aed5c7b2008c974621a4104a60f",
      "fileid": "bfa845105ff7c1272aee1c6140a82288b509adcdd4056a0eb3cbce934a89ad6e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/systemsbioinformatics/actions/runs/26024289995"
    }
  ]
}