{
  "_id": "6a126630acfb0bcc41d083a8",
  "Package": "mockr",
  "Title": "Mocking in R",
  "Version": "0.2.2.9010",
  "Date": "2026-05-24",
  "Authors@R": "person(given = \"Kirill\",\nfamily = \"M\\u00fcller\",\nrole = c(\"aut\", \"cre\"),\nemail = \"kirill@cynkra.com\")",
  "Description": "Provides a means to mock a package function, i.e.,\ntemporarily substitute it for testing. Designed as a drop-in\nreplacement for the now deprecated 'testthat::with_mock()' and\n'testthat::local_mock()'.",
  "License": "MIT + file LICENSE",
  "URL": "https://krlmlr.github.io/mockr/, https://github.com/krlmlr/mockr",
  "BugReports": "https://github.com/krlmlr/mockr/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.0.0.9000",
  "Repository": "https://cynkra.r-universe.dev",
  "Date/Publication": "2026-05-24 01:27:56 UTC",
  "RemoteUrl": "https://github.com/krlmlr/mockr",
  "RemoteRef": "HEAD",
  "RemoteSha": "e063f6bcb450419368569d3d27ec2e6218fd6958",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-24 02:42:28 UTC",
    "User": "root"
  },
  "Author": "Kirill Müller [aut, cre]",
  "Maintainer": "Kirill Müller <kirill@cynkra.com>",
  "MD5sum": "7880aacc62fa0a20dd6b62f981a01498",
  "_user": "cynkra",
  "_type": "src",
  "_file": "mockr_0.2.2.9010.tar.gz",
  "_fileid": "eeb33dc73da95dc3a3821343c82eed5bf2e11749f0fefcb6e61e3cbd14219dfd",
  "_filesize": 100751,
  "_sha256": "eeb33dc73da95dc3a3821343c82eed5bf2e11749f0fefcb6e61e3cbd14219dfd",
  "_created": "2026-05-24T02:42:28.000Z",
  "_published": "2026-05-24T02:45:04.528Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77566284225,
      "time": 120,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7181634114"
    },
    {
      "job": 77566284224,
      "time": 115,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7181633757"
    },
    {
      "job": 77566284229,
      "time": 83,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7181631924"
    },
    {
      "job": 77566284233,
      "time": 77,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7181631897"
    },
    {
      "job": 77566095890,
      "time": 241,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7181624467"
    },
    {
      "job": 77566284227,
      "time": 86,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7181631430"
    },
    {
      "job": 77566284245,
      "time": 65,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7181629892"
    },
    {
      "job": 77566284237,
      "time": 70,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7181630276"
    },
    {
      "job": 77566284236,
      "time": 98,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7181632443"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cynkra/actions/runs/26349874560",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/krlmlr/mockr",
  "_commit": {
    "id": "e063f6bcb450419368569d3d27ec2e6218fd6958",
    "author": "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "fledge: Bump version to 0.2.2.9010 (#90)\n\nCo-authored-by: krlmlr <krlmlr@users.noreply.github.com>",
    "time": 1779586076
  },
  "_maintainer": {
    "name": "Kirill Müller",
    "email": "kirill@cynkra.com",
    "login": "krlmlr",
    "description": "Away from most OSS work until September 2026.",
    "uuid": 1741643
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "fs",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "pkgload",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "usethis",
      "role": "Suggests"
    }
  ],
  "_owner": "krlmlr",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-31",
      "n": 1
    },
    {
      "week": "2025-32",
      "n": 1
    },
    {
      "week": "2025-36",
      "n": 2
    },
    {
      "week": "2025-45",
      "n": 2
    },
    {
      "week": "2025-46",
      "n": 4
    },
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2026-03",
      "n": 4
    },
    {
      "week": "2026-10",
      "n": 2
    },
    {
      "week": "2026-11",
      "n": 2
    },
    {
      "week": "2026-18",
      "n": 1
    },
    {
      "week": "2026-19",
      "n": 9
    },
    {
      "week": "2026-20",
      "n": 7
    },
    {
      "week": "2026-21",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v0.2.2.9000",
      "date": "2025-11-10"
    },
    {
      "name": "v0.2.2.9001",
      "date": "2025-11-12"
    },
    {
      "name": "v0.2.2.9002",
      "date": "2025-11-17"
    },
    {
      "name": "v0.2.2.9003",
      "date": "2026-01-14"
    },
    {
      "name": "v0.2.2.9004",
      "date": "2026-03-08"
    },
    {
      "name": "v0.2.2.9005",
      "date": "2026-03-12"
    },
    {
      "name": "v0.2.2.9006",
      "date": "2026-05-04"
    },
    {
      "name": "v0.2.2.9007",
      "date": "2026-05-06"
    },
    {
      "name": "v0.2.2.9008",
      "date": "2026-05-14"
    },
    {
      "name": "v0.2.2.9009",
      "date": "2026-05-16"
    },
    {
      "name": "v0.2.2.9010",
      "date": "2026-05-24"
    }
  ],
  "_stars": 18,
  "_contributors": [
    {
      "user": "krlmlr",
      "count": 361,
      "uuid": 1741643
    },
    {
      "user": "indrajeetpatil",
      "count": 8,
      "uuid": 11330453
    },
    {
      "user": "yutannihilation",
      "count": 1,
      "uuid": 1978793
    }
  ],
  "_userbio": {
    "uuid": 38209788,
    "type": "organization",
    "name": "cynkra",
    "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": 24940,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mockr"
  },
  "_devurl": "https://github.com/krlmlr/mockr",
  "_pkgdown": "https://krlmlr.github.io/mockr/",
  "_searchresults": 38,
  "_metadata": {
    "category": "Development",
    "cynkra_team_members": "kirill"
  },
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mockr.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/krlmlr/mockr",
  "_realowner": "krlmlr",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1",
      "date": "2017-04-29"
    },
    {
      "version": "0.2.0",
      "date": "2022-04-02"
    },
    {
      "version": "0.2.1",
      "date": "2023-02-01"
    },
    {
      "version": "0.2.2",
      "date": "2025-05-01"
    }
  ],
  "_exports": [
    "get_mock_env",
    "local_mock",
    "with_mock"
  ],
  "_help": [
    {
      "page": "get_mock_env",
      "title": "Get environment for mocking",
      "topics": [
        "get_mock_env"
      ]
    },
    {
      "page": "local_mock",
      "title": "Mock functions in a package",
      "topics": [
        "local_mock",
        "with_mock"
      ]
    }
  ],
  "_readme": "https://github.com/krlmlr/mockr/raw/HEAD/README.md",
  "_rundeps": [
    "rlang",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "mockr.Rmd",
      "filename": "mockr.html",
      "title": "Mocking with mockr",
      "engine": "knitr::rmarkdown",
      "headings": [
        "General idea",
        "Create demo package",
        "Import function",
        "Adding test with mock",
        "Run individual tests",
        "Write wrapper functions",
        "Mock S3 methods"
      ],
      "created": "2020-12-18 18:28:38",
      "modified": "2023-10-09 04:37:50",
      "commits": 3
    }
  ],
  "_score": 8.345895903169476,
  "_indexed": false,
  "_nocasepkg": "mockr",
  "_universes": [
    "cynkra"
  ],
  "_previous": "0.2.2.9009",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2.9010",
      "date": "2026-05-24T02:44:33.000Z",
      "distro": "noble",
      "commit": "e063f6bcb450419368569d3d27ec2e6218fd6958",
      "fileid": "9aa593274400dcaec9a1cceb63d6fdddd5412441764b75a14829537a80a642f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/26349874560"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.2.9010",
      "date": "2026-05-24T02:44:30.000Z",
      "distro": "noble",
      "commit": "e063f6bcb450419368569d3d27ec2e6218fd6958",
      "fileid": "7b6044a4b83306ebfed63979a87dd1b71094c2e67f422b5b9840bc111cc9d3d0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/26349874560"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2.9010",
      "date": "2026-05-24T02:44:07.000Z",
      "commit": "e063f6bcb450419368569d3d27ec2e6218fd6958",
      "fileid": "865b0007f0b1e12ec74fd0325e99ef0796a173113306cb1b3e90d868ad3be2fd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/26349874560"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.2.9010",
      "date": "2026-05-24T02:44:08.000Z",
      "commit": "e063f6bcb450419368569d3d27ec2e6218fd6958",
      "fileid": "cbef001fe58b1ca78c1cedff436b7ca692f0ee4b8c1d139e86ef2f51eb69fa00",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/26349874560"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.2.9010",
      "date": "2026-05-24T02:44:13.000Z",
      "commit": "e063f6bcb450419368569d3d27ec2e6218fd6958",
      "fileid": "3692d26a9ef1a217754e904bd33600e41eaf8b075d421f2cdd3605d0821e4617",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/26349874560"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2.9010",
      "date": "2026-05-24T02:43:37.000Z",
      "commit": "e063f6bcb450419368569d3d27ec2e6218fd6958",
      "fileid": "c3123aaef8816fbb9551a807974ad701c9208cac79239bfa93933233723270e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/26349874560"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.2.9010",
      "date": "2026-05-24T02:43:40.000Z",
      "commit": "e063f6bcb450419368569d3d27ec2e6218fd6958",
      "fileid": "02e823a20b1d9b788feed4f3de9e1733a1f4297f8d5adb0b839017eff3f89b65",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/26349874560"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.2.9010",
      "date": "2026-05-24T02:44:06.000Z",
      "commit": "e063f6bcb450419368569d3d27ec2e6218fd6958",
      "fileid": "520c5c47fc1a6cb90b7717232ac8c30098aee5fe606ed9648c5f129e9e9308c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/26349874560"
    }
  ]
}