usethis
load_all()
test()
base::on.exit()
withr::defer()
withr
tools/
DESCRIPTION
Imports
Suggests
usethis::use_package()
Depends
Linking to
NAMESPACE
R/
Config/Needs/*
testthat
test_that
on.exit()
skip()
README.md
.Rmd
.md
usethis::use_readme_rmd()
NEWS.md
usethis::use_news_md()
NEWS
As devtools::load_all() loads all defined below R/, you can create internal functions to run your tests.
devtools::load_all()
. ├── ... └── R ├── ... ├── test-helpers.R ├── test-utils.R ├── testthat.R ├── utils-testing.R └── ...