notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it''''''''s already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details
R-cran-mockr Mocking in R
0.2.2 devel on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.2.1Version of this port present on the latest quarterly branch.
Maintainer: einar@isnic.is search for ports maintained by this maintainer
Port Added: 2024-04-06 14:54:23
Last Update: 2025-05-02 12:33:17
Commit Hash: 0997795
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
License: MIT
WWW:
https://krlmlr.github.io/mockr/
Description:
Provides a means to mock a package function, i.e., temporarily substitute it for testing. Designed as a drop-in replacement for the now deprecated 'testthat::with_mock()' and 'testthat::local_mock()'.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (3 items)
Collapse this list.
  1. /usr/local/share/licenses/R-cran-mockr-0.2.2/catalog.mk
  2. /usr/local/share/licenses/R-cran-mockr-0.2.2/LICENSE
  3. /usr/local/share/licenses/R-cran-mockr-0.2.2/MIT
Collapse this list.
Dependency lines:
  • R-cran-mockr>0:devel/R-cran-mockr
To install the port:
cd /usr/ports/devel/R-cran-mockr/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/R-cran-mockr
  • pkg install R-cran-mockr
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: R-cran-mockr
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1746177422 SHA256 (mockr_0.2.2.tar.gz) = 08199520c6590e19307b5e6cbfa79fbdbe0ea6ecb690957f31222d4bf8d3792d SIZE (mockr_0.2.2.tar.gz) = 20929

Packages (timestamps in pop-ups are UTC):
R-cran-mockr
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.2.10.2.1-0.2.10.2.1---
FreeBSD:13:quarterly0.2.10.2.1-0.2.10.2.1---
FreeBSD:14:latest0.2.10.2.2-0.2.10.2.2---
FreeBSD:14:quarterly0.2.10.2.1-0.2.10.2.1---
FreeBSD:15:latest0.2.10.2.1n/a0.2.1n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. R-cran-rlang>0 : devel/R-cran-rlang
  2. R-cran-withr>0 : devel/R-cran-withr
  3. R : math/R
Test dependencies:
  1. R-cran-testthat>0 : devel/R-cran-testthat
Runtime dependencies:
  1. R-cran-rlang>0 : devel/R-cran-rlang
  2. R-cran-withr>0 : devel/R-cran-withr
  3. R : math/R
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_R-cran-mockr
USES:
cran:auto-plist
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (14 items)
Collapse this list.
  1. http://cran.utstat.utoronto.ca/src/contrib/
  2. http://cran.utstat.utoronto.ca/src/contrib/Archive/mockr/
  3. https://cloud.r-project.org/src/contrib/
  4. https://cloud.r-project.org/src/contrib/Archive/mockr/
  5. https://cran.csiro.au/src/contrib/
  6. https://cran.csiro.au/src/contrib/Archive/mockr/
  7. https://cran.ma.imperial.ac.uk/src/contrib/
  8. https://cran.ma.imperial.ac.uk/src/contrib/Archive/mockr/
  9. https://mirror.las.iastate.edu/CRAN/src/contrib/
  10. https://mirror.las.iastate.edu/CRAN/src/contrib/Archive/mockr/
  11. https://mirrors.tuna.tsinghua.edu.cn/CRAN/src/contrib/
  12. https://mirrors.tuna.tsinghua.edu.cn/CRAN/src/contrib/Archive/mockr/
  13. https://stat.ethz.ch/CRAN/src/contrib/
  14. https://stat.ethz.ch/CRAN/src/contrib/Archive/mockr/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.2.2
02 May 2025 12:33:17
commit hash: 09977955a74829e91c585165f87a00d28fc4f033commit hash: 09977955a74829e91c585165f87a00d28fc4f033commit hash: 09977955a74829e91c585165f87a00d28fc4f033commit hash: 09977955a74829e91c585165f87a00d28fc4f033 files touched by this commit
Nuno Teixeira (eduardo) search for other commits by this committer
Author: Einar Bjarni Halldórsson
devel/R-cran-mockr: Update to 0.2.2

- Relicensed as MIT from GPLv3
- Mark port with TESTING_UNSAFE

ChangeLog:	https://github.com/krlmlr/mockr/releases/tag/v0.2.2
PR:		286522
0.2.1
06 Apr 2024 14:42:37
commit hash: 7a0870824158bb1c47bd4ae12411c2261fe9bf3ccommit hash: 7a0870824158bb1c47bd4ae12411c2261fe9bf3ccommit hash: 7a0870824158bb1c47bd4ae12411c2261fe9bf3ccommit hash: 7a0870824158bb1c47bd4ae12411c2261fe9bf3c files touched by this commit
Nuno Teixeira (eduardo) search for other commits by this committer
Author: Einar Bjarni Halldórsson
devel/R-cran-mockr: New port: Mocking in R

- Submitter becomes maintainer

Provides a means to mock a package function, i.e., temporarily substitute
it for testing.
Designed as a drop-in replacement for the now deprecated
'testthat::with_mock()' and 'testthat::local_mock()'.

WWW: https://krlmlr.github.io/mockr/

Differential Revision:	https://reviews.freebsd.org/D43735

Number of commits found: 2