-
Notifications
You must be signed in to change notification settings - Fork 17
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
difficulty loading previous ecodata versions #49
Comments
It seems to install the same tar.gz when I build current:
|
What you have done should work. not sure why it hasnt. |
It looks like the time series version of the engagement indicator was included in the 2020 SOEs (Version 1.1.0). If that install still doesn't work, the raw data is available here. |
Bummer, same thing happens when I try 1.1.0. I will do one of the workarounds mentioned above. Thanks @andybeet and @kimberly-bastille |
Linked to issue #69 |
Description file still says version 0.1.0 ... possible with switch to pkgdown this might be fixed. |
@sgaichas So i can install v1.1.0 (and other versions) and access the devtools::install_github("NOAA-EDAB/[email protected]", force = T)
#> Downloading GitHub repo NOAA-EDAB/[email protected]
#> checking for file 'C:\Users\andrew.beet\AppData\Local\Temp\2\RtmpAPmDSV\remotes4db05852ec1\NOAA-EDAB-ecodata-2d173f3/DESCRIPTION' ... ✔ checking for file 'C:\Users\andrew.beet\AppData\Local\Temp\2\RtmpAPmDSV\remotes4db05852ec1\NOAA-EDAB-ecodata-2d173f3/DESCRIPTION'
#> ─ preparing 'ecodata': (1.3s)
#> checking DESCRIPTION meta-information ... checking DESCRIPTION meta-information ... ✔ checking DESCRIPTION meta-information
#> ─ checking for LF line-endings in source and make files and shell scripts
#> ─ checking for empty or unneeded directories
#> ─ building 'ecodata_0.1.0.tar.gz'
#>
#> Created on 2023-10-05 by the reprex package (v2.0.1) And i also see that the tarball has the same name for any install (i think this is because the DESCRIPTION file is v0.1.0 for every release, as @slucey noted. We need to update that). This is also why library(magrittr)
ecodata::engagement %>% tibble::as_tibble()
#> # A tibble: 150 × 5
#> EPU Time Var Value Units
#> <chr> <dbl> <chr> <dbl> <chr>
#> 1 NE 2004 %Low 0.801 unitless
#> 2 NE 2004 %Moderate 0.101 unitless
#> 3 NE 2004 %Medium High 0.0461 unitless
#> 4 NE 2004 %High 0.0524 unitless
#> 5 NE 2004 med.high.scores 0.677 unitless
#> 6 NE 2005 %Low 0.782 unitless
#> 7 NE 2005 %Moderate 0.111 unitless
#> 8 NE 2005 %Medium High 0.0587 unitless
#> 9 NE 2005 %High 0.0482 unitless
#> 10 NE 2005 med.high.scores 0.673 unitless
#> # ℹ 140 more rows Created on 2023-10-05 by the reprex package (v2.0.1) I did need to restart R after the install. If that doesn't work then you might want to We also might want to consider adding a NEWS.md file now too to report changes in package betwen versions |
@BBeltz1 check that old ecodata can be installed |
I've tried
devtools::install_github("NOAA-EDAB/[email protected]")
to get back the commercial engagement indicator from the 2021 report (a time series of med-high and high), but it appears to install the current ecodata when I do this, and the newer version of the indicator is still there (engagement by community).Entirely likely I'm doing it wrong but here is what I get:
The text was updated successfully, but these errors were encountered: