{
  "_id": "6a3272e63efcd9bda43885b8",
  "Package": "parseLatex",
  "Type": "Package",
  "Title": "Parse 'LaTeX' Code",
  "Version": "0.4.2",
  "Authors@R": "c(\nperson(\n\"Duncan\", \"Murdoch\",\nemail = \"murdoch.duncan@gmail.com\",\nrole = c(\"aut\", \"cre\")\n),\nperson(\"The R Core Team\", role = c(\"ctb\", \"cph\"))\n)",
  "Description": "Exports an enhanced version of the tools::parseLatex()\nfunction to handle 'LaTeX' syntax more accurately.  Also\nincludes numerous functions for searching and modifying 'LaTeX'\nsource.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "URL": "https://github.com/dmurdoch/parseLatex,\nhttps://dmurdoch.github.io/parseLatex/",
  "BugReports": "https://github.com/dmurdoch/parseLatex/issues",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "SystemRequirements": "gettext, bison (>= 3.0)",
  "Config/testthat/edition": "3",
  "Repository": "https://dmurdoch.r-universe.dev",
  "Date/Publication": "2025-07-15 11:20:43 UTC",
  "RemoteUrl": "https://github.com/dmurdoch/parselatex",
  "RemoteRef": "HEAD",
  "RemoteSha": "ebb86bcd2c3eae4e638081380224c7b4199dcfd2",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-17 10:07:35 UTC",
    "User": "root"
  },
  "Author": "Duncan Murdoch [aut, cre],\nThe R Core Team [ctb, cph]",
  "Maintainer": "Duncan Murdoch <murdoch.duncan@gmail.com>",
  "MD5sum": "6f51f9d7f15e35d4dfeca52e0aa186a3",
  "_user": "dmurdoch",
  "_type": "src",
  "_file": "parseLatex_0.4.2.tar.gz",
  "_fileid": "5e57777ce5b4b5000a5519269b318e1cb36161f1a7b6a6c7f19a98692bd46828",
  "_filesize": 284677,
  "_sha256": "5e57777ce5b4b5000a5519269b318e1cb36161f1a7b6a6c7f19a98692bd46828",
  "_created": "2026-06-17T10:07:35.000Z",
  "_published": "2026-06-17T10:11:50.432Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81869663794,
      "time": 118,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7692277663"
    },
    {
      "job": 81869663750,
      "time": 128,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7692281665"
    },
    {
      "job": 81869663828,
      "time": 116,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7692277479"
    },
    {
      "job": 81869663905,
      "time": 122,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7692279122"
    },
    {
      "job": 81869663870,
      "time": 85,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7692264579"
    },
    {
      "job": 81869663809,
      "time": 139,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7692286003"
    },
    {
      "job": 81869663754,
      "time": 100,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7692269764"
    },
    {
      "job": 81869663854,
      "time": 214,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7692314165"
    },
    {
      "job": 81869084516,
      "time": 184,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7692230107"
    },
    {
      "job": 81869663693,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 81869663757,
      "time": 76,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7692261414"
    },
    {
      "job": 81869663807,
      "time": 84,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7692272842"
    },
    {
      "job": 81869663830,
      "time": 78,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7692262158"
    }
  ],
  "_buildurl": "https://github.com/r-universe/dmurdoch/actions/runs/27681261177",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/dmurdoch/parselatex",
  "_commit": {
    "id": "ebb86bcd2c3eae4e638081380224c7b4199dcfd2",
    "author": "Duncan Murdoch <murdoch.duncan@gmail.com>",
    "committer": "Duncan Murdoch <murdoch.duncan@gmail.com>",
    "message": "Add parsing test\n",
    "time": 1752578443
  },
  "_maintainer": {
    "name": "Duncan Murdoch",
    "email": "murdoch.duncan@gmail.com",
    "login": "dmurdoch",
    "description": "",
    "uuid": 1935680
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "dmurdoch",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-25",
      "n": 1
    },
    {
      "week": "2025-29",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "dmurdoch",
      "count": 139,
      "uuid": 1935680
    },
    {
      "user": "eddelbuettel",
      "count": 1,
      "uuid": 673121
    }
  ],
  "_userbio": {
    "uuid": 1935680,
    "type": "user",
    "name": "dmurdoch",
    "followers": 108
  },
  "_downloads": {
    "count": 150,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/parseLatex"
  },
  "_devurl": "https://github.com/dmurdoch/parselatex",
  "_pkgdown": "https://dmurdoch.github.io/parseLatex/",
  "_searchresults": 11,
  "_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/parseLatex.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/dmurdoch/parselatex",
  "_realowner": "dmurdoch",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.1",
      "date": "2025-02-11"
    },
    {
      "version": "0.3.0",
      "date": "2025-02-20"
    },
    {
      "version": "0.4.1",
      "date": "2025-06-06"
    }
  ],
  "_exports": [
    "ACTIVE",
    "ALIGN",
    "as_LaTeX2",
    "brace_options",
    "brace_options<-",
    "bracket_options",
    "bracket_options<-",
    "catcode",
    "columnOption",
    "columnOption<-",
    "columnOptions",
    "columnOptions<-",
    "COMMENT",
    "defaultCatcodes",
    "deparseLatex",
    "drop_caption",
    "drop_items",
    "drop_whitespace",
    "envName",
    "envName<-",
    "ESCAPE",
    "find_block",
    "find_brace_options",
    "find_bracket_options",
    "find_caption",
    "find_catcode",
    "find_char",
    "find_columnOptions",
    "find_env",
    "find_general",
    "find_macro",
    "find_pattern",
    "find_posOption",
    "find_rule",
    "find_rules",
    "find_sequence",
    "find_tableCell",
    "find_tableContent",
    "find_tableRow",
    "find_tabular",
    "find_tags",
    "find_whitespace",
    "find_widthOption",
    "flatten_itemlists",
    "get_container",
    "get_contents",
    "get_item",
    "get_items",
    "get_leftovers",
    "get_range",
    "get_ranges",
    "get_which",
    "IGNORE",
    "include_whitespace",
    "index_to_path",
    "insert_values",
    "INVALID",
    "is_block",
    "is_bracket",
    "is_catcode",
    "is_char",
    "is_env",
    "is_error",
    "is_itemlist",
    "is_macro",
    "is_placeholder",
    "is_tabular",
    "is_text",
    "is_whitespace",
    "items_are_equal",
    "latex2",
    "LaTeX2range",
    "latexTag",
    "LBRACE",
    "LETTER",
    "macroName",
    "MATH",
    "new_block",
    "new_env",
    "new_itemlist",
    "NEWLINE",
    "OTHER",
    "PARAM",
    "parseLatex",
    "path_to",
    "path_to_caption",
    "path_to_index",
    "paths_to_ranges",
    "placeholder",
    "posOption",
    "posOption<-",
    "prepare_row",
    "prepare_table",
    "RBRACE",
    "reduce_whitespace",
    "rmSrcrefs",
    "row_to_vector",
    "rule",
    "rule<-",
    "rules",
    "select_items",
    "set_contents",
    "set_item",
    "set_range",
    "show_itemlists",
    "showErrors",
    "SPACE",
    "split_chars",
    "split_latex",
    "split_list",
    "SUB",
    "SUPER",
    "tableCell",
    "tableCell<-",
    "tableContent",
    "tableContent<-",
    "tableDim",
    "tableNcol",
    "tableNrow",
    "tableRow",
    "tableRow<-",
    "trim_whitespace",
    "vector_to_latex2",
    "vector_to_row",
    "widthOption",
    "widthOption<-"
  ],
  "_help": [
    {
      "page": "as_LaTeX2",
      "title": "Coerce to LaTeX2",
      "topics": [
        "as_LaTeX2",
        "latex2"
      ]
    },
    {
      "page": "defaultCatcodes",
      "title": "The default \"catcodes\" used by parseLatex.",
      "topics": [
        "ACTIVE",
        "ALIGN",
        "COMMENT",
        "defaultCatcodes",
        "ESCAPE",
        "IGNORE",
        "INVALID",
        "LBRACE",
        "LETTER",
        "MATH",
        "NEWLINE",
        "OTHER",
        "PARAM",
        "RBRACE",
        "SPACE",
        "SUB",
        "SUPER"
      ]
    },
    {
      "page": "deparseLatex",
      "title": "Convert latex object into character vector",
      "topics": [
        "deparseLatex"
      ]
    },
    {
      "page": "find_caption",
      "title": "Find or drop captions",
      "topics": [
        "drop_caption",
        "find_caption",
        "path_to_caption"
      ]
    },
    {
      "page": "find_pattern",
      "title": "Find a pattern in deparsed items",
      "topics": [
        "find_pattern"
      ]
    },
    {
      "page": "find_sequence",
      "title": "Find a code sequence",
      "topics": [
        "find_sequence",
        "items_are_equal"
      ]
    },
    {
      "page": "tableContent",
      "title": "Functions relating to the data content of a table",
      "topics": [
        "find_tableContent",
        "tableContent",
        "tableContent<-"
      ]
    },
    {
      "page": "tableRow",
      "title": "Functions to work with rows in tables",
      "topics": [
        "find_tableRow",
        "tableRow",
        "tableRow<-"
      ]
    },
    {
      "page": "finders",
      "title": "Miscellaneous low-level finders",
      "topics": [
        "finders",
        "find_block",
        "find_catcode",
        "find_char",
        "find_env",
        "find_general",
        "find_macro",
        "find_tags",
        "find_whitespace"
      ]
    },
    {
      "page": "get_contents",
      "title": "Convenience functions to get or set contents of item",
      "topics": [
        "get_contents",
        "set_contents"
      ]
    },
    {
      "page": "get_leftovers",
      "title": "Retrieve source from beyond the end of the document.",
      "topics": [
        "get_leftovers"
      ]
    },
    {
      "page": "itemlist",
      "title": "Lists of items",
      "topics": [
        "flatten_itemlists",
        "ITEMLIST",
        "itemlist",
        "new_itemlist",
        "PLACEHOLDER",
        "placeholder",
        "show_itemlists"
      ]
    },
    {
      "page": "LaTeX2range",
      "title": "Ranges within LaTeX2 lists.",
      "topics": [
        "LaTeX2range",
        "print.LaTeX2range"
      ]
    },
    {
      "page": "names",
      "title": "Utility functions finding names and types of objects",
      "topics": [
        "catcode",
        "envName",
        "envName<-",
        "latexTag",
        "macroName",
        "names"
      ]
    },
    {
      "page": "options",
      "title": "Find or modify macro or environment options",
      "topics": [
        "brace_options",
        "brace_options<-",
        "bracket_options",
        "bracket_options<-",
        "find_brace_options",
        "find_bracket_options",
        "options"
      ]
    },
    {
      "page": "parseLatex_fn",
      "title": "Parse LaTeX code",
      "topics": [
        "LaTeX2",
        "LaTeX2item",
        "parseLatex",
        "parseLatex_fn"
      ]
    },
    {
      "page": "parseLatex_pkg",
      "title": "The parseLatex package",
      "topics": [
        "parseLatex-package",
        "parseLatex_pkg"
      ]
    },
    {
      "page": "path_to",
      "title": "Find path to a particular kind of item",
      "topics": [
        "get_container",
        "get_item",
        "get_items",
        "get_which",
        "insert_values",
        "path_to",
        "set_item"
      ]
    },
    {
      "page": "path_to_index",
      "title": "Convert between paths and indices",
      "topics": [
        "get_ranges",
        "index_to_path",
        "paths_to_ranges",
        "path_to_index"
      ]
    },
    {
      "page": "prepare_table",
      "title": "Split up a table by rows",
      "topics": [
        "prepare_row",
        "prepare_table"
      ]
    },
    {
      "page": "print.LaTeX2item",
      "title": "Print methods",
      "topics": [
        "print.LaTeX2",
        "print.LaTeX2item"
      ]
    },
    {
      "page": "reduce_whitespace",
      "title": "Remove excess whitespace recursively",
      "topics": [
        "reduce_whitespace"
      ]
    },
    {
      "page": "rmSrcrefs",
      "title": "Remove srcrefs",
      "topics": [
        "rmSrcrefs"
      ]
    },
    {
      "page": "set_range",
      "title": "Set items in a LaTeX2 object",
      "topics": [
        "get_range",
        "set_range"
      ]
    },
    {
      "page": "showErrors",
      "title": "Show errors in parsed Latex object",
      "topics": [
        "showErrors"
      ]
    },
    {
      "page": "splitting",
      "title": "Splitting lists of items",
      "topics": [
        "splitting",
        "split_latex",
        "split_list"
      ]
    },
    {
      "page": "tablecalcs",
      "title": "Calculations on tables",
      "topics": [
        "tablecalcs",
        "tableDim",
        "tableNcol",
        "tableNrow"
      ]
    },
    {
      "page": "tablecell",
      "title": "Work with table cells",
      "topics": [
        "find_tableCell",
        "tableCell",
        "tableCell<-"
      ]
    },
    {
      "page": "tableOption",
      "title": "Functions related to table options.",
      "topics": [
        "columnOption",
        "columnOption<-",
        "columnOptions",
        "columnOptions<-",
        "find_columnOptions",
        "find_posOption",
        "find_widthOption",
        "posOption",
        "posOption<-",
        "tableOption",
        "widthOption",
        "widthOption<-"
      ]
    },
    {
      "page": "tableRule",
      "title": "Work with rules in tables",
      "topics": [
        "find_rule",
        "find_rules",
        "rule",
        "rule<-",
        "rules",
        "tableRule"
      ]
    },
    {
      "page": "tables",
      "title": "Functions related to parsing LaTeX tables",
      "topics": [
        "find_tabular",
        "is_tabular",
        "tables"
      ]
    },
    {
      "page": "tests",
      "title": "Test objects",
      "topics": [
        "is_block",
        "is_bracket",
        "is_catcode",
        "is_char",
        "is_env",
        "is_error",
        "is_itemlist",
        "is_macro",
        "is_placeholder",
        "is_text",
        "is_whitespace",
        "tests"
      ]
    },
    {
      "page": "Utilities",
      "title": "Miscellaneous utilities",
      "topics": [
        "drop_items",
        "drop_whitespace",
        "include_whitespace",
        "new_block",
        "new_env",
        "select_items",
        "split_chars",
        "trim_whitespace",
        "Utilities"
      ]
    },
    {
      "page": "vector_to_latex2",
      "title": "Convert vector to items",
      "topics": [
        "vector_to_latex2"
      ]
    },
    {
      "page": "vector_to_row",
      "title": "Convert vector to table row and back",
      "topics": [
        "row_to_vector",
        "vector_to_row"
      ]
    }
  ],
  "_readme": "https://github.com/dmurdoch/parselatex/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "parseLatex.Rmd",
      "filename": "parseLatex.html",
      "title": "The parseLatex package",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Demo",
        "Differences from tools::parseLatex",
        "Magic Comments",
        "Work in progress!"
      ],
      "created": "2025-01-26 21:31:30",
      "modified": "2025-04-03 20:15:55",
      "commits": 20
    }
  ],
  "_score": 4.518513939877888,
  "_indexed": true,
  "_nocasepkg": "parselatex",
  "_universes": [
    "dmurdoch"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-06-17T10:09:42.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "ebb86bcd2c3eae4e638081380224c7b4199dcfd2",
      "fileid": "6ecb412c73a44c7ba78095471fee1eee26a6f8873b73db9dca1fc2e79a9ed02e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dmurdoch/actions/runs/27681261177"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-06-17T10:09:47.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "ebb86bcd2c3eae4e638081380224c7b4199dcfd2",
      "fileid": "c5f9a0e55439415dbd80a8ab539ea5942f9d26672a01aa6ad594b86a94db3907",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dmurdoch/actions/runs/27681261177"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-06-17T10:09:41.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "ebb86bcd2c3eae4e638081380224c7b4199dcfd2",
      "fileid": "7d441c13a2f3974d29779cdf55841cf8fc998c0299724eec1bcec52b0e3cd0e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dmurdoch/actions/runs/27681261177"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.2",
      "date": "2026-06-17T10:09:41.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "ebb86bcd2c3eae4e638081380224c7b4199dcfd2",
      "fileid": "9a8c37aee92795ac906587e97913fcf5e5069781109d1677e16e5100fe522f15",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dmurdoch/actions/runs/27681261177"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.2",
      "date": "2026-06-17T10:09:07.000Z",
      "arch": "aarch64",
      "commit": "ebb86bcd2c3eae4e638081380224c7b4199dcfd2",
      "fileid": "aebaa88a8336e91aa91b707b83c866ee6b2789ca39508f530ca80d0f8a6d6fa5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dmurdoch/actions/runs/27681261177"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.2",
      "date": "2026-06-17T10:09:52.000Z",
      "arch": "x86_64",
      "commit": "ebb86bcd2c3eae4e638081380224c7b4199dcfd2",
      "fileid": "9b60c48b4409542ffc617f971069b1aea219b771283bfa0ed860002cc8e8de73",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dmurdoch/actions/runs/27681261177"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.2",
      "date": "2026-06-17T10:09:20.000Z",
      "arch": "aarch64",
      "commit": "ebb86bcd2c3eae4e638081380224c7b4199dcfd2",
      "fileid": "f13e526df2324bff1bd86d4ae0ec72fdf9d843462ff8c284b5adb95bb2a10a21",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dmurdoch/actions/runs/27681261177"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.2",
      "date": "2026-06-17T10:10:53.000Z",
      "arch": "x86_64",
      "commit": "ebb86bcd2c3eae4e638081380224c7b4199dcfd2",
      "fileid": "7fea49eda60a8d86b29b3fe19fc997afaccdba1b70a1bda89c0fbe8683a08b08",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dmurdoch/actions/runs/27681261177"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-06-17T10:08:48.000Z",
      "arch": "x86_64",
      "commit": "ebb86bcd2c3eae4e638081380224c7b4199dcfd2",
      "fileid": "5deb41189ccd1c8361a933ee686e35e5922404707b6c00dd80eadc68f1a39f9f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dmurdoch/actions/runs/27681261177"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-06-17T10:09:14.000Z",
      "arch": "x86_64",
      "commit": "ebb86bcd2c3eae4e638081380224c7b4199dcfd2",
      "fileid": "f096a7e84c041a10f648b84d24849eb15ee9f4b76c19ce7595b70e1ebf1cee4d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dmurdoch/actions/runs/27681261177"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.2",
      "date": "2026-06-17T10:08:48.000Z",
      "arch": "x86_64",
      "commit": "ebb86bcd2c3eae4e638081380224c7b4199dcfd2",
      "fileid": "89618b3b85f4019a1173414a8967d80dea6ee1e7cf1dc7f88ae73bfce8c59968",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dmurdoch/actions/runs/27681261177"
    }
  ]
}