pharmaR / riskassessment

Risk Assessment Demo App: https://rinpharma.shinyapps.io/riskassessment
https://pharmar.github.io/riskassessment/
Other
98 stars 24 forks source link

Issue with Opening CRAN URL: 'https://cran.rstudio.com/src/contrib/PACKAGES' #763

Closed paolanh closed 1 month ago

paolanh commented 2 months ago

I'm encountering an issue with the riskassessment app where it cannot open the URL to CRAN when trying to upload packages through the R/mod_uploadPackage.R and R/mod_packegeDependecies.R. The specific error message I receive is:

warning

R version: 4.2.1

This issue occurs when I attempt to upload a package using the provided UI in the app.

The app fails to open the URL to CRAN, which prevents any further action from completing successfully.

Could someone please help diagnose this issue or provide a workaround? Thank you for your assistance!

aclark02-arcus commented 2 months ago

Hi @paolanh! Thanks for opening an issue. Unfortunately, I wasn't able to replicate the issue from the master branch. So, I have a couple questions:

If that CRAN mirror is truly the issue, the dev branch actually has a new feature that allows the app deployer to change the package repo to one of your choice using the inst/db-config.yml file as seen here. So it could be worth a try testing that out. We do hope to merge our dev branch into master soon (within the next week or so).

Please report back and let me know how it goes!

paolanh commented 1 month ago

Hi @aclark02-arcus,

Thank you for your response, and apologies for my delayed reply; we had paused the implementation of this project. It appears the issue is related to Posit Connect—on a personal computer, the app works well. We'll now collaborate with our IT department to find a solution. Thanks again!