{
  "_id": "6a10a94eacfb0bcc41cbea0c",
  "Package": "mockthat",
  "Title": "Function Mocking for Unit Testing",
  "Version": "0.2.8",
  "Authors@R": "person(given = \"Nicolas\",\nfamily = \"Bennett\",\nrole = c(\"aut\", \"cre\"),\nemail = \"nicolas.bennett@stat.math.ethz.ch\")",
  "Description": "With the deprecation of mocking capabilities shipped with\n'testthat' as of 'edition 3' it is left to third-party packages\nto replace this functionality, which in some test-scenarios is\nessential in order to run unit tests in limited environments\n(such as no Internet connection). Mocking in this setting means\ntemporarily substituting a function with a stub that acts in\nsome sense like the original function (for example by serving a\nHTTP response that has been cached as a file). The only\nexported function 'with_mock()' is modeled after the eponymous\n'testthat' function with the intention of providing a drop-in\nreplacement.",
  "License": "MIT + file LICENSE",
  "URL": "https://nbenn.github.io/mockthat/",
  "BugReports": "https://github.com/nbenn/mockthat/issues",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.1",
  "Repository": "https://nbenn.r-universe.dev",
  "Date/Publication": "2022-10-31 13:04:50 UTC",
  "RemoteUrl": "https://github.com/nbenn/mockthat",
  "RemoteRef": "HEAD",
  "RemoteSha": "4a070bfd39fbc3f7a996ea9ee34b7f1409e8d4b2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-22 18:52:18 UTC",
    "User": "root"
  },
  "Author": "Nicolas Bennett [aut, cre]",
  "Maintainer": "Nicolas Bennett <nicolas.bennett@stat.math.ethz.ch>",
  "MD5sum": "0ea5f8d3bf20052600c95c4deb481c99",
  "_user": "nbenn",
  "_type": "src",
  "_file": "mockthat_0.2.8.tar.gz",
  "_fileid": "89f8daea9426dfa07a81ac4e2fda6c0a6e4d9a5c2bc3e48d55d310dc9796b2a2",
  "_filesize": 99114,
  "_sha256": "89f8daea9426dfa07a81ac4e2fda6c0a6e4d9a5c2bc3e48d55d310dc9796b2a2",
  "_created": "2026-05-22T18:52:18.000Z",
  "_published": "2026-05-22T19:06:54.124Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77443330785,
      "time": 125,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7168180525"
    },
    {
      "job": 77443330766,
      "time": 94,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7168171597"
    },
    {
      "job": 77443330751,
      "time": 141,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7168271150"
    },
    {
      "job": 77443330755,
      "time": 151,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7168319436"
    },
    {
      "job": 77442900296,
      "time": 127,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7168077445"
    },
    {
      "job": 77443330759,
      "time": 91,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7168170788"
    },
    {
      "job": 77443330743,
      "time": 74,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7168168692"
    },
    {
      "job": 77443330779,
      "time": 60,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7168165065"
    },
    {
      "job": 77443330767,
      "time": 74,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7168166693"
    }
  ],
  "_buildurl": "https://github.com/r-universe/nbenn/actions/runs/26276078282",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/nbenn/mockthat",
  "_commit": {
    "id": "4a070bfd39fbc3f7a996ea9ee34b7f1409e8d4b2",
    "author": "Nicolas Bennett <3158446+nbenn@users.noreply.github.com>",
    "committer": "Nicolas Bennett <3158446+nbenn@users.noreply.github.com>",
    "message": "fix cran feedback\n",
    "time": 1667221490
  },
  "_maintainer": {
    "name": "Nicolas Bennett",
    "email": "nicolas.bennett@stat.math.ethz.ch",
    "login": "nbenn",
    "description": "",
    "uuid": 3158446
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.3.0",
      "role": "Depends"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "pkgload",
      "role": "Suggests"
    },
    {
      "package": "curl",
      "role": "Suggests"
    },
    {
      "package": "jsonlite",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "nbenn",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 14,
  "_contributors": [
    {
      "user": "nbenn",
      "count": 60,
      "uuid": 3158446
    },
    {
      "user": "zbjornson",
      "count": 1,
      "uuid": 469365
    }
  ],
  "_userbio": {
    "uuid": 3158446,
    "type": "user",
    "name": "Nicolas Bennett"
  },
  "_downloads": {
    "count": 923,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mockthat"
  },
  "_devurl": "https://github.com/nbenn/mockthat",
  "_pkgdown": "https://nbenn.github.io/mockthat/",
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mockthat.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/nbenn/mockthat",
  "_realowner": "nbenn",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.4",
      "date": "2020-12-09"
    },
    {
      "version": "0.2.6",
      "date": "2021-04-23"
    },
    {
      "version": "0.2.8",
      "date": "2022-11-01"
    }
  ],
  "_exports": [
    "local_mock",
    "mock",
    "mock_arg",
    "mock_args",
    "mock_call",
    "mock_n_called",
    "with_mock"
  ],
  "_help": [
    {
      "page": "helpers",
      "title": "Mocking helper functions",
      "topics": [
        "mock",
        "mock_arg",
        "mock_args",
        "mock_call",
        "mock_n_called"
      ]
    },
    {
      "page": "mock",
      "title": "Mock functions in a package.",
      "topics": [
        "local_mock",
        "with_mock"
      ]
    }
  ],
  "_readme": "https://github.com/nbenn/mockthat/raw/HEAD/README.md",
  "_rundeps": [
    "rlang"
  ],
  "_score": 3.845098040014257,
  "_indexed": true,
  "_nocasepkg": "mockthat",
  "_universes": [
    "nbenn"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.8",
      "date": "2026-05-22T18:58:03.000Z",
      "distro": "noble",
      "commit": "4a070bfd39fbc3f7a996ea9ee34b7f1409e8d4b2",
      "fileid": "43963569c86ec90bcb95b574cb2c968bdd4244f9395cf2db01820ec4d4bf56d0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nbenn/actions/runs/26276078282"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.8",
      "date": "2026-05-22T18:57:35.000Z",
      "distro": "noble",
      "commit": "4a070bfd39fbc3f7a996ea9ee34b7f1409e8d4b2",
      "fileid": "c90d270519ebfc4def7b2572f2e0d2790a034eb515cad4170776309513ed77c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nbenn/actions/runs/26276078282"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.8",
      "date": "2026-05-22T19:03:17.000Z",
      "commit": "4a070bfd39fbc3f7a996ea9ee34b7f1409e8d4b2",
      "fileid": "ec6a4f6f2465407b73f1b34f758a6ee2fd116e615050f020288245e238374905",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nbenn/actions/runs/26276078282"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.8",
      "date": "2026-05-22T19:05:57.000Z",
      "commit": "4a070bfd39fbc3f7a996ea9ee34b7f1409e8d4b2",
      "fileid": "44116087003629bdb116b4f940f222a92659c7fd8f7d6d57ee6f89ef6d2078dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nbenn/actions/runs/26276078282"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.8",
      "date": "2026-05-22T18:57:41.000Z",
      "commit": "4a070bfd39fbc3f7a996ea9ee34b7f1409e8d4b2",
      "fileid": "144611f2b0ecdf90afd2aa959e2d22e6ae8645605912f0a3a2eb5230689aae0c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nbenn/actions/runs/26276078282"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.8",
      "date": "2026-05-22T18:57:18.000Z",
      "commit": "4a070bfd39fbc3f7a996ea9ee34b7f1409e8d4b2",
      "fileid": "e212fefff64659a0c6f3c6487ab7716ab46f3681f439cc88455d0b055b6957d0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nbenn/actions/runs/26276078282"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.8",
      "date": "2026-05-22T18:57:08.000Z",
      "commit": "4a070bfd39fbc3f7a996ea9ee34b7f1409e8d4b2",
      "fileid": "7fd112622b49e08052caf711ee5ee0f7b8e6353292189bb9b29ac9c0e4126750",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nbenn/actions/runs/26276078282"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.8",
      "date": "2026-05-22T18:57:14.000Z",
      "commit": "4a070bfd39fbc3f7a996ea9ee34b7f1409e8d4b2",
      "fileid": "2e74bfd00124875306ee3f8f0a2c9b985ce81dbabc6c1c1c43e9146d69443a40",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nbenn/actions/runs/26276078282"
    }
  ]
}