Closed smwoodman closed 1 week ago
Likely missing these packages: libglpk-dev libxml2-dev
confirmed that adding packages solved the issue.
Hi @k-doering-NOAA - commenting/reopening as per email that I was able to deploy on test, but ran into another 'r-missing-system-library' error on production. Relevant chunk is below, full logs are attached. CruzPlot-prod-deployment-log.log
...
2024/07/09 16:19:07.609646545 Installing lubridate (1.9.3) ...
2024/07/09 16:19:07.610603298 OK (symlinked cache)
2024/07/09 16:19:07.610693286 Installing spatstat.data (3.1-2) ...
2024/07/09 16:19:09.476938831 curl: HTTP 200 https://rspm-sync.rstudio.com/bin/4.4-jammy/e93f3c871000c3727377bd25e5b628eb4b0dd9a7382e48c832a069fa32ac4e38.tar.gz
2024/07/09 16:19:10.145140191 FAILED
2024/07/09 16:19:10.165892738 Error: error testing if 'spatstat.data' can be loaded [error code 1]
2024/07/09 16:19:10.165909676 /opt/R/4.4.0/lib/R/bin/R --vanilla -s -f '/opt/rstudio-connect/mnt/tmp/Rtmph5xA6a/renv-install-87de22b80cda5.R'
2024/07/09 16:19:10.165986205 ================================================================================
2024/07/09 16:19:10.165989742
2024/07/09 16:19:10.166020892 Error in dyn.load(file, DLLpath = DLLpath, ...) :
2024/07/09 16:19:10.166024044 unable to load shared object '/opt/rstudio-connect/mnt/packrat/4.4.0/v2/library/Matrix/dd389af18dd1bfe3c452cffeb10d6630/Matrix/libs/Matrix.so':
2024/07/09 16:19:10.166049005 libRlapack.so: cannot open shared object file: No such file or directory
2024/07/09 16:19:10.166054641 Calls: loadNamespace ... namespaceImport -> loadNamespace -> library.dynam -> dyn.load
2024/07/09 16:19:10.166144859 Execution halted
2024/07/09 16:19:10.166149443
2024/07/09 16:19:10.166165018 Unable to fully restore the R packages associated with this deployment.
2024/07/09 16:19:10.166170806 Please review the preceding messages to determine which package
2024/07/09 16:19:10.166183334 encountered installation difficulty and the cause of the failure.
2024/07/09 16:19:10.166186128
@smwoodman Thanks for reporting, I think this may be similar to the issue we are seeing with your other app. Hopefully solving that will also solve this issue!
fixed
What is the name of the product?
CruzPlot
Link to the product's code, if available (e.g., to the GitHub Source Code)?
https://github.com/SWFSC/cruzplot
Which type of product were you trying to deploy (e.g., Quarto Doc, Shiny App, etc.)?
Shiny app
How were you trying to deploy it (e.g., One click from the Rstudio IDE, Git-backed workflow)?
One click from the RStudio IDE
What did you experience?
the following error message in RStudio:
What do you hope to experience?
Successful deployment