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

could not open growthstandards #7

Open
Monash-RISE opened this issue Sep 30, 2020 · 10 comments
Open

could not open growthstandards #7

Monash-RISE opened this issue Sep 30, 2020 · 10 comments

Comments

@Monash-RISE
Copy link

using Rstudio 1.3.959 and R [Default] [64-bit] C:\Program Files\R\R-4.0.1

when I run
remotes::install_github("ki-tools/growthstandards")

I selected "update all". I got this message:
Error: Failed to install 'growthstandards' from GitHub:
Failed to install 'rbokeh' from GitHub:
(converted from warning) package ‘dplyr’ is in use and will not be installed

Any ideas?
thanks

@hafen
Copy link
Member

hafen commented Sep 30, 2020

Interesting. What happens when you choose "CRAN packages only"?

@Monash-RISE
Copy link
Author

Monash-RISE commented Sep 30, 2020 via email

@hafen
Copy link
Member

hafen commented Sep 30, 2020

Try this branch:

remotes::install_github("ki-tools/growthstandards@prepost")

The only difference with this branch is the addition of the INTERGROWTH pre-term postnatal standard and rbokeh dependency removed. It will be merged to master as soon as I add unit tests for the new standard.

@Monash-RISE
Copy link
Author

Monash-RISE commented Sep 30, 2020 via email

@hafen
Copy link
Member

hafen commented Sep 30, 2020

Is this from a fresh R session?

If you can share your session info that would be helpful.

@Monash-RISE
Copy link
Author

Monash-RISE commented Sep 30, 2020 via email

@jessflem
Copy link

Hello, I'm afraid I'm getting a similar error:

Error: Failed to install 'growthstandards' from GitHub:
(converted from warning) unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.6:
cannot open URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.6/PACKAGES'

I've tried installing in the following ways and none have been successful:
remotes::install_github("HBGDki/growthstandards")
remotes::install_github("ki-tools/growthstandards")
remotes::install_github("ki-tools/growthstandards@prepost")

I have restarted R and tried the install updating CRAN packages only.

Thank you very much for your help.

@clairewbradley
Copy link

Hi! I am having the same issue and tried all three installation methods. Was there any solution found for this? Thanks so much.

@simpar1471
Copy link

@clairewbradley If using the WHO child growth standards/INTERGROWTH-21st non-fetal standards, the gigs package for R may also be of use to you. (Important conflict of interest statement: I’m the main author for gigs.)

I have managed to install growthstandards myself using the devtools::install_github() function.

@hafen
Copy link
Member

hafen commented Jan 3, 2024

I made some updates to the package that should fix this. One is a dependency on rbokeh which is no longer on CRAN. Another is an issue with the custom ggplot geoms provided by the package (not an install issue but a runtime issue). Can you try to reinstall from master and see if it works for you now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants