I want to publish a leaflet plot I did in R, but I get a message saying I need to get an updated version of RSConnect. But when I try to install it, it fails. I'm seeing a number of errors:
ERROR: compilation failed for package 'PKI'
"** package 'rlang' successfully unpacked and MD5 sums checked ERROR: cannot remove earlier installation, is it in use?"
ERROR: compilation failed for package 'openssl'
and finally
1: In utils::install.packages("openssl") : installation of package 'openssl' had non-zero exit status 2: In utils::install.packages("PKI") : installation of package 'PKI' had non-zero exit status 3: In utils::install.packages("rlang") : installation of package 'rlang' had non-zero exit status 4: In utils::install.packages("rsconnect", type = "source") : installation of package 'openssl' had non-zero exit status 5: In utils::install.packages("rsconnect", type = "source") : installation of package 'PKI' had non-zero exit status 6: In utils::install.packages("rsconnect", type = "source") : installation of package 'rlang' had non-zero exit status 7: In utils::install.packages("rsconnect", type = "source") : installation of package 'rsconnect' had non-zero exit status
Any advice?