Heya,
I am trying to deploy an R shiny app. This app uses an R package "pedicure" which I have placed onto GitHub at TolhurstStatisticalConsulting/pedicure. I have installed pedicure onto the R system library from this repository and it works fine. Currently this is a private repository, but the issue discribed below remains regardless of public/private.
pedicure depends on the Matrix package and imports the methods package. I am unsure if this is a package dependency issue, so my apologies if I have posted this issue in the wrong place!
Also note, I have not previously deployed this App so I can't turn the package cache off.
When deploying the app to the shiny server, I encounter the following error. Any advice would be greatly appreciated!
Error: package or namespace load failed for ‘pedicure’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/opt/R/3.5.1/lib/R/library/pedicure/libs/pedicure.so':
/opt/R/3.5.1/lib/R/library/pedicure/libs/pedicure.so: invalid ELF header
Error: loading failed
Execution halted
ERROR: loading failed
- removing ‘/opt/R/3.5.1/lib/R/library/pedicure’
################################# End Task Log #################################
Error: Unhandled Exception: Child Task 683995742 failed: Error building image: Error building pedicure (1.2). Build exited with non-zero status: 1
Execution halted
sessionInfo()
R version 3.5.1 (2018-07-02)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS High Sierra 10.13.6
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRlapack.dylib
locale:
[1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.5.1 rsconnect_0.8.16 tools_3.5.1 curl_3.2 jsonlite_1.5 digest_0.6.15
[7] openssl_1.0.1