library(testthat) library(CRTspat) extdata <- system.file("extdata",package = 'CRTspat') test_check("CRTspat")