Closed MominUmair closed 3 months ago
@MominUmair just to clarify, you are saying that jsonlite v1.8.8 is installed, but when publishing the app, you are getting the not found error?
@jthompson-arcus yes, the jsonlite v1.8.8 is installed and available for the project, but when I am publishing the app, it is failing with "there is no project called jsonlite".
Hi @MominUmair, let's put this issue on hold to see how things go once this branch has been deployed on Posit Connect.
Taking this issue off hold since deployment using a public Posit Connect is no longer an option!
@MominUmair can you provide more details on why you think this is an issue with the application instead of the deployment environment?
Hi @jthompson-arcus ,we have 3 R versions available on the server and all have jsonlite installed , but the app is not taking it, however I am checking on the environment side , is it possible for you share any other branch , just to confirm it is not on the infra side.
Hi @MominUmair, why don't you give demo-shinyapps.io-v310
a try?
https://github.com/pharmaR/riskassessment/tree/demo-shinyapps.io-v310
Hi @aclark02-arcus , the issue got resolved, it was failing due to mismatch in the lib path of the renv. the renv installed the packages under the home dir of the user and shiny servers using default system library path. after adding below parameter in the settings.dcf file of the renv folder and reconfiguring the renv resolved the issue. RENV_PATHS_LIBRARY=/opt/R/4.3.3/lib/R/library the app is up now, you can close this ticket
when we are trying to publish the app, it is failing with jsonlite package not found error. And the package is available with 1.8.8 version. I am using R 4.3.3 with [this branch (demo-procogia-v310)] I also installed the other dependencies as mentioned. Please see screen shots.