library(testthat)
library(sars)
test_check("sars")
data("galap")
#devtools::test("sars")
#https://github.com/r-lib/testthat/issues/257
#also, if making lots of commits in short amount of time, hash out
#code coverage from the circle CI yml file to avoid it do every time.
#don't forget to manually un-hash and run some of the GDM, threshold and
#test_crit_method (just the last one for beta p) tests. GDM as issues with
#having BAT as a dependency, and threshold and betap due
#to speed and running time on Circle CI. Also one sar_habitat test hashed
#out due to needing external dataset.
#Countryside: 1) the hit return for next plot figure tests are hashed
#out because they kill CircleCI builds; and 2) a second test using a
#second dataset (Guillerme et al) has been hashed out for speed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.