Skip to content

Commit

Permalink
add missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill Müller committed May 10, 2016
1 parent b260b71 commit d7ea699
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Expand Up @@ -193,6 +193,7 @@ importFrom(memoise,memoise)
importFrom(stats,update)
importFrom(utils,available.packages)
importFrom(utils,contrib.url)
importFrom(utils,download.packages)
importFrom(utils,install.packages)
importFrom(utils,installed.packages)
importFrom(utils,menu)
Expand Down
1 change: 1 addition & 0 deletions R/install-cran.r
Expand Up @@ -29,6 +29,7 @@ cran_remote <- function(pkg, repos, type) {


#' @export
#' @importFrom utils download.packages
remote_download.cran_remote <- function(x, quiet = FALSE) {
dest_dir <- tempdir()
download.packages(x$name, destdir = dest_dir, repos = x$repos, type = x$pkg_type)[1, 2]
Expand Down

0 comments on commit d7ea699

Please sign in to comment.