Permalink
Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign up
Fetching contributors…
Cannot retrieve contributors at this time
pkg = $(shell basename $(CURDIR)) | |
all: build | |
NAMESPACE: R/* | |
Rscript -e "devtools::document()" | |
README.md: README.Rmd | |
Rscript -e "knitr::knit('README.Rmd')" | |
README.html: README.md | |
pandoc -o README.html README.md | |
../$(pkg)*.tar.gz: DESCRIPTION NAMESPACE README.md | |
cd ../ && R CMD build $(pkg) | |
build: ../$(pkg)*.tar.gz | |
check: ../$(pkg)*.tar.gz | |
cd ../ && R CMD check $(pkg)*.tar.gz | |
rm ../$(pkg)*.tar.gz | |
install: ../$(pkg)*.tar.gz | |
cd ../ && R CMD INSTALL $(pkg)*.tar.gz | |
rm ../$(pkg)*.tar.gz | |
website: R/* README.md DESCRIPTION | |
Rscript -e "pkgdown::build_site()" |