Unable to install packages on RStudio Workbench

I've setup RStudio Teams on AWS using the CloudFormation template provided here:
https://docs.rstudio.com/rstudio-team/cloudformation/

I've logged into RStudio Workbench and i'm trying to install a package:

install.packages('janitor')

However this is crashing the session. Any ideas why this might be the case?

Do you get any error message before the session crashes? If so, please post it here.

Thanks for the response.

Warning: unable to access index for repository http://3.11.79.196/cran/linux/bionic/latest/src/contrib:
cannot open URL 'http://3.11.79.196/cran/linux/bionic/latest/src/contrib/PACKAGES'
04 Jun 2021 13:58:09 [rsession-rstudio-user] ERROR system error 13 (Permission denied) [description: Received stale message with date Fri, 04 Jun 2021 13:51:42 GMT]; OCCURRED AT rstudio::core::Error rstudio::server_core::sessions::verifyRequestSignature(const string&, const string&, const rstudio::core::http::Request&, bool) src/cpp/server_core/sessions/SessionSignature.cpp:139; LOGGED FROM: bool rstudio::session::{anonymous}::verifyRequestSignature(const rstudio::core::http::Request&) src/cpp/session/SessionHttpMethods.cpp:361

Hello @jam_12345,

Since you're on a trial of our professional products, please feel free to reach out to our Premium Support on this issue: How do I submit a Support ticket? – RStudio Support

This seems to me like a connectivity issue, R is not being able to connect to the package repository you have selected, because of the lack of a security certificate, try disabling the secure download setting.

This worked for me. Many thanks!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.