tests/.tests_for_CI.R

## Run devtools check and see whether or not it returns any errors

test_results <- devtools::check()

if(length(test_results$errors)>0){
  stop(paste("Pipeline failed due to the following errors:\n",paste(test_results$errors, collapse = "\n"), sep = ""))
}
malaria-atlas-project/malariaAtlas documentation built on Nov. 5, 2023, 2:03 p.m.