jhudsl / ari

:dancers: The Automated R Instructor
https://jhudatascience.org/ari/
Other
147 stars 37 forks source link

AppVeyor Error for Windows #36

Open cansavvy opened 2 years ago

cansavvy commented 2 years ago

Windows doesn't like to use download.file() : https://api.github.com/repos/cloudyr/aws.signature/contents/DESCRIPTION?ref=HEAD https://ci.appveyor.com/project/muschellij2/ari-j1o6s/builds/42779137

package 'remotes' successfully unpacked and MD5 sums checked
The downloaded binary packages are in
    C:\Users\appveyor\AppData\Local\Temp\1\RtmpkZOg3y\downloaded_packages
+ return
+ Rscript -e 'if (!("remotes" %in% rownames(installed.packages()))) q(status=1)'
+ echo 'Installing dependencies'
Installing dependencies
+ Rscript -e 'options(repos = c(CRAN = "https://cloud.r-project.org"), download.file.method = "auto"); remotes::install_deps(dependencies = TRUE, type="win.binary")'
Error in utils::download.file(url, path, method = method, quiet = quiet,  : 
  cannot open URL 'https://api.github.com/repos/cloudyr/aws.signature/contents/DESCRIPTION?ref=HEAD'
Calls: <Anonymous> ... github_DESCRIPTION -> download -> base_download -> base_download_headers
Execution halted
Command exited with code 1
7z a failure.zip *.Rcheck\*
7-Zip 19.00 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
muschellij2 commented 2 years ago

I think using GitHub actions vs. Appveyor is a better solution going forward in checking Windows.