tests/testthat/test-attached.R

# C. Beleites
# get all tests attached to objects 
tests <- eapply(env=getNamespace ("hyperSpec"), FUN=get.test, all.names=TRUE) 
tests <- tests [! sapply (tests, is.null)] 

for (t in seq_along (tests))   
  tests [[t]] ()

Try the hyperSpec package in your browser

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

hyperSpec documentation built on Sept. 13, 2021, 5:09 p.m.