Last active
August 29, 2015 14:01
-
-
Save navicore/4e83a904d1d01226ad7f to your computer and use it in GitHub Desktop.
Build an R package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# requires R and latex / pdflatex | |
rm -rf ./mypkg/..Rcheck | |
cd ./mypkg | |
R CMD check . | |
cp ..Rcheck/mypkg-manual.pdf .. | |
rm -rf ..Rcheck | |
cd .. | |
R CMD build mypkg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment