[Genabel-commits] r1588 - pkg/GenABEL-general/scripts
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Feb 3 23:06:02 CET 2014
Author: lckarssen
Date: 2014-02-03 23:05:56 +0100 (Mon, 03 Feb 2014)
New Revision: 1588
Modified:
pkg/GenABEL-general/scripts/makedistrib_MetABEL.sh
Log:
Added --vanilla to the R CMD calls, to make sure user-defined settings in e.g. ~/.Renviron are ignored.
Modified: pkg/GenABEL-general/scripts/makedistrib_MetABEL.sh
===================================================================
--- pkg/GenABEL-general/scripts/makedistrib_MetABEL.sh 2014-02-03 17:39:19 UTC (rev 1587)
+++ pkg/GenABEL-general/scripts/makedistrib_MetABEL.sh 2014-02-03 22:05:56 UTC (rev 1588)
@@ -90,7 +90,7 @@
echo "--------------------------------------------------"
echo "Running normal R checks..."
echo "--------------------------------------------------"
-R CMD check $PKG
+R --vanilla CMD check $PKG
if grep -qE "NOTE|WARNING|ERROR" $PKG.Rcheck/00check.log; then
errwarn=1
fi
@@ -100,7 +100,7 @@
echo "--------------------------------------------------"
echo "Check with --as-cran..."
echo "--------------------------------------------------"
- R CMD check --as-cran $PKG
+ R --vanilla CMD check --as-cran $PKG
if sed -e 's/feasibility ... WARNING/feasibility ... WRNNG/' \
-e 's/^WARNING/WRNNG/' $PKG.Rcheck/00check.log | \
grep -qE "NOTE|WARNING|ERROR"; then
@@ -112,7 +112,7 @@
echo "--------------------------------------------------"
echo "Building the package for distribution..."
echo "--------------------------------------------------"
-R CMD build $PKG
+R --vanilla CMD build $PKG
if [ $errwarn -eq 1 ]; then
echo
More information about the Genabel-commits
mailing list