eheisman / dssrip

R functions to read/write data from HEC-DSS files.
Other
24 stars 9 forks source link

'curl' call had nonzero exit status when trying to install dssrip #28

Open Pra713 opened 1 year ago

Pra713 commented 1 year ago

Here is the full message I get when I try to install dssrip (I've made what I think is the most relevant errors bold):

Downloading GitHub repo eheisman/dssrip@main ✔ checking for file 'C:\Users\pb\AppData\Local\Temp\1\RtmpSWNvFC\remotes35b07559730a\eheisman-dssrip-97c7d77/DESCRIPTION' (348ms) ─ preparing 'dssrip': ✔ checking DESCRIPTION meta-information ... ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories ─ building 'dssrip_0.4.tar.gz'

Installing package into ‘C:/Users/pb/AppData/Local/R/win-library/4.2’ (as ‘lib’ is unspecified)

eheisman commented 1 year ago

@Pra713 - I keep thinking I fixed this issue, so my apologies that you are running into it.

It is trying to download the java dependencies to a folder called "C:\projects\dssrip\monolith\jar", that likely doesn't exist on your machine.

Make sure that "C:\projects\dssrip\monolith\jar" and "C:\projects\dssrip\monolith\lib" both exist on your computer and it should resolve this problem.

This is the same issue as https://github.com/eheisman/dssrip/issues/27

Pra713 commented 1 year ago

@Pra713 - I keep thinking I fixed this issue, so my apologies that you are running into it.

It is trying to download the java dependencies to a folder called "C:\projects\dssrip\monolith\jar", that likely doesn't exist on your machine.

Make sure that "C:\projects\dssrip\monolith\jar" and "C:\projects\dssrip\monolith\lib" both exist on your computer and it should resolve this problem.

This is the same issue as #27

Thanks! That worked. I was able to install dssrip. But now, when I try to load the package, I get this error. I don't know if this is relevant, but I left out all the messages before this error, with the last message being: "Loading required package: broom". Everything looks good up until this error.

Error: package or namespace load failed for ‘dssrip’: .onLoad failed in loadNamespace() for 'dssrip', details: call: file(con, "r") error: cannot open the connection In addition: Warning messages: 1: package ‘xts’ was built under R version 4.2.3 2: package ‘plyr’ was built under R version 4.2.3 3: package ‘broom’ was built under R version 4.2.3 4: In file(con, "r") : cannot open file './config/jar_config.json': No such file or directory