{
  "_id": "6a59703d09eb0996dd68c66b",
  "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)",
  "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-16 21:36:02 UTC",
  "RemoteUrl": "https://github.com/PRL-PRG/genthat",
  "RemoteRef": "HEAD",
  "RemoteSha": "ef596822f40016fe29646f736b7fb24b783e8517",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-16 23:53:35 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/ce34f17be3f9fd32edd1967f779f976e692111c88c6275363c4cd309460f932f",
  "_filesize": 173319,
  "_sha256": "ce34f17be3f9fd32edd1967f779f976e692111c88c6275363c4cd309460f932f",
  "_expires": "2026-10-24T23:58:51.000Z",
  "_created": "2026-07-16T23:53:35.000Z",
  "_published": "2026-07-16T23:58:53.610Z",
  "_jobs": [
    {
      "job": 87769793878,
      "time": 163,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8393044938"
    },
    {
      "job": 87769793856,
      "time": 166,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8393044734"
    },
    {
      "job": 87769793884,
      "time": 187,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8393050266"
    },
    {
      "job": 87769793894,
      "time": 226,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8393059077"
    },
    {
      "job": 87769793883,
      "time": 114,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8393031617"
    },
    {
      "job": 87769793879,
      "time": 273,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8393070461"
    },
    {
      "job": 87769793853,
      "time": 105,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8393029550"
    },
    {
      "job": 87769793858,
      "time": 209,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8393055224"
    },
    {
      "job": 87769059664,
      "time": 295,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8393004245"
    },
    {
      "job": 87769793829,
      "time": 143,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8393039499"
    },
    {
      "job": 87769793847,
      "time": 126,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8393035227"
    },
    {
      "job": 87769793868,
      "time": 118,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8393032940"
    },
    {
      "job": 87769793855,
      "time": 127,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8393035012"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/prl-prg/actions/runs/29543025445",
  "_status": "success",
  "_upstream": "https://github.com/PRL-PRG/genthat",
  "_commit": {
    "id": "ef596822f40016fe29646f736b7fb24b783e8517",
    "author": "Pierre Donat-Bouillud <pierre.donat.bouillud@gmail.com>",
    "committer": "Pierre Donat-Bouillud <pierre.donat.bouillud@gmail.com>",
    "message": "Fix for Windows: parsing paths with \\U\n",
    "time": 1784237762
  },
  "_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": 10
    }
  ],
  "_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": 10,
      "uuid": 382128
    }
  ],
  "_userbio": {
    "uuid": 22217634,
    "type": "organization",
    "name": "PRL-PRG",
    "followers": 7
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/genthat"
  },
  "_devurl": "https://github.com/prl-prg/genthat",
  "_searchresults": 17,
  "_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/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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.212720154417843,
  "_indexed": true,
  "_nocasepkg": "genthat",
  "_universes": [
    "prl-prg",
    "fikovnik"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.8",
      "date": "2026-07-16T23:56:20.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "ef596822f40016fe29646f736b7fb24b783e8517",
      "fileid": "https://r2.ropensci.org/6a88e26a5c0569fc1c2e587ae2051b7611a45008a58d26a6dc538cf224af0d00",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/prl-prg/actions/runs/29543025445"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.8",
      "date": "2026-07-16T23:56:12.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "ef596822f40016fe29646f736b7fb24b783e8517",
      "fileid": "https://r2.ropensci.org/c5bd376dcb98c68c4cb1df5a9a56bfb7fa09149d74ddcd2ddc8611fcb84be186",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/prl-prg/actions/runs/29543025445"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.8",
      "date": "2026-07-16T23:56:39.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "ef596822f40016fe29646f736b7fb24b783e8517",
      "fileid": "https://r2.ropensci.org/6b42b90c4a8656c7856818115e3e1496070ba0b3d585b9fb84c1f8580c35a4fe",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/prl-prg/actions/runs/29543025445"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.8",
      "date": "2026-07-16T23:57:09.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "ef596822f40016fe29646f736b7fb24b783e8517",
      "fileid": "https://r2.ropensci.org/4951f6d30e4ea96fb390b1a9121a2304f51bfabbcb05c170b3af74782c447b46",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/prl-prg/actions/runs/29543025445"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.8",
      "date": "2026-07-16T23:55:22.000Z",
      "arch": "aarch64",
      "commit": "ef596822f40016fe29646f736b7fb24b783e8517",
      "fileid": "https://r2.ropensci.org/89cd56fcce078d946c83a46a9a227357575089e2696140b9156e9033c3919686",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/prl-prg/actions/runs/29543025445"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.8",
      "date": "2026-07-16T23:57:15.000Z",
      "arch": "x86_64",
      "commit": "ef596822f40016fe29646f736b7fb24b783e8517",
      "fileid": "https://r2.ropensci.org/f7afb16d6ab907f9e793535dc281000283418fb48bb4d23ec2db73dfb8204940",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/prl-prg/actions/runs/29543025445"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.8",
      "date": "2026-07-16T23:55:30.000Z",
      "arch": "aarch64",
      "commit": "ef596822f40016fe29646f736b7fb24b783e8517",
      "fileid": "https://r2.ropensci.org/b48f2d9e0a5168ef04479ef7b24c255e743d6be44e13bb489709b156db3e1cac",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/prl-prg/actions/runs/29543025445"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.8",
      "date": "2026-07-16T23:56:32.000Z",
      "arch": "x86_64",
      "commit": "ef596822f40016fe29646f736b7fb24b783e8517",
      "fileid": "https://r2.ropensci.org/9e98d2455837dadfa55693548d7bc856a587b1ef51b14be3e5bb4f2bc8c7f357",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/prl-prg/actions/runs/29543025445"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.8",
      "date": "2026-07-16T23:56:13.000Z",
      "arch": "emscripten",
      "commit": "ef596822f40016fe29646f736b7fb24b783e8517",
      "fileid": "https://r2.ropensci.org/21b239eb9f78d0cd006cef75469fd2c8b10bf925e87ba8f612b7a34094e693e5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/prl-prg/actions/runs/29543025445"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-07-16T23:55:04.000Z",
      "arch": "x86_64",
      "commit": "ef596822f40016fe29646f736b7fb24b783e8517",
      "fileid": "https://r2.ropensci.org/5ad268843e8a4451a0e892cc6ae15a918b3ca3643d6107345831d4e70bd0594e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/prl-prg/actions/runs/29543025445"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-07-16T23:54:56.000Z",
      "arch": "x86_64",
      "commit": "ef596822f40016fe29646f736b7fb24b783e8517",
      "fileid": "https://r2.ropensci.org/9414e419487ed8d74b8f2118c83cc203082736cb7834b462560fdf19ac668b61",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/prl-prg/actions/runs/29543025445"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.8",
      "date": "2026-07-16T23:55:02.000Z",
      "arch": "x86_64",
      "commit": "ef596822f40016fe29646f736b7fb24b783e8517",
      "fileid": "https://r2.ropensci.org/410279c3a7155c908e0aa4d9b187d829ed8b3965b74f462fa0180ba04de4d887",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/prl-prg/actions/runs/29543025445"
    }
  ]
}