{
  "_id": "6a1edb13b401979e7340f768",
  "Package": "doctest",
  "Type": "Package",
  "Title": "Generate Tests from Examples Using 'roxygen' and 'testthat'",
  "Version": "0.4.0",
  "Authors@R": "person(\"David\", \"Hugh-Jones\",\nemail = \"davidhughjones@gmail.com\",\nrole = c(\"aut\", \"cre\"))",
  "Maintainer": "David Hugh-Jones <davidhughjones@gmail.com>",
  "Description": "Creates 'testthat' tests from 'roxygen' examples using\nsimple tags.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.3",
  "Config/testthat/edition": "3",
  "Roxygen": "list(markdown = TRUE)",
  "URL": "https://hughjonesd.github.io/doctest/",
  "BugReports": "https://github.com/hughjonesd/doctest/issues",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake make libuv1-dev libxml2-dev",
  "Repository": "https://hughjonesd.r-universe.dev",
  "Date/Publication": "2026-02-19 11:22:42 UTC",
  "RemoteUrl": "https://github.com/hughjonesd/doctest",
  "RemoteRef": "v0.4.0",
  "RemoteSha": "ef97b06623b2a07b9ae5cb7ddb16f35993786578",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-20 08:56:49 UTC",
    "User": "root"
  },
  "Author": "David Hugh-Jones [aut, cre]",
  "MD5sum": "383e53949ce9e2ac758f1476f5a20128",
  "_user": "hughjonesd",
  "_type": "src",
  "_file": "doctest_0.4.0.tar.gz",
  "_fileid": "beb85cc5476e89e3227b1497a0dfe50db2c0c149bf7eb6e83b6685c127c57b7b",
  "_filesize": 156117,
  "_sha256": "beb85cc5476e89e3227b1497a0dfe50db2c0c149bf7eb6e83b6685c127c57b7b",
  "_created": "2026-05-20T08:56:49.000Z",
  "_published": "2026-06-02T13:30:59.691Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79082220578,
      "time": 128,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7105613265"
    },
    {
      "job": 79082220947,
      "time": 131,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7105614333"
    },
    {
      "job": 79082220736,
      "time": 93,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7105600433"
    },
    {
      "job": 79082220574,
      "time": 95,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7105601659"
    },
    {
      "job": 79082219553,
      "time": 189,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7105567127"
    },
    {
      "job": 79082219139,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7359085131"
    },
    {
      "job": 79082220466,
      "time": 91,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7105600599"
    },
    {
      "job": 79082220634,
      "time": 72,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7105593841"
    },
    {
      "job": 79082220547,
      "time": 90,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7105600243"
    }
  ],
  "_buildurl": "https://github.com/r-universe/hughjonesd/actions/runs/26152078235",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/hughjonesd/doctest",
  "_commit": {
    "id": "ef97b06623b2a07b9ae5cb7ddb16f35993786578",
    "author": "David Hugh-Jones <davidhughjones@gmail.com>",
    "committer": "David Hugh-Jones <davidhughjones@gmail.com>",
    "message": "clean up .Rbuildignore\n",
    "time": 1771500162
  },
  "_maintainer": {
    "name": "David Hugh-Jones",
    "email": "davidhughjones@gmail.com",
    "login": "hughjonesd",
    "twitter": "@davidhughjones",
    "description": "Social scientist, R hacker",
    "uuid": 5818871
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "fs",
      "role": "Imports"
    },
    {
      "package": "pkgload",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "roxygen2",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lifecycle",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "hughjonesd",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-49",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 1
    },
    {
      "week": "2026-08",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.4.0",
      "date": "2026-02-19"
    }
  ],
  "_stars": 31,
  "_contributors": [
    {
      "user": "hughjonesd",
      "count": 162,
      "uuid": 5818871
    },
    {
      "user": "mlopez-ibanez",
      "count": 10,
      "uuid": 2620021
    },
    {
      "user": "copilot",
      "count": 3,
      "uuid": 198982749
    },
    {
      "user": "hadley",
      "count": 1,
      "uuid": 4196
    }
  ],
  "_userbio": {
    "uuid": 5818871,
    "type": "user",
    "name": "David Hugh-Jones",
    "description": "Social scientist, R hacker"
  },
  "_downloads": {
    "count": 456,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/doctest"
  },
  "_devurl": "https://github.com/hughjonesd/doctest",
  "_pkgdown": "https://hughjonesd.github.io/doctest/",
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/doctest.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/hughjonesd/doctest",
  "_realowner": "hughjonesd",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2023-04-28"
    },
    {
      "version": "0.3.0",
      "date": "2024-01-11"
    },
    {
      "version": "0.4.0",
      "date": "2026-02-19"
    }
  ],
  "_exports": [
    "dt_roclet",
    "test_doctests"
  ],
  "_help": [
    {
      "page": "doctest-package",
      "title": "Write testthat tests for your examples, using roxygen tags",
      "topics": [
        "doctest-package",
        "doctest"
      ]
    },
    {
      "page": "doctest-tag",
      "title": "Start a doctest",
      "topics": [
        "@doctest",
        "doctest-tag"
      ]
    },
    {
      "page": "doctestExample-tag",
      "title": "Add an example from a file",
      "topics": [
        "@doctestExample",
        "doctestExample-tag"
      ]
    },
    {
      "page": "dt_roclet",
      "title": "Create the doctest roclet",
      "topics": [
        "dt_roclet"
      ]
    },
    {
      "page": "expect-tag",
      "title": "Create an expectation",
      "concept": [
        "expectations"
      ],
      "topics": [
        "@expect",
        "expect-tag"
      ]
    },
    {
      "page": "expectRaw-tag",
      "title": "Create an expectation as-is",
      "concept": [
        "expectations"
      ],
      "topics": [
        "@expectRaw",
        "expectRaw-tag"
      ]
    },
    {
      "page": "omit-tag",
      "title": "Exclude example code from a test",
      "topics": [
        "@omit",
        "@resume",
        "omit-tag",
        "resume-tag"
      ]
    },
    {
      "page": "snap-tag",
      "title": "Create a snapshot test",
      "concept": [
        "expectations"
      ],
      "topics": [
        "@snap",
        "snap-tag"
      ]
    },
    {
      "page": "test_doctests",
      "title": "Test doctests in a package",
      "topics": [
        "test_doctests"
      ]
    },
    {
      "page": "testRaw-tag",
      "title": "Add a line of code to the test",
      "topics": [
        "@testRaw",
        "testRaw-tag"
      ]
    }
  ],
  "_readme": "https://github.com/hughjonesd/doctest/raw/v0.4.0/README.md",
  "_rundeps": [
    "brew",
    "brio",
    "callr",
    "cli",
    "commonmark",
    "cpp11",
    "crayon",
    "desc",
    "diffobj",
    "evaluate",
    "fs",
    "glue",
    "highr",
    "jsonlite",
    "knitr",
    "lifecycle",
    "magrittr",
    "pkgbuild",
    "pkgload",
    "praise",
    "processx",
    "ps",
    "purrr",
    "R6",
    "rlang",
    "roxygen2",
    "rprojroot",
    "testthat",
    "vctrs",
    "waldo",
    "withr",
    "xfun",
    "xml2",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "conversion.Rmd",
      "filename": "conversion.html",
      "title": "Converting a package to use doctest",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Setting up doctest",
        "Converting @examples to @doctest sections",
        "Before",
        "After",
        "Creating doctests by adding expectations",
        "Doctests for messaging functions",
        "Adding doctests for utility functions",
        "Adding doctest to Suggests:",
        "Conclusion"
      ],
      "created": "2022-12-14 19:29:07",
      "modified": "2025-12-04 22:36:17",
      "commits": 7
    },
    {
      "source": "doctest.Rmd",
      "filename": "doctest.html",
      "title": "doctest",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction to doctest",
        "Adding doctests to your package",
        "Tags",
        "@doctest",
        "@expect",
        "@expectRaw",
        "@snap",
        "@testRaw",
        "@omit and @resume",
        "@doctestExample",
        "Caveats",
        "Writing good doctests",
        "Related packages"
      ],
      "created": "2022-11-25 18:53:04",
      "modified": "2023-04-28 20:32:45",
      "commits": 18
    }
  ],
  "_score": 6.445604203273597,
  "_indexed": true,
  "_nocasepkg": "doctest",
  "_universes": [
    "hughjonesd"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-05-20T08:58:59.000Z",
      "distro": "noble",
      "commit": "ef97b06623b2a07b9ae5cb7ddb16f35993786578",
      "fileid": "4ab39a48f21c3e92111f7564695626f9178e8ac3da26587faff473668252b5ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hughjonesd/actions/runs/26152078235"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-05-20T08:59:02.000Z",
      "distro": "noble",
      "commit": "ef97b06623b2a07b9ae5cb7ddb16f35993786578",
      "fileid": "43048fd6239e63abd2120979b0fe70a3404aa89af9ac60808df9ac1be9ba6e95",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hughjonesd/actions/runs/26152078235"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-05-20T08:58:23.000Z",
      "commit": "ef97b06623b2a07b9ae5cb7ddb16f35993786578",
      "fileid": "1d849c928fca151070061a1b0ee12ae83299d98c249ee2cac998af7f889b9162",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hughjonesd/actions/runs/26152078235"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-05-20T08:58:28.000Z",
      "commit": "ef97b06623b2a07b9ae5cb7ddb16f35993786578",
      "fileid": "221acda6738ea399885f6b3eeb7700b76cf9a75da8f285fb73db9d441a4b3a7b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hughjonesd/actions/runs/26152078235"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-05-20T08:58:18.000Z",
      "commit": "ef97b06623b2a07b9ae5cb7ddb16f35993786578",
      "fileid": "3370d5877ac4ad5d0ed848ee36aa9d03d955df49a9750e48ab7517c2fbf44423",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hughjonesd/actions/runs/26152078235"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-05-20T08:57:59.000Z",
      "commit": "ef97b06623b2a07b9ae5cb7ddb16f35993786578",
      "fileid": "13c275f57fec6b91a5eac293383e7e5bfb54564ce93a70c074c815eec56d8d94",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hughjonesd/actions/runs/26152078235"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-05-20T08:58:15.000Z",
      "commit": "ef97b06623b2a07b9ae5cb7ddb16f35993786578",
      "fileid": "dfd14574a9c21d6e8e65fe3009af29c57d917892ed57bfdce5c86a3df4ffbea0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hughjonesd/actions/runs/26152078235"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0",
      "date": "2026-06-02T13:30:24.000Z",
      "commit": "ef97b06623b2a07b9ae5cb7ddb16f35993786578",
      "fileid": "fecd87cd3adf6b71b4eb7e2cd8a97d0a61a6c22813afa5408b19fedf5d41fd36",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hughjonesd/actions/runs/26152078235"
    }
  ]
}