diff --git a/buildPkg.R b/buildPkg.R index 873d1bdebe8ad52c40e868cf26caab4735f41df0..0ec73c8c77fd4edb47d79d00372c3ab8e7c3f09f 100644 --- a/buildPkg.R +++ b/buildPkg.R @@ -11,6 +11,9 @@ if(!grepl(x=getwd(), pattern="/legTools$")){ ## Packages library(devtools) +## Load the package (to make functiona available) +load_all() + ## Create/update NAMESPACE, *.Rd files. document() @@ -23,8 +26,11 @@ check_doc() check(cleanup = FALSE, manual = TRUE, vignettes = FALSE, check_dir = "../") -## Load the package. -load_all() +## Examples +# Run examples from all functions of the package +# run_examples() +# Run examples from a specific function +# dev_example("loessGui") ## Show all exported objects. ls("package:legTools")