tests/testthat.R

library(testthat)
library(SEMID)

test_check("SEMID")


# testthat checks works within the namespace of the package
# so that you can test functions that are not exported. This
# is great but if you want to test to make sure that you
# set up the namespace correctly this is very annoying. The
# following runs the tests not in the namespace of the package.
# for (file in list.files(".")) {
# source(file)
# }

Try the SEMID package in your browser

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

SEMID documentation built on July 26, 2023, 5:40 p.m.