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

R: fails to install LipdR #74

Closed
MBuss32 opened this issue Sep 8, 2020 · 2 comments
Closed

R: fails to install LipdR #74

MBuss32 opened this issue Sep 8, 2020 · 2 comments

Comments

@MBuss32
Copy link

MBuss32 commented Sep 8, 2020

Hi,
I'm trying to install the LiPDR package as I'd like to start playing with it (I dont have much coding experience) but I'm getting the following error when installing via devtools. (also via 'remotes' it doesn't work as suggested in other topic):
Any help?
Thanks! Manuel

devtools::install_github("nickmckay/LiPD-Utilities", subdir = "R")
Downloading GitHub repo nickmckay/LiPD-Utilities@HEAD
✓ checking for file ‘/private/var/folders/jr/2f4g184x2b1_h9ylb9zlh5ym0000gn/T/Rtmp3JmXu8/remotes11e92c95aed6/nickmckay-LiPD-utilities-ab7d661/R/DESCRIPTION’ (346ms)
─ preparing ‘lipdR’:
✓ checking DESCRIPTION meta-information ...
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building ‘lipdR_0.2.3.tar.gz’

  • installing source package ‘lipdR’ ...
    ** using staged installation
    ** R
    ** exec
    ** byte-compile and prepare package for lazy loading
    Error in dyn.load(file, DLLpath = DLLpath, ...) :
    unable to load shared object '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/libs/Rcpp.so':
    dlopen(/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/libs/Rcpp.so, 6): Symbol not found: _EXTPTR_PTR
    Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/libs/Rcpp.so
    Expected in: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libR.dylib
    in /Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/libs/Rcpp.so
    Calls: ... asNamespace -> loadNamespace -> library.dynam -> dyn.load
    Execution halted
    ERROR: lazy loading failed for package ‘lipdR’
  • removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/lipdR’
    Error: Failed to install 'lipdR' from GitHub:
    (converted from warning) installation of package ‘/var/folders/jr/2f4g184x2b1_h9ylb9zlh5ym0000gn/T//Rtmp3JmXu8/file11e917097a78/lipdR_0.2.3.tar.gz’ had non-zero exit status
@MBuss32 MBuss32 closed this as completed Sep 8, 2020
@MBuss32
Copy link
Author

MBuss32 commented Sep 8, 2020

oops, solved it, hadnt updated R and RStudio to latest version, it works now

@nickmckay
Copy link
Owner

nickmckay commented Sep 8, 2020 via email

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