Hi,
we are having a very strange situation with our Ubuntu installation of Posit Workbench. Everything generally works fine, except when we initialise a new project using renv. All users are getting the same problem. Once the project is initialised with renv::init() we cannot install new packages and get this error:
install.packages('lubridate')
renv was unable to query available packages from the following repositories:
Index of /src/contrib ------------------------------------
error downloading 'https://cloud.r-project.org/src/contrib/PACKAGES.rds' [error in running command]
error downloading 'https://cloud.r-project.org/src/contrib/PACKAGES.gz' [error in running command]
error downloading 'https://cloud.r-project.org/src/contrib/PACKAGES' [error in running command]
Error: package 'lubridate' is not available
$ /usr/local/bin/curl --version ----------------------------------------------
error in running command
Error executing '/usr/local/bin/curl --version': is your copy of curl functional?
We have been trying everything (except reinstalling libcurl as it means reinstalling Posit Connect). Also to clarify that outside of a project where renv has been initiated curl works fine and there are no problems installing packages.
Any pointers would be appreciated!