-
Notifications
You must be signed in to change notification settings - Fork 28
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
Issues installing evalcast with remotes::install_github #582
Comments
If you open those URLs (such as https://api.github.com/repos/cmu-delphi/covidcast/tarball/HEAD) in your browser, do they download a large file successfully? I suspect this is the same problem as #522, where the repository is so big that |
Thanks for the swift response. I would have expected this to work after downloading from the link you supplied, but it's erroring out as well
Cards on the table, I'm a python dev and haven't played around in R for a few years now so apologies for anything obvious I may be missing. Is there a git command you'd expect to work? |
The file you downloaded contains the whole repository, including multiple different packages, so If you decompress the file yourself, you should get a |
Great--thanks! So, I'm not sure if you're working directly with the team authoring the PNAS article directly, but if you are .... (and because I can't bug report to the Zenodo page) ... With respect to the Sorry if you're not working on it. Thanks again for the help! |
Let me just tag @dajmcdon here, since hew was involved in most of the evalcast and forecast work |
I had the same issue as above downloading the evalcast package as stated in https://cmu-delphi.github.io/covidcast/evalcastR/. So wanted to summarize the steps:
These steps worked for me. |
@capnrefsmmat @ryantibs Is it worth pushing an update to Zenodo re ☝️ ?
|
I've been taking care of this repo lately, since I think it's worth shepherding it to a state where it's (relatively) stable and finalized. So I can help come up with installation updates. I am curious about reproducing the installation difficulties here, since, at least locally, these packages installed smoothly with either |
Here's an attempt to repro: r$> remotes::install_github("cmu-delphi/covidcast", ref = "main",
subdir = "R-packages/evalcast")
Using github PAT from envvar GITHUB_PAT
Downloading GitHub repo cmu-delphi/covidcast@main
Error: Failed to install 'covidcast' from GitHub:
Unknown remote type: bettermc=github
object 'bettermc=github_remote' of mode 'function' was not found
r$> devtools::install_github("cmu-delphi/covidcast", ref = "main",
subdir = "R-packages/evalcast")
Using github PAT from envvar GITHUB_PAT
Downloading GitHub repo cmu-delphi/covidcast@main
Error: Failed to install 'covidcast' from GitHub:
Unknown remote type: bettermc=github
object 'bettermc=github_remote' of mode 'function' was not found
r$> pak::pkg_install("cmu-delphi/covidcast/R-packages/evalcast@main")
✔ Updated metadata database: 2.75 MB in 6 files.
✔ Updating metadata database ... done
→ Will install 100 packages.
→ Will update 3 packages.
→ Will download 8 CRAN packages (11.08 MB), cached: 92 (57.06 MB).
→ Will download 3 packages with unknown size.
+ arrow 12.0.0 [bld][cmp]
+ askpass 1.1 [bld][cmp]
+ assertthat 0.2.1 [bld]
... It seems that the |
@dshemetov I think the problem is due to the size of the repo. See #522. |
Oh hm. So it looks like |
I got the same error as you have above.
But when I try with
|
Thank you for testing that out @dwill023! UPDATE: I have removed code that made it so only |
Hey there. Came to this from the PNAS article and I'm trying to run the code but can't get started.
Following the recommended install yielded
Tried a few variations found with no luck.
Would love help. Thanks!
The text was updated successfully, but these errors were encountered: