{
  "_id": "6ae093343d0f299392dcdc5c",
  "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-27 12:00:49 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/7f4b8a5524dc45f8d99aae93558843d5621556822ed9fa674da98d9d486b9916",
  "_filesize": 103816,
  "_sha256": "7f4b8a5524dc45f8d99aae93558843d5621556822ed9fa674da98d9d486b9916",
  "_expires": "2027-02-04T12:04:02.000Z",
  "_created": "2026-10-27T12:00:49.000Z",
  "_published": "2026-10-27T12:04:04.147Z",
  "_upstream": "https://github.com/krlmlr/mockr",
  "_status": "success",
  "_maintainer": {
    "name": "Kirill Müller",
    "email": "kirill@cynkra.com",
    "login": "krlmlr",
    "description": "",
    "uuid": 1741643
  },
  "_jobs": [
    {
      "job": 122176656173,
      "time": 113,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12732451965"
    },
    {
      "job": 122176656328,
      "time": 156,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12732611888"
    },
    {
      "job": 122176656237,
      "time": 110,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12732471971"
    },
    {
      "job": 122176656288,
      "time": 114,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12733730312"
    },
    {
      "job": 122175486168,
      "time": 162,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12732263790"
    },
    {
      "job": 122176657242,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12732269094"
    },
    {
      "job": 122176656223,
      "time": 77,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12732980558"
    },
    {
      "job": 122176656534,
      "time": 66,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12732916641"
    },
    {
      "job": 122176656274,
      "time": 79,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12731929578"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cynkra/actions/runs/40500105932",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 17418,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mockr"
  },
  "_devurl": "https://github.com/krlmlr/mockr",
  "_pkgdown": "https://krlmlr.github.io/mockr/",
  "_searchresults": 48,
  "_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.655837984552244,
  "_indexed": false,
  "_nocasepkg": "mockr",
  "_universes": [
    "cynkra"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2.9024",
      "date": "2026-10-27T12:02:45.000Z",
      "distro": "resolute",
      "commit": "af093f8a1d2127112548c5aa82f49a9d9e28a134",
      "fileid": "https://r2.ropensci.org/6d1361f516c477297899d65b80b872af5235521973e16cdcd943aeab62891bde",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/40500105932"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.2.9024",
      "date": "2026-10-27T12:03:28.000Z",
      "distro": "resolute",
      "commit": "af093f8a1d2127112548c5aa82f49a9d9e28a134",
      "fileid": "https://r2.ropensci.org/0e1e7df7a5a51ddb152ba71c8d16230850cef3a96d79aec0d0bc6800e62b94c3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/40500105932"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2.9024",
      "date": "2026-10-27T12:02:42.000Z",
      "commit": "af093f8a1d2127112548c5aa82f49a9d9e28a134",
      "fileid": "https://r2.ropensci.org/f2ae70136db0c7f7002fc07050062d1f4c56f32cd41fedf07f527db8e2724a6f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/40500105932"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.2.9024",
      "date": "2026-10-27T12:02:45.000Z",
      "commit": "af093f8a1d2127112548c5aa82f49a9d9e28a134",
      "fileid": "https://r2.ropensci.org/d9045e796dc6a779d6d1e6b758bbc4f712701f46b92dd50cc734a509b333b177",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/40500105932"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.2.9024",
      "date": "2026-10-27T12:02:50.000Z",
      "commit": "af093f8a1d2127112548c5aa82f49a9d9e28a134",
      "fileid": "https://r2.ropensci.org/165262e3ec4742631475aed205000da98b70181bc2976fe86bf9f2573496ca57",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/40500105932"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2.9024",
      "date": "2026-10-27T12:02:04.000Z",
      "commit": "af093f8a1d2127112548c5aa82f49a9d9e28a134",
      "fileid": "https://r2.ropensci.org/623d9652fe2ae92d026e32a084b077d8a71029394c88ba309c6af49af0582480",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/40500105932"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.2.9024",
      "date": "2026-10-27T12:01:58.000Z",
      "commit": "af093f8a1d2127112548c5aa82f49a9d9e28a134",
      "fileid": "https://r2.ropensci.org/3a0dff42a481a27e1677d6ca062b91988f69f9f72c633af64cb4eb7b8323bdbf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/40500105932"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.2.9024",
      "date": "2026-10-27T12:02:08.000Z",
      "commit": "af093f8a1d2127112548c5aa82f49a9d9e28a134",
      "fileid": "https://r2.ropensci.org/eb9a1b24980214c3f29f359aa3ad605c8d172a7af91e6326d159b7262f48da46",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cynkra/actions/runs/40500105932"
    }
  ]
}