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

Hydrotools not installing "cannot open URL" #402

Open
5 of 9 tasks
gmahadwar opened this issue Dec 15, 2023 · 1 comment
Open
5 of 9 tasks

Hydrotools not installing "cannot open URL" #402

gmahadwar opened this issue Dec 15, 2023 · 1 comment
Assignees

Comments

@gmahadwar
Copy link
Contributor

gmahadwar commented Dec 15, 2023

Hydrotools install error

If installation of hydrotools is yielding the following error
install_github("HARPgroup/hydro-tools")

Downloading GitHub repo HARPgroup/hydro-tools@HEAD
Error in utils::download.file(url, path, method = method, quiet = quiet, :
cannot open URL 'https://api.github.com/repos/HARPgroup/hydro-tools/tarball/HEAD'

Solution:
options(download.file.method = "wininet")

Source files from github via internet error

If retrieval of hydrotools is unable to pull from github
source("https://raw.githubusercontent.com/HARPgroup/hydro-tools/master/R/rmd_utils.R")

Warning: URL 'https://raw.githubusercontent.com/HARPgroup/hydro-tools/master/R/rmd_utils.R': status was 'SSL peer certificate or SSH remote key was not OK'Error in file(filename, "r", encoding = encoding) :
cannot open the connection to 'https://raw.githubusercontent.com/HARPgroup/hydro-tools/master/R/rmd_utils.R'

Lateral Solution:
Then source from config.local hydro-tools location

Other potential solutions to try

Notes: With R 4.3.2, able to get curl and pass through source("https://raw.githubusercontent.com/ .... lines. However, main error recurs indicating sourcing wasn't successful (as in #381 (comment))

Related / Subsequent TE Render errors

Errors using om_get_rundata After resolving hydrotools install

SSL peer certificate or SSH remote key was not OK

@rburghol
Copy link
Contributor

rburghol commented Dec 18, 2023

Note re the above stack overflow: https://stackoverflow.com/questions/72050284/r-downloading-error-ssl-peer-certificate-or-ssh-remote-key-was-not-ok

One rec has not-using secure mode downloads, but my settings have all secure OK. This may be fine for my machine, but yours clearly has secure transaction troubles (hope it's not some windows update that will eventually bite me too).

image

@gmahadwar gmahadwar self-assigned this Jan 4, 2024
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

2 participants