{
  "_id": "6af42628535793c85332770b",
  "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://cynkra.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-11-11 08:18:49 UTC",
    "User": "root"
  },
  "Author": "Nicolas Bennett [aut, cre]",
  "Maintainer": "Nicolas Bennett <nicolas.bennett@stat.math.ethz.ch>",
  "_user": "cynkra",
  "_type": "src",
  "_file": "mockthat_0.2.8.tar.gz",
  "_fileid": "https://r2.ropensci.org/eaa1e2170bd26de118d619702c451622be02ec048c219b7cccbb373db356b617",
  "_filesize": 100778,
  "_sha256": "eaa1e2170bd26de118d619702c451622be02ec048c219b7cccbb373db356b617",
  "_expires": "2027-02-19T08:24:07.000Z",
  "_created": "2026-11-11T08:18:49.000Z",
  "_published": "2026-11-11T08:24:08.759Z",
  "_upstream": "https://github.com/nbenn/mockthat",
  "_status": "success",
  "_maintainer": {
    "name": "Nicolas Bennett",
    "email": "nicolas.bennett@stat.math.ethz.ch",
    "login": "nbenn",
    "description": "",
    "uuid": 3158446
  },
  "_jobs": [
    {
      "job": 130407416288,
      "time": 102,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13839622854"
    },
    {
      "job": 130407416382,
      "time": 92,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13839762014"
    },
    {
      "job": 130407416370,
      "time": 90,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13840031447"
    },
    {
      "job": 130407416230,
      "time": 97,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13839628004"
    },
    {
      "job": 130406322567,
      "time": 156,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13839397493"
    },
    {
      "job": 130407416350,
      "time": 78,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13839023521"
    },
    {
      "job": 130407416295,
      "time": 60,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13839492951"
    },
    {
      "job": 130407416306,
      "time": 50,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13839382551"
    },
    {
      "job": 130407416309,
      "time": 61,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13839537813"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cynkra/actions/runs/42985697730",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 14,
  "_contributors": [
    {
      "user": "nbenn",
      "count": 60,
      "uuid": 3158446
    },
    {
      "user": "zbjornson",
      "count": 1,
      "uuid": 469365
    }
  ],
  "_userbio": {
    "uuid": 38209788,
    "type": "organization",
    "name": "cynkra",
    "followers": 126,
    "description": "We support your business and the people behind it by helping you pick the right tools, implementing and supporting solutions, training and code review."
  },
  "_downloads": {
    "count": 551,
    "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,
  "_metadata": {
    "category": "Development",
    "cynkra_team_members": "nicolas"
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/mockthat.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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": false,
  "_nocasepkg": "mockthat",
  "_universes": [
    "cynkra"
  ],
  "_indexurl": "https://nbenn.r-universe.dev/mockthat",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.8",
      "date": "2026-11-11T08:20:36.000Z",
      "distro": "resolute",
      "commit": "4a070bfd39fbc3f7a996ea9ee34b7f1409e8d4b2",
      "fileid": "https://r2.ropensci.org/b7d30a3b505a0b19814b54bf419f25e292f227b68aa5cb7eff2983a0848d87b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/42985697730"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.2.8",
      "date": "2026-11-11T08:20:30.000Z",
      "distro": "resolute",
      "commit": "4a070bfd39fbc3f7a996ea9ee34b7f1409e8d4b2",
      "fileid": "https://r2.ropensci.org/844795e2cff1091121bdcffecedae501d76935a5541a100d04406a0e695130e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/42985697730"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.8",
      "date": "2026-11-11T08:23:36.000Z",
      "commit": "4a070bfd39fbc3f7a996ea9ee34b7f1409e8d4b2",
      "fileid": "https://r2.ropensci.org/72f31acfaac4255b6df1834484363ad6ab84d52147e57783738987edeb7aef12",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/42985697730"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.2.8",
      "date": "2026-11-11T08:22:11.000Z",
      "commit": "4a070bfd39fbc3f7a996ea9ee34b7f1409e8d4b2",
      "fileid": "https://r2.ropensci.org/47ab5caebc2c51d215009a6a494a1173d896704eaec7fe4880513a11c0cd7ba7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/42985697730"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.8",
      "date": "2026-11-11T08:20:22.000Z",
      "commit": "4a070bfd39fbc3f7a996ea9ee34b7f1409e8d4b2",
      "fileid": "https://r2.ropensci.org/bd91a6ebcabffdf7eb1ec98cca8c3ec624a01635bbb318cc85b31724a5359249",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/42985697730"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.8",
      "date": "2026-11-11T08:19:49.000Z",
      "commit": "4a070bfd39fbc3f7a996ea9ee34b7f1409e8d4b2",
      "fileid": "https://r2.ropensci.org/bc9c2f6b8b46df18a7b499814ed92ac466bade8875e8be7c342f4ee6c361ea99",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/42985697730"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.8",
      "date": "2026-11-11T08:19:44.000Z",
      "commit": "4a070bfd39fbc3f7a996ea9ee34b7f1409e8d4b2",
      "fileid": "https://r2.ropensci.org/7c39e2468b0fa87635755337dc4ef02737a61f3c16dbfeb67ad686276e81a6f2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/42985697730"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.2.8",
      "date": "2026-11-11T08:19:50.000Z",
      "commit": "4a070bfd39fbc3f7a996ea9ee34b7f1409e8d4b2",
      "fileid": "https://r2.ropensci.org/befc672f0917b20fc4816d6b679bd1aeed903e4c176b97e8ff34105919a1a61e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/42985697730"
    }
  ]
}