c(
person(
given = "Giovanni",
family = "Charles",
role = c('aut', 'cre'),
email = 'giovanni.charles@gmail.com'
),
person(
given = "Imperial College of Science, Technology and Medicine",
family = "",
role = c('cph'),
email = 'giovanni.charles10@imperial.ac.uk'
),
person(
given = "Björn",
family = "Fahller",
role = c('cph'),
email = 'bjorn@fahller.se'
))
A header only library integrating 'testthat' with 'trompeoeil' to
provide mocking for C++ code in R packages. Mocking is a technique for
making a fake version of a software service. You can mock services to
test that your code interacts correctly with external interfaces, to make
your tests deterministic, or to break your tests down into smaller units.
'testthat' provides a testing framework for R and C++ code in R packages.
'trompeoeil' is a C++ header only library for mocking.
knitr, rmarkdown, Rcpp, cpp11, pkgload, decor
Giovanni Charles [aut, cre],
Imperial College of Science, Technology and Medicine [cph],
Björn Fahller [cph]

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.
c(
person("Noam", "Finkelstein", role = c("aut", "cre"),
email = "noam.finkelstein@jhu.edu"),
person("Lukasz", "Bartnik", rol = c("aut"),
email = "l.bartnik@gmail.com")
)
'expect_called.R' 'expectations.R' 'function_source_utils.R'
'mockery.R' 'mock-object.R' 'stub.R'
Noam Finkelstein [aut, cre],
Lukasz Bartnik [aut]

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.
c(
person("Noam", "Finkelstein", role = c("aut")),
person("Lukasz", "Bartnik", role = c("aut")),
person("Jim", "Hester", role = c("cre"),
email = "jim.hester@rstudio.com")
)
Noam Finkelstein [aut],
Lukasz Bartnik [aut],
Jim Hester [cre]