Skip to content
Please note that GitHub no longer supports your web browser.

We recommend upgrading to the latest Google Chrome or Firefox.

Learn more
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time. Cannot retrieve contributors at this time
33 lines (22 sloc) 712 Bytes
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 R/* man/* tests/testthat/* po/R-rio.pot
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()"
po/R-rio.pot: R/* DESCRIPTION
Rscript -e "tools::update_pkg_po('.')"
translations: po/R-rio.pot
You can’t perform that action at this time.