install_version errors with missing "quiet" argument
Example:
> install_version('ggplot2', '1.0.1')
Error in value[[3L]](cond) : argument "quiet" is missing, with no default
It apparently needs a value for quiet:
> install_version('ggplot2', '1.0.1', quiet=F)
Downloading package from url: https://cran.rstudio.com/src/contrib/Archive/ggplot2/ggplot2_1.0.1.tar.gz
.....
I also just ran into this (for dplyr in my case)
This error also appears for install_git().
This appeared for me with install_local
Appeared for me with install_url
I also have this problem
And another one. It is only showing up if I ask for a specific version. 5 days ago it worked without any issues.
All of these are fixed in the devel version of the 1.13.0 branch, you can install it with
devtools::install_github("hadley/[email protected]")
Thanks!
@jimhester I did have this version installed when I encountered the error:
The downloaded source packages are in
‘/tmp/RtmphGEWsQ/downloaded_packages’
[1] ""
[1] "Checking png ..."
[1] "Found version: 0.1.7"
[1] "Up to date with repository version"
[1] ""
[1] "Checking scales ..."
[1] "Found version: 0.4.1"
[1] "Up to date with repository version"
[1] ""
[1] "Checking jsonlite ..."
[1] "Found version: 1.4"
[1] "Up to date with repository version"
[1] ""
[1] "Checking maps ..."
[1] "Found version: 3.1.1"
[1] "Up to date with repository version"
[1] ""
[1] "Checking httr ..."
[1] "Found version: 1.2.1"
[1] "Up to date with repository version"
[1] ""
[1] "Checking base64enc ..."
[1] "Found version: 0.1.3"
[1] "Up to date with repository version"
[1] ""
[1] "Checking yaml ..."
[1] "Found version: 2.1.14"
[1] "Up to date with repository version"
[1] ""
[1] "Checking mapdata ..."
[1] "Found version: 2.2.6"
[1] "Up to date with repository version"
[1] ""
[1] "Checking devtools ..."
[1] "Found version: 1.12.0"
[1] "Does not match version on repository: 1.13.0"
[1] "Installing devtools 1.13.0 ..."
trying URL 'http://cran.rstudio.com/src/contrib/devtools_1.13.0.tar.gz'
Content type 'application/x-gzip' length 486058 bytes (474 KB)
==================================================
downloaded 474 KB
* installing *source* package ‘devtools’ ...
** package ‘devtools’ successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
converting help for package ‘devtools’
finding HTML links ... done
RCMD html
as.package html
bash html
build html
build_github_devtools html
build_vignettes html
build_win html
check html
check_cran html
check_dep_version html
check_failures html
check_man html
clean_dll html
clean_source html
clean_vignettes html
compile_dll html
compiler_flags html
create html
create_description html
dev_example html
dev_help html
dev_meta html
dev_mode html
dev_packages html
devtest html
devtools-deprecated html
devtools html
Rd warning: /tmp/RtmpIxQYFP/R.INSTALL31ab31a8aa39/devtools/man/devtools.Rd:28: missing file link ‘as.person’
document html
dr_devtools html
dr_github html
eval_clean html
find_topic html
git_checks html
github_pat html
github_refs html
has_devel html
has_tests html
help html
Rd warning: /tmp/RtmpIxQYFP/R.INSTALL31ab31a8aa39/devtools/man/help.Rd:33: missing file link ‘?’
imports_env html
infrastructure html
inst html
install html
install_bioc html
install_bitbucket html
install_cran html
install_deps html
install_git html
Rd warning: /tmp/RtmpIxQYFP/R.INSTALL31ab31a8aa39/devtools/man/install_git.Rd:20: missing file link ‘clone’
install_github html
install_local html
install_svn html
install_url html
install_version html
is.package html
lint html
load_all html
load_code html
load_data html
load_dll html
load_imports html
loaded_packages html
missing_s3 html
ns_env html
on_path html
package_deps html
package_file html
parse_deps html
parse_ns_file html
path html
pkg_env html
r_env_vars html
release html
release_checks html
reload html
revdep html
revdep_check html
revdep_email html
run_examples html
run_pkg_hook html
session_info html
setup_rtools html
show_news html
source_gist html
source_url html
spell_check html
submit_cran html
system.file html
system_check html
system_output html
test html
uninstall html
unload html
update_packages html
use_build_ignore html
use_data html
use_data_raw html
use_git html
use_git_hook html
use_github html
use_github_links html
use_news_md html
use_package html
use_readme_rmd html
wd html
with_debug html
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (devtools)
The downloaded source packages are in
‘/tmp/RtmphGEWsQ/downloaded_packages’
[1] ""
+ Rscript -e 'library(devtools);install_url("https://github.com/USGS-R/hazardItems/archive/v2.5.0.zip")'
Error in value[[3L]](cond) : argument "quiet" is missing, with no default
Calls: install_url ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted
Build step 'Execute shell' marked build as failure
Finished: FAILURE
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/