{
  "_id": "6acac13bfe5cc25786e8bd0f",
  "Package": "mockr",
  "Title": "Mocking in R",
  "Version": "0.2.2.9024",
  "Date": "2026-10-10",
  "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.1.1.9000",
  "Repository": "https://cynkra.r-universe.dev",
  "Date/Publication": "2026-10-10 21:52:56 UTC",
  "RemoteUrl": "https://github.com/krlmlr/mockr",
  "RemoteRef": "HEAD",
  "RemoteSha": "af093f8a1d2127112548c5aa82f49a9d9e28a134",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-10 22:47:19 UTC",
    "User": "root"
  },
  "Author": "Kirill Müller [aut, cre]",
  "Maintainer": "Kirill Müller <kirill@cynkra.com>",
  "_user": "cynkra",
  "_type": "src",
  "_file": "mockr_0.2.2.9024.tar.gz",
  "_fileid": "https://r2.ropensci.org/9c5573a58a14547e9571bfee07e75d4255614b2b23daea19d64dd6f253ec59bd",
  "_filesize": 103806,
  "_sha256": "9c5573a58a14547e9571bfee07e75d4255614b2b23daea19d64dd6f253ec59bd",
  "_expires": "2027-01-18T22:50:33.000Z",
  "_created": "2026-10-10T22:47:19.000Z",
  "_published": "2026-10-10T22:50:35.440Z",
  "_buildurl": "https://github.com/r-universe/cynkra/actions/runs/38092512415",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114332333389,
      "time": 115,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11684358769"
    },
    {
      "job": 114332333438,
      "time": 112,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11684985788"
    },
    {
      "job": 114332333381,
      "time": 92,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11685095580"
    },
    {
      "job": 114332333498,
      "time": 89,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11684438457"
    },
    {
      "job": 114331715416,
      "time": 210,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11684870841"
    },
    {
      "job": 114332333355,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11684408532"
    },
    {
      "job": 114332333419,
      "time": 61,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11684303684"
    },
    {
      "job": 114332333484,
      "time": 66,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11684573212"
    },
    {
      "job": 114332333425,
      "time": 70,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11684985745"
    }
  ],
  "_upstream": "https://github.com/krlmlr/mockr",
  "_commit": {
    "id": "af093f8a1d2127112548c5aa82f49a9d9e28a134",
    "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.9024 (#115)\n\nCo-authored-by: krlmlr <krlmlr@users.noreply.github.com>",
    "time": 1791669176
  },
  "_maintainer": {
    "name": "Kirill Müller",
    "email": "kirill@cynkra.com",
    "login": "krlmlr",
    "description": "Away from most OSS work until September 2026.",
    "uuid": 1741643
  },
  "_distro": "resolute",
  "_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-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
    },
    {
      "week": "2026-25",
      "n": 1
    },
    {
      "week": "2026-30",
      "n": 7
    },
    {
      "week": "2026-31",
      "n": 4
    },
    {
      "week": "2026-32",
      "n": 14
    },
    {
      "week": "2026-36",
      "n": 2
    },
    {
      "week": "2026-37",
      "n": 13
    },
    {
      "week": "2026-39",
      "n": 15
    },
    {
      "week": "2026-40",
      "n": 2
    },
    {
      "week": "2026-41",
      "n": 2
    }
  ],
  "_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"
    },
    {
      "name": "v0.2.2.9011",
      "date": "2026-07-22"
    },
    {
      "name": "v0.2.2.9012",
      "date": "2026-07-24"
    },
    {
      "name": "v0.2.2.9013",
      "date": "2026-07-25"
    },
    {
      "name": "v0.2.2.9014",
      "date": "2026-07-28"
    },
    {
      "name": "v0.2.2.9015",
      "date": "2026-08-05"
    },
    {
      "name": "v0.2.2.9016",
      "date": "2026-08-06"
    },
    {
      "name": "v0.2.2.9017",
      "date": "2026-08-08"
    },
    {
      "name": "v0.2.2.9018",
      "date": "2026-09-05"
    },
    {
      "name": "v0.2.2.9019",
      "date": "2026-09-13"
    },
    {
      "name": "v0.2.2.9020",
      "date": "2026-09-13"
    },
    {
      "name": "v0.2.2.9021",
      "date": "2026-09-26"
    },
    {
      "name": "v0.2.2.9022",
      "date": "2026-09-26"
    },
    {
      "name": "v0.2.2.9023",
      "date": "2026-09-28"
    },
    {
      "name": "v0.2.2.9024",
      "date": "2026-10-10"
    }
  ],
  "_stars": 19,
  "_contributors": [
    {
      "user": "krlmlr",
      "count": 404,
      "uuid": 1741643
    },
    {
      "user": "indrajeetpatil",
      "count": 8,
      "uuid": 11330453
    },
    {
      "user": "claude",
      "count": 2,
      "uuid": 81847
    },
    {
      "user": "yutannihilation",
      "count": 1,
      "uuid": 1978793
    }
  ],
  "_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": 20140,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mockr"
  },
  "_devurl": "https://github.com/krlmlr/mockr",
  "_pkgdown": "https://krlmlr.github.io/mockr/",
  "_searchresults": 46,
  "_metadata": {
    "category": "Development",
    "cynkra_team_members": "kirill"
  },
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/mockr.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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": "2026-09-26 14:54:51",
      "commits": 4
    }
  ],
  "_score": 8.700415758860512,
  "_indexed": false,
  "_nocasepkg": "mockr",
  "_universes": [
    "cynkra"
  ],
  "_previous": "0.2.2.9023",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2.9024",
      "date": "2026-10-10T22:49:19.000Z",
      "distro": "resolute",
      "commit": "af093f8a1d2127112548c5aa82f49a9d9e28a134",
      "fileid": "https://r2.ropensci.org/3d0213661ff271a10b5e9ce0733206f056e14af55399395a7359e86e8a094825",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/38092512415"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.2.9024",
      "date": "2026-10-10T22:49:19.000Z",
      "distro": "resolute",
      "commit": "af093f8a1d2127112548c5aa82f49a9d9e28a134",
      "fileid": "https://r2.ropensci.org/f53d46a1ab3317b0c063e9c43c14b6ce3ab92b093efff37a79657e7ab9f812a4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/38092512415"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2.9024",
      "date": "2026-10-10T22:49:10.000Z",
      "commit": "af093f8a1d2127112548c5aa82f49a9d9e28a134",
      "fileid": "https://r2.ropensci.org/19534da8ab9ae276cbf12f5f639fd30b91b38361a01b6abf0e6d686295f934bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/38092512415"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.2.9024",
      "date": "2026-10-10T22:49:59.000Z",
      "commit": "af093f8a1d2127112548c5aa82f49a9d9e28a134",
      "fileid": "https://r2.ropensci.org/ec6591d5655357b556eefbc4a605e16bcf4855ab35ba1c523daba4ef482235bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/38092512415"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.2.9024",
      "date": "2026-10-10T22:49:22.000Z",
      "commit": "af093f8a1d2127112548c5aa82f49a9d9e28a134",
      "fileid": "https://r2.ropensci.org/2480f4955d92e9fd2ca9ef687bb61ca9452894a2601970484844bed61a74bd33",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/38092512415"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2.9024",
      "date": "2026-10-10T22:48:39.000Z",
      "commit": "af093f8a1d2127112548c5aa82f49a9d9e28a134",
      "fileid": "https://r2.ropensci.org/166c0abc5e656f1132fbe273da21154f3a00b45a871c6b2e0e4be465ff2ed80d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/38092512415"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.2.9024",
      "date": "2026-10-10T22:48:30.000Z",
      "commit": "af093f8a1d2127112548c5aa82f49a9d9e28a134",
      "fileid": "https://r2.ropensci.org/4bfae42150d155692a9f110b134c6ccc974223850f13c6f4d62b11dc81ad86ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/38092512415"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.2.9024",
      "date": "2026-10-10T22:48:31.000Z",
      "commit": "af093f8a1d2127112548c5aa82f49a9d9e28a134",
      "fileid": "https://r2.ropensci.org/d157523eff2184a38dc723d59b4ec41dfb76bbe97935f960d78798695943d5be",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/38092512415"
    }
  ]
}