plumberDeploy error to install

Hello,
I'm new with R and I am installing plumberDeploy in an ubuntu 20.04 vm, but when I run the instruction

install.packages("plumberDeploy") or install.packages("plumberDeploy", dependencies = TRUE)

I have the errors in the installation, below some of them:

> install.packages("plumberDeploy")

Installing package into ‘/usr/local/lib/R/site-library’

(as ‘lib’ is unspecified)

also installing the dependencies ‘mime’, ‘openssl’, ‘sys’, ‘httr’, ‘yaml’, ‘credentials’, ‘askpass’, ‘analogsea’, ‘ssh’

trying URL 'https://cloud.r-project.org/src/contrib/mime_0.11.tar.gz'

Content type 'application/x-gzip' length 12523 bytes (12 KB)

==================================================

downloaded 12 KB

trying URL 'https://cloud.r-project.org/src/contrib/openssl_1.4.4.tar.gz'

Content type 'application/x-gzip' length 1311285 bytes (1.3 MB)

==================================================

downloaded 1.3 MB

trying URL 'https://cloud.r-project.org/src/contrib/sys_3.4.tar.gz'

Content type 'application/x-gzip' length 20138 bytes (19 KB)

==================================================

downloaded 19 KB

trying URL 'https://cloud.r-project.org/src/contrib/httr_1.4.2.tar.gz'

Content type 'application/x-gzip' length 159950 bytes (156 KB)

==================================================

downloaded 156 KB

trying URL 'https://cloud.r-project.org/src/contrib/yaml_2.2.1.tar.gz'

Content type 'application/x-gzip' length 92670 bytes (90 KB)

==================================================

downloaded 90 KB

trying URL 'https://cloud.r-project.org/src/contrib/credentials_1.3.1.tar.gz'

Content type 'application/x-gzip' length 230470 bytes (225 KB)

==================================================

downloaded 225 KB

trying URL 'https://cloud.r-project.org/src/contrib/askpass_1.1.tar.gz'

Content type 'application/x-gzip' length 5730 bytes

==================================================

downloaded 5730 bytes

trying URL 'https://cloud.r-project.org/src/contrib/analogsea_1.0.0.tar.gz'

Content type 'application/x-gzip' length 97795 bytes (95 KB)

==================================================

downloaded 95 KB

trying URL 'https://cloud.r-project.org/src/contrib/ssh_0.8.0.tar.gz'

Content type 'application/x-gzip' length 1110079 bytes (1.1 MB)

==================================================

downloaded 1.1 MB

trying URL 'https://cloud.r-project.org/src/contrib/plumberDeploy_0.2.1.tar.gz'

Content type 'application/x-gzip' length 15734 bytes (15 KB)

==================================================

downloaded 15 KB

* installing *source* package ‘mime’ ...

** package ‘mime’ successfully unpacked and MD5 sums checked

** using staged installation

** libs

sh: 1: make: not found

Warning in system(cmd) : error in running command

ERROR: compilation failed for package ‘mime’

* removing ‘/usr/local/lib/R/site-library/mime’

* installing *source* package ‘sys’ ...

** package ‘sys’ successfully unpacked and MD5 sums checked

** using staged installation

** libs

sh: 1: make: not found

Warning in system(cmd) : error in running command

ERROR: compilation failed for package ‘sys’

* removing ‘/usr/local/lib/R/site-library/sys’

* installing *source* package ‘yaml’ ...

** package ‘yaml’ successfully unpacked and MD5 sums checked

** using staged installation

** libs

sh: 1: make: not found

Warning in system(cmd) : error in running command

ERROR: compilation failed for package ‘yaml’

* removing ‘/usr/local/lib/R/site-library/yaml’

ERROR: dependency ‘sys’ is not available for package ‘askpass’

* removing ‘/usr/local/lib/R/site-library/askpass’

ERROR: dependency ‘askpass’ is not available for package ‘openssl’

* removing ‘/usr/local/lib/R/site-library/openssl’

ERROR: dependencies ‘mime’, ‘openssl’ are not available for package ‘httr’

* removing ‘/usr/local/lib/R/site-library/httr’

ERROR: dependencies ‘openssl’, ‘sys’, ‘askpass’ are not available for package ‘credentials’

* removing ‘/usr/local/lib/R/site-library/credentials’

ERROR: dependencies ‘httr’, ‘yaml’ are not available for package ‘analogsea’

* removing ‘/usr/local/lib/R/site-library/analogsea’

ERROR: dependencies ‘credentials’, ‘askpass’ are not available for package ‘ssh’

* removing ‘/usr/local/lib/R/site-library/ssh’

ERROR: dependencies ‘analogsea’, ‘ssh’ are not available for package ‘plumberDeploy’

* removing ‘/usr/local/lib/R/site-library/plumberDeploy’

The downloaded source packages are in

‘/tmp/RtmpXYyIJ8/downloaded_packages’

Warning messages:

1: In install.packages("plumberDeploy") :

installation of package ‘mime’ had non-zero exit status

2: In install.packages("plumberDeploy") :

installation of package ‘sys’ had non-zero exit status

3: In install.packages("plumberDeploy") :

installation of package ‘yaml’ had non-zero exit status

4: In install.packages("plumberDeploy") :

installation of package ‘askpass’ had non-zero exit status

5: In install.packages("plumberDeploy") :

installation of package ‘openssl’ had non-zero exit status

6: In install.packages("plumberDeploy") :

installation of package ‘httr’ had non-zero exit status

7: In install.packages("plumberDeploy") :

installation of package ‘credentials’ had non-zero exit status

8: In install.packages("plumberDeploy") :

installation of package ‘analogsea’ had non-zero exit status

9: In install.packages("plumberDeploy") :

installation of package ‘ssh’ had non-zero exit status

10: In install.packages("plumberDeploy") :

installation of package ‘plumberDeploy’ had non-zero exit status

Please help me, thanks,

You are missing OS dependencies to compile some packages. Some packages depend on OS libraries or tools.

How to install make ubuntu package on Ubuntu 20.04/Ubuntu 18.04/Ubuntu 19.04/Ubuntu 16.04 (zoomadmin.com)

Thank you, you help me a lot :grinning: :grinning: :grinning:

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.