{
  "_id": "6ac4f9f9f511ae58c09a3b28",
  "Package": "genthat",
  "Type": "Package",
  "Title": "A Framework for Unit Tests Generation",
  "Version": "0.1.8",
  "URL": "https://github.com/PRL-PRG/genthat",
  "BugReports": "https://github.com/PRL-PRG/genthat/issues",
  "Authors@R": "c(\nperson(\"Filip\", \"Krikava\", email=\"krikava@gmail.com\", role=c(\"aut\", \"cre\")),\nperson(\"Roman\", \"Tsegelskyi\", email=\"roman.tsegelskyi@gmail.com\", role=\"aut\"),\nperson(\"Petr\", \"Maj\", email=\"peta.maj82@gmail.com\", role=\"aut\"),\nperson(\"Filippo\", \"Ghibellini\", email=\"f.ghibellini@gmail.com\", role=\"ctb\"),\nperson(\"Michal\", \"Vacha\", email=\"michal.vacha@live.com\", role=\"ctb\"),\nperson(\"Lei\", \"Zhao\", email=\"leizhao833@gmail.com\", role=\"ctb\")\n)",
  "Description": "Generates 'testthat' compatible unit tests by tracing the\nexecution of runnable R code, recording the arguments and\nreturn values of function calls, and turning them into\nreproducible test cases.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "Remotes": [
    "PRL-PRG/mutator"
  ],
  "RoxygenNote": "6.0.1",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake make libuv1-dev libssl-dev",
  "Repository": "https://prl-prg.r-universe.dev",
  "Date/Publication": "2026-07-27 16:49:45 UTC",
  "RemoteUrl": "https://github.com/PRL-PRG/genthat",
  "RemoteRef": "HEAD",
  "RemoteSha": "bf55820fdd05684dffc7b51f1c7f010d6ea1c709",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-06 13:32:28 UTC",
    "User": "root"
  },
  "Author": "Filip Krikava [aut, cre],\nRoman Tsegelskyi [aut],\nPetr Maj [aut],\nFilippo Ghibellini [ctb],\nMichal Vacha [ctb],\nLei Zhao [ctb]",
  "Maintainer": "Filip Krikava <krikava@gmail.com>",
  "_user": "prl-prg",
  "_type": "src",
  "_file": "genthat_0.1.8.tar.gz",
  "_fileid": "https://r2.ropensci.org/a9138c8cf5915bc9b23362301a62c562cf2804ad94e2eea80782b97fae419aba",
  "_filesize": 173851,
  "_sha256": "a9138c8cf5915bc9b23362301a62c562cf2804ad94e2eea80782b97fae419aba",
  "_expires": "2027-01-14T13:39:03.000Z",
  "_created": "2026-10-06T13:32:28.000Z",
  "_published": "2026-10-06T13:39:05.137Z",
  "_jobs": [
    {
      "job": 112296430765,
      "time": 129,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11417432603"
    },
    {
      "job": 112296430637,
      "time": 171,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11417093670"
    },
    {
      "job": 112296430717,
      "time": 128,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11417207842"
    },
    {
      "job": 112296430807,
      "time": 178,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11417472786"
    },
    {
      "job": 112296430562,
      "time": 123,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11416683752"
    },
    {
      "job": 112296430666,
      "time": 350,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11417546921"
    },
    {
      "job": 112296430719,
      "time": 160,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11416938073"
    },
    {
      "job": 112296430626,
      "time": 329,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11416898464"
    },
    {
      "job": 112294260557,
      "time": 280,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11417407223"
    },
    {
      "job": 112296430450,
      "time": 116,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11416678091"
    },
    {
      "job": 112296430609,
      "time": 241,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11417473146"
    },
    {
      "job": 112296430568,
      "time": 169,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11417670129"
    },
    {
      "job": 112296430679,
      "time": 132,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11416304625"
    },
    {
      "job": 112296430957,
      "time": 256,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11417900319"
    },
    {
      "job": 112296430739,
      "time": 142,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11416543088"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/prl-prg/actions/runs/37470992696",
  "_status": "success",
  "_upstream": "https://github.com/PRL-PRG/genthat",
  "_commit": {
    "id": "bf55820fdd05684dffc7b51f1c7f010d6ea1c709",
    "author": "Pierre Donat-Bouillud <pierre.donat.bouillud@gmail.com>",
    "committer": "Pierre Donat-Bouillud <pierre.donat.bouillud@gmail.com>",
    "message": "Add the r-universe badge\n",
    "time": 1785170985
  },
  "_maintainer": {
    "name": "Filip Krikava",
    "email": "krikava@gmail.com",
    "login": "fikovnik",
    "description": "",
    "uuid": 374674
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "codetools",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Imports"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "formatR",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.11.3",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "readr",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "version": ">= 5.0.0",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    },
    {
      "package": "mutator",
      "role": "Suggests"
    }
  ],
  "_owner": "prl-prg",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-29",
      "n": 11
    },
    {
      "week": "2026-31",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 16,
  "_contributors": [
    {
      "user": "fikovnik",
      "count": 273,
      "uuid": 374674
    },
    {
      "user": "romantseg",
      "count": 211,
      "uuid": 3235379
    },
    {
      "user": "fghibellini",
      "count": 47,
      "uuid": 4848178
    },
    {
      "user": "petamaj",
      "count": 34,
      "uuid": 3908363
    },
    {
      "user": "leizhao833",
      "count": 21,
      "uuid": 2779399
    },
    {
      "user": "mvacha",
      "count": 18,
      "uuid": 2319571
    },
    {
      "user": "programlyrique",
      "count": 12,
      "uuid": 382128
    }
  ],
  "_userbio": {
    "uuid": 22217634,
    "type": "organization",
    "name": "PRL-PRG",
    "followers": 10
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/genthat"
  },
  "_devurl": "https://github.com/prl-prg/genthat",
  "_searchresults": 10,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/genthat.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_cranurl": false,
  "_exports": [
    "capture",
    "compute_coverage",
    "compute_tests_coverage",
    "copy_traces",
    "create_decorator",
    "create_sequence_tracer",
    "create_set_tracer",
    "create_tracer",
    "decorate_environment",
    "decorate_function",
    "disable_tracing",
    "download_package",
    "enable_tracing",
    "extract_package_code",
    "gen_from_package",
    "generate_test",
    "generate_test_file",
    "get_decorator",
    "get_package_version",
    "get_tracer",
    "is_debug_enabled",
    "is_decorated",
    "is_tracing_enabled",
    "process_traces",
    "reset_function",
    "reset_traces",
    "run_generated_test",
    "save_test",
    "set_decorator",
    "set_tracer",
    "store_trace",
    "test_generated_file",
    "trace_from_source_package",
    "trace_package",
    "with_env"
  ],
  "_help": [
    {
      "page": "Copy-call-traces",
      "title": "Creates a copy of traces captured so far and returns them as R list.",
      "topics": [
        "Copy call traces",
        "copy_traces"
      ]
    },
    {
      "page": "decorate_environment",
      "title": "Decorates functions in an environment",
      "topics": [
        "decorate_environment"
      ]
    },
    {
      "page": "decorate_function",
      "title": "Decorates given functions",
      "topics": [
        "decorate_function"
      ]
    },
    {
      "page": "download_package",
      "title": "Downloads R package",
      "topics": [
        "download_package"
      ]
    },
    {
      "page": "generate_test",
      "title": "Generate test case code from a trace",
      "topics": [
        "generate_test"
      ]
    },
    {
      "page": "generate_test_file",
      "title": "generate test from a trace",
      "topics": [
        "generate_test_file"
      ]
    },
    {
      "page": "genthat",
      "title": "genthat: A framework for unit tests generation",
      "topics": [
        "genthat-package",
        "genthat"
      ]
    },
    {
      "page": "get_package_version",
      "title": "Gets the latest package version",
      "topics": [
        "get_package_version"
      ]
    },
    {
      "page": "link_environments",
      "title": "Links the environments of the surrounding functions",
      "topics": [
        "link_environments"
      ]
    },
    {
      "page": "Reset-traces",
      "title": "Clears the captured traces",
      "topics": [
        "Reset traces",
        "reset_traces"
      ]
    },
    {
      "page": "reset_function",
      "title": "Resets decorated function back to its original",
      "topics": [
        "reset_function"
      ]
    },
    {
      "page": "Store-tracer",
      "title": "Stores given trace to the tracer",
      "topics": [
        "Store tracer",
        "store_trace"
      ]
    },
    {
      "page": "trace_package",
      "title": "Decorate all functions from given package and runs package code",
      "topics": [
        "trace_package"
      ]
    }
  ],
  "_readme": "https://github.com/PRL-PRG/genthat/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "brio",
    "callr",
    "cli",
    "codetools",
    "covr",
    "crayon",
    "curl",
    "desc",
    "diffobj",
    "digest",
    "dplyr",
    "evaluate",
    "formatR",
    "fs",
    "generics",
    "glue",
    "httr",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "mime",
    "openssl",
    "otel",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "pkgload",
    "praise",
    "processx",
    "ps",
    "R6",
    "Rcpp",
    "rex",
    "rlang",
    "rprojroot",
    "sys",
    "testthat",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "waldo",
    "withr",
    "yaml"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "basic-usage.Rmd",
      "filename": "basic-usage.html",
      "title": "testr - Basic Usage",
      "author": "Roman Tsegelskyi & Petr Maj",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Creating tests for the first time",
        "Adding regressions"
      ],
      "created": "2016-04-26 09:47:46",
      "modified": "2017-08-17 15:02:34",
      "commits": 9
    },
    {
      "source": "manual-use.Rmd",
      "filename": "manual-use.html",
      "title": "testr - Manual Usage",
      "author": "Roman Tsegelskyi & Petr Maj",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Capturing arbitrary code",
        "Capturing Functions",
        "Generating tests",
        "Shorthands",
        "Pruning the tests"
      ],
      "created": "2016-05-13 15:29:14",
      "modified": "2016-05-19 17:57:37",
      "commits": 3
    }
  ],
  "_score": 5.28330122870355,
  "_indexed": true,
  "_nocasepkg": "genthat",
  "_universes": [
    "prl-prg",
    "fikovnik"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.8",
      "date": "2026-10-06T13:34:34.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "bf55820fdd05684dffc7b51f1c7f010d6ea1c709",
      "fileid": "https://r2.ropensci.org/4096a26da750fd73ef4888ce63c029f34708b996e0ed1b2aad270ade7884828a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/prl-prg/actions/runs/37470992696"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.8",
      "date": "2026-10-06T13:35:02.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "bf55820fdd05684dffc7b51f1c7f010d6ea1c709",
      "fileid": "https://r2.ropensci.org/ba07114c3ebe0b69d055ef774092bc84243d9ba7f990dadb139de7ea07f86f6f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/prl-prg/actions/runs/37470992696"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.8",
      "date": "2026-10-06T13:35:04.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "bf55820fdd05684dffc7b51f1c7f010d6ea1c709",
      "fileid": "https://r2.ropensci.org/6610eb3c9b4e39fdb736deb420d9caac2420dca176615e6a9e2fb785873a2dc0",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/prl-prg/actions/runs/37470992696"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.8",
      "date": "2026-10-06T13:35:22.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "bf55820fdd05684dffc7b51f1c7f010d6ea1c709",
      "fileid": "https://r2.ropensci.org/1af158627909620925a9ad94703d48e6d50b814d09295fc2a778e07a6525c5da",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/prl-prg/actions/runs/37470992696"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.8",
      "date": "2026-10-06T13:34:23.000Z",
      "arch": "aarch64",
      "commit": "bf55820fdd05684dffc7b51f1c7f010d6ea1c709",
      "fileid": "https://r2.ropensci.org/cd8d03833a5c5ac44ae532e5e98fabc4acae342ede028e24beb01a5587ced76b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/prl-prg/actions/runs/37470992696"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.8",
      "date": "2026-10-06T13:37:06.000Z",
      "arch": "x86_64",
      "commit": "bf55820fdd05684dffc7b51f1c7f010d6ea1c709",
      "fileid": "https://r2.ropensci.org/adeb37a9f1d2ab320561eac41068e6f0b3864de57d58af7d2f058daa502459bb",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/prl-prg/actions/runs/37470992696"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.8",
      "date": "2026-10-06T13:34:41.000Z",
      "arch": "aarch64",
      "commit": "bf55820fdd05684dffc7b51f1c7f010d6ea1c709",
      "fileid": "https://r2.ropensci.org/531c67b3ac53016639d97edd2e0c3caaedbe0dee05a29c04fc93891081c5d211",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/prl-prg/actions/runs/37470992696"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.8",
      "date": "2026-10-06T13:36:57.000Z",
      "arch": "x86_64",
      "commit": "bf55820fdd05684dffc7b51f1c7f010d6ea1c709",
      "fileid": "https://r2.ropensci.org/ebe913a2bb5e39cece29927c419d69d34f90674de2ecd7abf03da658d1dbd040",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/prl-prg/actions/runs/37470992696"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.8",
      "date": "2026-10-06T13:34:42.000Z",
      "arch": "emscripten",
      "commit": "bf55820fdd05684dffc7b51f1c7f010d6ea1c709",
      "fileid": "https://r2.ropensci.org/427d289d8b9ba344cba30f93913bd25153ecaa61bb148506642e47f0c30e1112",
      "status": "success",
      "buildurl": "https://github.com/r-universe/prl-prg/actions/runs/37470992696"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-10-06T13:37:00.000Z",
      "arch": "aarch64",
      "commit": "bf55820fdd05684dffc7b51f1c7f010d6ea1c709",
      "fileid": "https://r2.ropensci.org/dc54bff72c8f74ed2f028d2ddd23e7b769c3029990eea4ae6bcca95e97f93181",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/prl-prg/actions/runs/37470992696"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-10-06T13:33:55.000Z",
      "arch": "x86_64",
      "commit": "bf55820fdd05684dffc7b51f1c7f010d6ea1c709",
      "fileid": "https://r2.ropensci.org/84f189de87ff3cfe790be45c716d34f57966f15221a3bc349b7e61c79f43c504",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/prl-prg/actions/runs/37470992696"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-10-06T13:33:57.000Z",
      "arch": "x86_64",
      "commit": "bf55820fdd05684dffc7b51f1c7f010d6ea1c709",
      "fileid": "https://r2.ropensci.org/a56c9fda9eda00f56e01322bc446905e3bd5fe3794388d1f57c676870b76855b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/prl-prg/actions/runs/37470992696"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-10-06T13:37:19.000Z",
      "arch": "aarch64",
      "commit": "bf55820fdd05684dffc7b51f1c7f010d6ea1c709",
      "fileid": "https://r2.ropensci.org/0c1819584857bd7f2f8fc0fba97c550246f721dbf1dfcbb9a11b2cdc5e5d9941",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/prl-prg/actions/runs/37470992696"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-10-06T13:34:04.000Z",
      "arch": "x86_64",
      "commit": "bf55820fdd05684dffc7b51f1c7f010d6ea1c709",
      "fileid": "https://r2.ropensci.org/914c9bb71639c539c3e1d4f121411d5a01a47d32dfca9f7fc39006f275535c9e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/prl-prg/actions/runs/37470992696"
    }
  ]
}