I have been having issues intalling the package. When install it says:
`> devtools::install_github("cardiomoon/webr")
Downloading GitHub repo cardiomoon/webr@HEAD
── R CMD build ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ checking for file ‘/private/var/folders/ml/s3851ylx2rv93hwzkjzfgnwh0000gn/T/Rtmp1yWHbr/remotesa73745291d/cardiomoon-webr-6e411bd/DESCRIPTION’ (371ms)
─ preparing ‘webr’:
✔ 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 ‘webr_0.1.6.tar.gz’
- installing source package ‘webr’ ...
** using staged installation
** R
** inst
** 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.2-arm64/Resources/library/devEMF/libs/devEMF.so':
dlopen(/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/devEMF/libs/devEMF.so, 6): Library not loaded: /opt/X11/lib/libXft.2.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/devEMF/libs/devEMF.so
Reason: image not found
Calls: ... asNamespace -> loadNamespace -> library.dynam -> dyn.load
Execution halted
ERROR: lazy loading failed for package ‘webr’
- removing ‘/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/webr’
Warning message:
In i.p(...) :
installation of package ‘/var/folders/ml/s3851ylx2rv93hwzkjzfgnwh0000gn/T//Rtmp1yWHbr/filea734d8e32a5/webr_0.1.6.tar.gz’ had non-zero exit status1yWHbr/filea734d8e32a5/webr_0.1.6.tar.gz’ had non-zero exit status`
Any advice to solve this?
I have been having issues intalling the package. When install it says:
`> devtools::install_github("cardiomoon/webr")
Downloading GitHub repo cardiomoon/webr@HEAD
── R CMD build ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ checking for file ‘/private/var/folders/ml/s3851ylx2rv93hwzkjzfgnwh0000gn/T/Rtmp1yWHbr/remotesa73745291d/cardiomoon-webr-6e411bd/DESCRIPTION’ (371ms)
─ preparing ‘webr’:
✔ 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 ‘webr_0.1.6.tar.gz’
** using staged installation
** R
** inst
** 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.2-arm64/Resources/library/devEMF/libs/devEMF.so':
dlopen(/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/devEMF/libs/devEMF.so, 6): Library not loaded: /opt/X11/lib/libXft.2.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/devEMF/libs/devEMF.so
Reason: image not found
Calls: ... asNamespace -> loadNamespace -> library.dynam -> dyn.load
Execution halted
ERROR: lazy loading failed for package ‘webr’
Warning message:
In i.p(...) :
installation of package ‘/var/folders/ml/s3851ylx2rv93hwzkjzfgnwh0000gn/T//Rtmp1yWHbr/filea734d8e32a5/webr_0.1.6.tar.gz’ had non-zero exit status1yWHbr/filea734d8e32a5/webr_0.1.6.tar.gz’ had non-zero exit status`
Any advice to solve this?