Zhiqiu Hu
2017-Feb-24 18:43 UTC
[Rd] BUG: the quiet option in the install.packages function
Dear utils/R Package maintainers, Since I'm still using version 3.3.2, please ignore this message if the bug has already been fixed. *BUG: * The install.packages function still generate outputs even if set quiet=TRUE. *POSSIBLE REASON:* The issue is seemly due to that the quiet parameter was not passed to the download.file function. ############################# install.packages(pkgs, lib, repos = getOption("repos"), contriburl = contrib.url(repos, type), method, available = NULL, destdir = NULL, dependencies = NA, type = getOption("pkgType"), configure.args = getOption("configure.args"), configure.vars = getOption("configure.vars"), clean = FALSE, Ncpus = getOption("Ncpus", 1L), verbose = getOption("verbose"), libs_only = FALSE, INSTALL_opts, quiet = FALSE, keep_outputs = FALSE, ...) ... Arguments to be passed to download.file or to the functions for binary installs on OS X and Windows (which accept an argument "lock": see the section on ?Locking?). ############################# Since only (...) were passed to the download.file, the quite parameter specified in install.packages will not work for the download.file function. *SOLUTION: * To fix the bug, please (1) to pass the quiet parameter to the download.file in the install.packages function, or (2) to use another variable name for the "quiet" option, so that users can decide the outputs of the download.file function when they install package. Thank you very much. Regards Zhiqiu [[alternative HTML version deleted]]