{
  "_id": "6a3a1f486265ec60d61fe4fc",
  "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-06-23 05:49:22 UTC",
    "User": "root"
  },
  "Author": "Kirill Müller [aut, cre]",
  "Maintainer": "Kirill Müller <kirill@cynkra.com>",
  "MD5sum": "7b9c93f6fe34461717e1684de4a001b4",
  "_user": "cynkra",
  "_type": "src",
  "_file": "mockr_0.2.2.9010.tar.gz",
  "_fileid": "9924c238d177a9dc936acb4e664dbcb3d0709ed128ae41580f665455efda347e",
  "_filesize": 101028,
  "_sha256": "9924c238d177a9dc936acb4e664dbcb3d0709ed128ae41580f665455efda347e",
  "_created": "2026-06-23T05:49:22.000Z",
  "_published": "2026-06-23T05:53:12.468Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82885727080,
      "time": 123,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7812517724"
    },
    {
      "job": 82885727075,
      "time": 203,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7812535092"
    },
    {
      "job": 82885727050,
      "time": 95,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7812511643"
    },
    {
      "job": 82885727079,
      "time": 67,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7812504851"
    },
    {
      "job": 82885438433,
      "time": 148,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7812488550"
    },
    {
      "job": 82885727042,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7812513311"
    },
    {
      "job": 82885727074,
      "time": 98,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7812512425"
    },
    {
      "job": 82885727077,
      "time": 75,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7812506635"
    },
    {
      "job": 82885727088,
      "time": 73,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7812506285"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cynkra/actions/runs/28005140903",
  "_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",
    "followers": 123,
    "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": 26442,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mockr"
  },
  "_devurl": "https://github.com/krlmlr/mockr",
  "_pkgdown": "https://krlmlr.github.io/mockr/",
  "_searchresults": 45,
  "_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",
    "LICENSE",
    "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.444722672079049,
  "_indexed": false,
  "_nocasepkg": "mockr",
  "_universes": [
    "cynkra"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2.9010",
      "date": "2026-06-23T05:51:25.000Z",
      "distro": "noble",
      "commit": "e063f6bcb450419368569d3d27ec2e6218fd6958",
      "fileid": "c65b61ea06869d7bd7ae2d9403753e931b7f8821e68608d0d2da36d6086394a0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/28005140903"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.2.9010",
      "date": "2026-06-23T05:52:44.000Z",
      "distro": "noble",
      "commit": "e063f6bcb450419368569d3d27ec2e6218fd6958",
      "fileid": "bac072987e8d8795ad79f11e631a787a18094ba0a145fc92022e858a03adec90",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/28005140903"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2.9010",
      "date": "2026-06-23T05:51:01.000Z",
      "commit": "e063f6bcb450419368569d3d27ec2e6218fd6958",
      "fileid": "4e6587f617c596468d50d7bd76755ab6cda82f2dfb03139cd0e0e428e5ba8da7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/28005140903"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.2.9010",
      "date": "2026-06-23T05:50:34.000Z",
      "commit": "e063f6bcb450419368569d3d27ec2e6218fd6958",
      "fileid": "47559228611c1be35383c1bd71ad2193eb7fea5617bf33cfd9201de61d34ae80",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/28005140903"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.2.9010",
      "date": "2026-06-23T05:51:17.000Z",
      "commit": "e063f6bcb450419368569d3d27ec2e6218fd6958",
      "fileid": "4d5a7e589bc98ef4dc4f0c9f1d512b52108780a2a4cd51e0e0b2745b487b141b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/28005140903"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2.9010",
      "date": "2026-06-23T05:50:46.000Z",
      "commit": "e063f6bcb450419368569d3d27ec2e6218fd6958",
      "fileid": "a1c45f01ec844afd450e29d1c82b7d6198cc70b21200a6a3c5e7ef841a94ca75",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/28005140903"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.2.9010",
      "date": "2026-06-23T05:50:33.000Z",
      "commit": "e063f6bcb450419368569d3d27ec2e6218fd6958",
      "fileid": "d633344b5bef0eb4110ea3302d1ed151420f8f91b47b95746e0cf0734e159c2a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/28005140903"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.2.9010",
      "date": "2026-06-23T05:50:31.000Z",
      "commit": "e063f6bcb450419368569d3d27ec2e6218fd6958",
      "fileid": "b681db3177f74a0039251e96d8110b05e8a335a3ac26d9b3815731c8aee9fba1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/28005140903"
    }
  ]
}