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

Non-Zero Exit Status #414

Open
Justin495 opened this issue Feb 18, 2022 · 1 comment
Open

Non-Zero Exit Status #414

Justin495 opened this issue Feb 18, 2022 · 1 comment

Comments

@Justin495
Copy link

Having current trouble downloading to R version 4.1.2.

remotes::install_github('streampulse/StreamPULSE', dependencies = TRUE)
Downloading GitHub repo streampulse/StreamPULSE@HEAD
✓ checking for file ‘/private/var/folders/nr/c9hld8nn2cd9g3_m36t99j980000gn/T/RtmpE898qS/remotesb10b2c50d67a/streampulse-StreamPULSE-cafe58c/DESCRIPTION’ ...
─ preparing ‘StreamPULSE’:
✓ checking DESCRIPTION meta-information ...
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
Omitted ‘LazyData’ from DESCRIPTION
─ building ‘StreamPULSE_0.0.0.9043.tar.gz’

  • installing source package ‘StreamPULSE’ ...
    ** using staged installation
    ** R
    ** byte-compile and prepare package for lazy loading
    Error: package or namespace load failed for ‘Cairo’:
    .onLoad failed in loadNamespace() for 'Cairo', details:
    call: dyn.load(file, DLLpath = DLLpath, ...)
    error: unable to load shared object '/Library/Frameworks/R.framework/Versions/4.1/Resources/library/Cairo/libs/Cairo.so':
    dlopen(/Library/Frameworks/R.framework/Versions/4.1/Resources/library/Cairo/libs/Cairo.so, 0x0006): Library not loaded: /opt/X11/lib/libxcb-shm.0.dylib
    Referenced from: /Library/Frameworks/R.framework/Versions/4.1/Resources/library/Cairo/libs/Cairo.so
    Reason: tried: '/opt/X11/lib/libxcb-shm.0.dylib' (no such file), '/Library/Frameworks/R.framework/Resources/lib/libxcb-shm.0.dylib' (no such file), '/Library/Java/JavaVirtualMachines/jdk1.8.0_241.jdk/Contents/Home/jre/lib/server/libxcb-shm.0.dylib' (no such file)
    Execution halted
    ERROR: lazy loading failed for package ‘StreamPULSE’
  • removing ‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library/StreamPULSE’
    Warning message:
    In i.p(...) :
    installation of package ‘/var/folders/nr/c9hld8nn2cd9g3_m36t99j980000gn/T//RtmpE898qS/fileb10b6f30fa50/StreamPULSE_0.0.0.9043.tar.gz’ had non-zero exit status

Install latest version of streamMetabolizer.

install.packages('streamMetabolizer', dependencies=TRUE,

  •              repos=c('https://owi.usgs.gov/R','https://cran.rstudio.com'))
    

Warning in install.packages :
package ‘streamMetabolizer’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
Warning in install.packages :
unable to access index for repository https://owi.usgs.gov/R/bin/macosx/contrib/4.1:
cannot open URL 'https://owi.usgs.gov/R/bin/macosx/contrib/4.1/PACKAGES'

@scbrooks382
Copy link

I have the same problem. Same error messages as reported by @Justin495. Is there a solution to this issue yet?

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