R/test.R

Defines functions .mockee mockee3 mockee2 mockee .mocker mocker

some_symbol <- 42

mocker <- function() mockee()

.mocker <- function() .mockee()

mockee <- function() stop("Not mocking")

mockee2 <- function() stop("Not mocking (2)")

mockee3 <- function() mockee()

.mockee <- function() stop("Not mocking (3)")

Try the mockr package in your browser

Any scripts or data that you put into this service are public.

mockr documentation built on Feb. 16, 2023, 5:08 p.m.