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
test_that("strsplit1() splits a string", { expect_equal(strsplit1("a,b,c", split = ","), c("a", "b", "c")) })
check
test() # ℹ Testing regexcite # ✔ | F W S OK | Context # ✔ | 1 | strsplit1 [0.1s] # # ══ Results ═══════════════════════════════════════════════════ # Duration: 0.1 s # # [ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] # # 🔥 Your tests are lit 🔥