build.sh (338B)
1 #!/bin/sh 2 R CMD build labeling 3 R CMD check labeling_0.4.3.tar.gz 4 echo "There might be problems with pdf generation. These are expected." 5 6 echo "Building labeling.pdf with xelatex instead" 7 cp ./labeling/man/Rd.sty ./labeling.Rcheck 8 cd labeling.Rcheck 9 xelatex labeling-manual.tex 10 cp labeling-manual.pdf ../ 11 12 R CMD check --as-cran labeling 13