# TODO: Check if not better a dedicated tool should be called for this
message('updating list of base R packages...')
-base_pkgs <- readLines(pipe(paste('sudo pbuilder --execute --override-config --configfile'
- ,shQuote(pbuilder_config),'-- /usr/bin/R --vanilla 2>&1 >/dev/null <'
- ,shQuote(file.path(root,'exec/get_base_pkgs'))
- ,'| grep -v ^W:')))
+base_pkgs <- c("base",
+ "compiler",
+ "datasets",
+ "graphics",
+ "grDevices",
+ "grid",
+ "methods",
+ "parallel",
+ "splines",
+ "stats",
+ "stats4",
+ "tcltk",
+ "tools",
+ "utils")
+# readLines(pipe(paste('sudo pbuilder --execute --override-config --configfile'
+# ,shQuote(pbuilder_config),'-- /usr/bin/R --vanilla 2>&1 >/dev/null <'
+# ,shQuote(file.path(root,'exec/get_base_pkgs'))
+# ,'| grep -v ^W:')))
if (any(grep("^E:",base_pkgs,value=FALSE))) {
cat("Cannot continue, the following error occurred:\n")