tests/testthat.R

library(testthat)
library(pre)

#####
# partykit and earth is loaded as failures of tests may be caused by the version
# of either package. Thus, we print the sessionInfo

library(earth)
library(partykit)
print(sessionInfo())

test_check("pre")

Try the pre package in your browser

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

pre documentation built on Feb. 16, 2023, 5:20 p.m.