Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install_github fails if purrr is loaded #761

Closed
robertzk opened this issue Apr 15, 2015 · 5 comments
Closed

install_github fails if purrr is loaded #761

robertzk opened this issue Apr 15, 2015 · 5 comments

Comments

@robertzk
Copy link
Contributor

As purrr exports unzip, which overwrites utils::unzip. A full stack trace using bettertrace:

> install_github('rstudio/DT')
Downloading github repo rstudio/DT@master
        Error in unzip(src, list = TRUE) : unused argument (list = TRUE)
In package devtools: install_github("rstudio/DT")
In package devtools: install_remotes(remotes, ...)
In package base: vapply(remotes, install_remote, ..., FUN.VALUE = logical(1))
In package devtools: FUN(X[[1L]], ...)
In package devtools: source_pkg(bundle, subdir = remote$subdir)
In package devtools: decompress(path, outdir)
In package devtools: getrootdir(as.vector(unzip(src, list = TRUE)$Name))
In package base: nchar(gsub("[^/]", "", file_list))
In package base: gsub("[^/]", "", file_list)
In package base: as.vector(unzip(src, list = TRUE)$Name)
In package purrr: unzip(src, list = TRUE)

Error: unused argument (list = TRUE)
@robertzk
Copy link
Contributor Author

> Sys.info()
                                                                                           sysname                                                                                            release
                                                                                          "Darwin"                                                                                           "13.4.0"
                                                                                           version                                                                                           nodename
"Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64"                                                                      "Roberts-MacBook-Air-3.local"
                                                                                           machine                                                                                              login
                                                                                          "x86_64"                                                                                          "robertk"
                                                                                              user                                                                                     effective_user
                                                                                         "robertk"                                                                                          "robertk"

@robertzk
Copy link
Contributor Author

R version 3.0.2 (2013-09-25)
Platform: x86_64-apple-darwin10.8.0 (64-bit)

@robertzk
Copy link
Contributor Author

#762

@robertzk
Copy link
Contributor Author

My devtools was out of date.

@lock
Copy link

lock bot commented Sep 18, 2018

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/

@lock lock bot locked and limited conversation to collaborators Sep 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant