Created
November 22, 2012 15:02
-
-
Save wush978/4131594 to your computer and use it in GitHub Desktop.
shell script for install 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/bash | |
# Program: | |
# Check Folder $1 with R | |
./roxygenize.R $1 | |
rm -rf install | |
mkdir install | |
cp -r -H $1 install | |
cd install | |
find . -name .git -type d | xargs rm -rf | |
R CMD INSTALL $1 | |
cd .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment