echo"`basename$0` is a tool to test that a R package (PACKAGE_TO_TEST) does not break packages that depend on it by running 'R CMD check' for each of them.
-p | --package NAME_OF_PACKAGE_TO_TEST : name of package to test (case sensible), all packages depending on this package are going to be checked by their R CMD CHECK
-c | --checklist CHECKLIST_FILE : file listing packages you want to check (each line should look like : PKG_NAME,PKG_VERSION,anything)
-t | --tarfolder TAR_FOLDER_PATH : path to folder where tarballs of packages can be found. All of these packages are going to be \"R CMD CHECKED\"
-r | --repo PACKAGE_TO_TEST_REPO : repository of package you want to test (DEFAULT : R-CRAN)
-l | --libuser R_LIBS_USER : directory where packages depending on PACKAGE_TO_TEST are going to be installed (DEFAULT : R will choose it)
This directory can be used several times for several tests. Using same directory several times will save time.
...
...
@@ -226,7 +230,7 @@ Don't forget to set JAVA_HOME if some dependencies need java, which is quite pro
There must choose between testing a specific package (R CMD CHECK on all packages depending on it) OR checking a given list of packages.
In other words : choose between -p and -c option
In other words : choose between -p and -c and -t option.
"
exit
fi
exit
fi
#### DEFAULT VALUES management
...
...
@@ -453,7 +484,11 @@ fi
if[-n"$PACKAGE_TO_TEST"];then
echo"PACKAGE TO TEST : $PACKAGE_TO_TEST . Last version of $PACKAGE_TO_TEST and all packages depending on $PACKAGE_TO_TEST will be installed and checked"
else
echo"LIST OF PACKAGES TO INSTALL AND CHECK : $CHECKLIST_FILE"
if[-n"$CHECKLIST_FILE"];then
echo"LIST OF PACKAGES TO INSTALL AND CHECK : $CHECKLIST_FILE"
else
echo"FOLDER OF PACKAGES TO INSTALL AND CHECK : $TAR_FOLDER_PATH"