Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HardenedBSD
hardenedbsd-ports
Commits
a7baa7f2
Commit
a7baa7f2
authored
Jan 05, 2021
by
ygy
Browse files
new port: devel/R-cran-mockery: Mocking Library for R
Approved by: lwhsu
parent
de823a7c
Changes
4
Hide whitespace changes
Inline
Side-by-side
devel/Makefile
View file @
a7baa7f2
...
...
@@ -62,6 +62,7 @@
SUBDIR
+=
R-cran-magrittr
SUBDIR
+=
R-cran-memoise
SUBDIR
+=
R-cran-microbenchmark
SUBDIR
+=
R-cran-mockery
SUBDIR
+=
R-cran-optparse
SUBDIR
+=
R-cran-pillar
SUBDIR
+=
R-cran-pkgbuild
...
...
devel/R-cran-mockery/Makefile
0 → 100644
View file @
a7baa7f2
# Created by: Guangyuan Yang <ygy@FreeBSD.org>
# $FreeBSD$
PORTNAME
=
mockery
DISTVERSION
=
0.4.2
CATEGORIES
=
devel
DISTNAME
=
${PORTNAME}
_
${DISTVERSION}
MAINTAINER
=
ygy@FreeBSD.org
COMMENT
=
Mocking Library
for
R
LICENSE
=
MIT
LICENSE_FILE
=
${WRKSRC}
/LICENSE
BUILD_DEPENDS
=
R-cran-knitr>0:print/R-cran-knitr
RUN_DEPENDS
=
R-cran-testthat>0:devel/R-cran-testthat
TEST_DEPENDS
=
R-cran-R6>0:devel/R-cran-R6
\
R-cran-knitr>0:print/R-cran-knitr
\
R-cran-rmarkdown>
=
1.0:textproc/R-cran-rmarkdown
USES
=
cran:auto-plist
.
include
<bsd.port.mk>
devel/R-cran-mockery/distinfo
0 → 100644
View file @
a7baa7f2
TIMESTAMP = 1609807522
SHA256 (mockery_0.4.2.tar.gz) = 988e249c366ee7faf277de004084cf5ca24b5c8a8c6e3842f1b1362ce2f7ea9b
SIZE (mockery_0.4.2.tar.gz) = 19837
devel/R-cran-mockery/pkg-descr
0 → 100644
View file @
a7baa7f2
The two main functionalities of this package are creating mock objects
(functions) and selectively intercepting calls to a given function that
originate in some other function. It can be used with any testing framework
available for R. Mock objects can be injected with either this package's own
stub() function or a similar with_mock() facility present in the 'testthat'
package.
WWW: https://github.com/jfiksel/mockery
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment