RStudio Connect: deploying with git2r

Hi,
We are trying to deploy an RMD file to our connect server and getting this error while building deployment package on RStudio Server Pro:


Doing a preliminary debug, we found that deployment fails while installing ‘git2r’ package, specifically mentioning that it ca’nt access libgit2 library. This library is available on the RStudio Server Pro machine and knitting the RMD works. Failure happens while creating a deployment package for Connect. Can you please provide directions on how to resolve this?

This error log is the result of RStudio Connect trying to create the environment needed to run the report. The key part is that the error occurs in Connect. You'll need to install the linux system dependency, libssl-dev on the Connect server.

4 Likes

Installing linux package libssl-dev will resolve the environment dependancy.

1 Like

This topic was automatically closed 21 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.