{
  "_id": "6ae07d815d0f7c3164ef76cc",
  "Package": "doctest",
  "Type": "Package",
  "Title": "Generate Tests from Examples Using 'roxygen' and 'testthat'",
  "Version": "0.4.1",
  "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",
  "Config/testthat/edition": "3",
  "Roxygen": "list(markdown = TRUE)",
  "URL": "https://hughjonesd.github.io/doctest/",
  "BugReports": "https://github.com/hughjonesd/doctest/issues",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "cmake make libuv1-dev libxml2-dev",
  "Repository": "https://r-multiverse-staging.r-universe.dev",
  "Date/Publication": "2026-07-29 19:16:27 UTC",
  "RemoteUrl": "https://github.com/hughjonesd/doctest",
  "RemoteRef": "v0.4.1",
  "RemoteSha": "7c66bdbe6352d8339cf977f3a3d40d7c0af9a475",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-27 10:24:31 UTC",
    "User": "root"
  },
  "Author": "David Hugh-Jones [aut, cre]",
  "_user": "r-multiverse-staging",
  "_type": "src",
  "_file": "doctest_0.4.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/b6336b4facd4f1dc87c05c100806357451c1d0890f3dae2c5681fbaec11f4ff6",
  "_filesize": 154832,
  "_sha256": "b6336b4facd4f1dc87c05c100806357451c1d0890f3dae2c5681fbaec11f4ff6",
  "_expires": "2027-02-04T10:31:28.000Z",
  "_created": "2026-10-27T10:24:31.000Z",
  "_published": "2026-10-27T10:31:29.807Z",
  "_upstream": "https://github.com/hughjonesd/doctest",
  "_status": "success",
  "_maintainer": {
    "name": "David Hugh-Jones",
    "email": "davidhughjones@gmail.com",
    "login": "hughjonesd",
    "twitter": "@davidhughjones",
    "description": "Social scientist, R hacker",
    "uuid": 5818871
  },
  "_jobs": [
    {
      "job": 122135413094,
      "time": 387,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12726576402"
    },
    {
      "job": 122135413172,
      "time": 127,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12726486175"
    },
    {
      "job": 122135413101,
      "time": 98,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12725474461"
    },
    {
      "job": 122135413186,
      "time": 88,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12726460713"
    },
    {
      "job": 122133900652,
      "time": 202,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12726635331"
    },
    {
      "job": 122135413209,
      "time": 92,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12726595889"
    },
    {
      "job": 122135413127,
      "time": 304,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12726756173"
    },
    {
      "job": 122135413298,
      "time": 50,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12724954822"
    },
    {
      "job": 122135413349,
      "time": 73,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12726875080"
    }
  ],
  "_buildurl": "https://github.com/r-universe/r-multiverse-staging/actions/runs/40487759273",
  "_commit": {
    "id": "7c66bdbe6352d8339cf977f3a3d40d7c0af9a475",
    "author": "David Hugh-Jones <davidhughjones@gmail.com>",
    "committer": "David Hugh-Jones <davidhughjones@gmail.com>",
    "message": "Tweak cran-comments\n",
    "time": 1785352587
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-49",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 1
    },
    {
      "week": "2026-08",
      "n": 4
    },
    {
      "week": "2026-31",
      "n": 5
    }
  ],
  "_tags": [
    {
      "name": "v0.4.0",
      "date": "2026-02-19"
    },
    {
      "name": "v0.4.1",
      "date": "2026-07-29"
    }
  ],
  "_stars": 36,
  "_contributors": [
    {
      "user": "hughjonesd",
      "count": 167,
      "uuid": 5818871
    },
    {
      "user": "mlopez-ibanez",
      "count": 10,
      "uuid": 2620021
    },
    {
      "user": "copilot",
      "count": 3,
      "uuid": 198982749
    },
    {
      "user": "hadley",
      "count": 1,
      "uuid": 4196
    }
  ],
  "_userbio": {
    "uuid": 161461790,
    "type": "organization",
    "name": "R-multiverse",
    "followers": 38,
    "description": "A community-curated collection of R package releases, powered by R-universe"
  },
  "_downloads": {
    "count": 1586,
    "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.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/doctest.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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"
    },
    {
      "version": "0.4.1",
      "date": "2026-07-29"
    }
  ],
  "_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.1/README.md",
  "_rundeps": [
    "brew",
    "brio",
    "callr",
    "cli",
    "commonmark",
    "cpp11",
    "crayon",
    "desc",
    "diffobj",
    "evaluate",
    "fs",
    "glue",
    "highr",
    "jsonlite",
    "knitr",
    "lifecycle",
    "magrittr",
    "otel",
    "pkgbuild",
    "pkgload",
    "praise",
    "processx",
    "ps",
    "purrr",
    "R6",
    "rdtools",
    "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.835786929796497,
  "_indexed": false,
  "_nocasepkg": "doctest",
  "_universes": [
    "r-multiverse-staging"
  ],
  "_indexurl": "https://hughjonesd.r-universe.dev/doctest",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-10-27T10:30:55.000Z",
      "distro": "resolute",
      "commit": "7c66bdbe6352d8339cf977f3a3d40d7c0af9a475",
      "fileid": "https://r2.ropensci.org/4ea79bf7e1d777d95c9b92669e5ecc512bd2d4b235c992a723058e37ae5c9cbd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse-staging/actions/runs/40487759273"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-10-27T10:26:37.000Z",
      "distro": "resolute",
      "commit": "7c66bdbe6352d8339cf977f3a3d40d7c0af9a475",
      "fileid": "https://r2.ropensci.org/9db19a26d212d780c64b09454bed51a000c12d6a39beddd526fe9ecbbe5744f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse-staging/actions/runs/40487759273"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.1",
      "date": "2026-10-27T10:26:10.000Z",
      "commit": "7c66bdbe6352d8339cf977f3a3d40d7c0af9a475",
      "fileid": "https://r2.ropensci.org/2ca94141f069e3c432dfca30cf518441f7659efd49e12356cecd740219e01459",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse-staging/actions/runs/40487759273"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.1",
      "date": "2026-10-27T10:26:01.000Z",
      "commit": "7c66bdbe6352d8339cf977f3a3d40d7c0af9a475",
      "fileid": "https://r2.ropensci.org/568a498464eef01ba3a011728f54b9a24377b5ede0677bc984c789501394e850",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse-staging/actions/runs/40487759273"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.1",
      "date": "2026-10-27T10:26:19.000Z",
      "commit": "7c66bdbe6352d8339cf977f3a3d40d7c0af9a475",
      "fileid": "https://r2.ropensci.org/3d7b3700963e6867b8886449736dda988484835bd74ca420a30130108ddc8714",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-multiverse-staging/actions/runs/40487759273"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-10-27T10:29:31.000Z",
      "commit": "7c66bdbe6352d8339cf977f3a3d40d7c0af9a475",
      "fileid": "https://r2.ropensci.org/f8ec79357e2a625e66fd31f6f0adf5696b70b92470e15ec0057e23b8d64783ac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse-staging/actions/runs/40487759273"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-10-27T10:25:21.000Z",
      "commit": "7c66bdbe6352d8339cf977f3a3d40d7c0af9a475",
      "fileid": "https://r2.ropensci.org/f92a9889709eafe0374401dca9781c8293933c9f4c9602ce9a76f88a9e870b0d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse-staging/actions/runs/40487759273"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-10-27T10:25:37.000Z",
      "commit": "7c66bdbe6352d8339cf977f3a3d40d7c0af9a475",
      "fileid": "https://r2.ropensci.org/e1bc5a31601286736ca7378f6f566bebea1c2e3b46af5073cdded01c0dbed2a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse-staging/actions/runs/40487759273"
    }
  ]
}