tests/tests.R

## single species stuff -- travis chokes on as.data.frame()
#library(knitr)
#knit(system.file("doc", "example-species-report.Rmd", package = "cure4insect"))

## multi species stuff
#source(system.file("doc", "custom-report.R", package = "cure4insect"))

## poly level prediction
## ... to be added ...

## spelling
#library(spelling)
#library(hunspell)
#check_spelling <- function(x) sort(unique(unlist(hunspell(readLines(x), format = "html"))))
#spell_check_package("~/repos/cure4insect")
#check_spelling("~/repos/cure4insect/README.md")
#check_spelling("~/repos/cure4insect/inst/www/index.html")
#check_spelling("~/repos/cure4insect/inst/doc/example-species-report.Rmd")
ABbiodiversity/cure4intactness documentation built on Oct. 14, 2022, 11:16 p.m.