# TODO: Working script for testing the package 'taxlist'
#
# Author: Miguel Alvarez
################################################################################
# Check
library(rmarkdown)
library(devtools)
library(styler)
library(covr)
# Automatic styling
style_pkg()
# document package
## unlink("NAMESPACE")
document()
# clean built package
unlink(file.path("build-pkg", list.files("build-pkg", ".tar.gz")))
# Build and check package
pkg_loc <- build(path = "build-pkg", args = "--resave-data")
check_built(path = pkg_loc)
# check coverage
report()
# Special steps ----------------------------------------------------------------
install()
# write manual
unlink(file.path("build-pkg", list.files("build-pkg", ".pdf")))
build_manual(path = "build-pkg")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.