ts/Makefile
2025-01-29 08:58:23 +13:00

23 lines
351 B
Makefile

default: README.md
rfiles: $(wildcard R/*.R)
document:
Rscript -e "devtools::document()"
install: document
R CMD INSTALL .
check:
Rscript -e "devtools::check()"
README.md: README.Rmd install
Rscript -e "rmarkdown::render('README.Rmd')"
@rm README.html
test:
Rscript -e "devtools::test()"
site: install
Rscript -e "pkgdown::build_site()"