devel/R-cran-mockr 0.2.2 MidnightBSD
Mocking in R
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel
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()'.
In the other systems
The newest version among them is 0.2.2, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/R-cran-mockr | 0.2.2 newest | no data | - | [email protected] | - |
| FreeBSD | devel/R-cran-mockr | 0.2.2 newest | none known | - | [email protected] | - |
| DragonFly | devel/R-cran-mockr | 0.2.1 | none known | - | [email protected] | - |
| HardenedBSD | devel/R-cran-mockr | 0.2.2 newest | no data | - | [email protected] | - |
| GhostBSD | devel/R-cran-mockr | 0.2.2 newest | no data | - | [email protected] | - |
Install
Binary package:
mport install mockr
From mports:
cd /usr/mports/devel/R-cran-mockr && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= mockr>0:devel/R-cran-mockr
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 2
R-cran-rlang>0: devel/R-cran-rlangR-cran-withr>0: devel/R-cran-withr
Runtime 2
R-cran-rlang>0: devel/R-cran-rlangR-cran-withr>0: devel/R-cran-withr
Test 1
R-cran-testthat>0: devel/R-cran-testthat
Build dependencies 2
Run dependencies 2
No port depends on this one.
Configuration
No options to configure.
- USES
- cran:auto-plist
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| mockr_0.2.2.tar.gz | 20929 | 08199520c6590e19307b5e6cbfa79fbdbe0ea6ecb690957f31222d4bf8d3792d |