Permalink
Browse files

check_cran: show install progress

  • Loading branch information...
1 parent 2252cf8 commit 7fd388fe1bf753030324f7b48d8b0efc57137d0f @wch wch committed Aug 15, 2012
Showing with 5 additions and 1 deletion.
  1. +3 −1 R/check-cran.r
  2. +2 −0 man/check_cran.Rd
View
@@ -31,6 +31,8 @@
#' \dontrun{
#' dep <- revdep("ggplot2")
#' check_cran(dep, "~/documents/ggplot/ggplot-check")
+#' # Or, equivalently:
+#' revdep_check("ggplot2")
#' }
check_cran <- function(pkgs, libpath = file.path(tempdir(), "R-lib"),
srcpath = libpath, bioconductor = FALSE, type = getOption("pkgType"),
@@ -77,7 +79,7 @@ check_cran <- function(pkgs, libpath = file.path(tempdir(), "R-lib"),
if (length(known) > 0) {
message("Installing ", length(known), " missing binary dependencies")
- install.packages(known, lib = libpath, quiet = TRUE, repos = repos,
+ install.packages(known, lib = libpath, quiet = FALSE, repos = repos,
Ncpus = threads)
}
if (length(unknown) > 0) {
View
@@ -53,6 +53,8 @@
\dontrun{
dep <- revdep("ggplot2")
check_cran(dep, "~/documents/ggplot/ggplot-check")
+# Or, equivalently:
+revdep_check("ggplot2")
}
}

0 comments on commit 7fd388f

Please sign in to comment.