Hello, I need to download a package named esquisser but I when i try I only got warning messages!
Installing package into ‘/home/agnesforsgren/R/x86_64-pc-linux-gnu-library/4.2’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘esquisser’ is not available for this version of R
I have the latest version of R. I have try diffrent ways but I do not understand where the error is. Can someone help me?
Installing package into ‘/home/agnesforsgren/R/x86_64-pc-linux-gnu-library/4.2’
(as ‘lib’ is unspecified)
also installing the dependencies ‘curl’, ‘rio’, ‘datamods’
Installing package into ‘/home/agnesforsgren/R/x86_64-pc-linux-gnu-library/4.2’
(as ‘lib’ is unspecified)
also installing the dependencies ‘curl’, ‘rio’, ‘datamods’
installing source package ‘curl’ ...
** package ‘curl’ successfully unpacked and MD5 sums checked
** using staged installation
Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing libcurl.pc' to the PKG_CONFIG_PATH environment variable No package 'libcurl' found Package libcurl was not found in the pkg-config search path. Perhaps you should add the directory containing libcurl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcurl' found
Using PKG_CFLAGS=
Using PKG_LIBS=-lcurl
------------------------- ANTICONF ERROR ---------------------------
Configuration failed because libcurl was not found. Try installing:
deb: libcurl4-openssl-dev (Debian, Ubuntu, etc)
rpm: libcurl-devel (Fedora, CentOS, RHEL)
csw: libcurl_dev (Solaris)
If libcurl is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a libcurl.pc file. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
ERROR: configuration failed for package ‘curl’
removing ‘/home/agnesforsgren/R/x86_64-pc-linux-gnu-library/4.2/curl’
Warning in install.packages :
installation of package ‘curl’ had non-zero exit status
ERROR: dependency ‘curl’ is not available for package ‘rio’
removing ‘/home/agnesforsgren/R/x86_64-pc-linux-gnu-library/4.2/rio’
Warning in install.packages :
installation of package ‘rio’ had non-zero exit status
ERROR: dependency ‘rio’ is not available for package ‘datamods’
removing ‘/home/agnesforsgren/R/x86_64-pc-linux-gnu-library/4.2/datamods’
Warning in install.packages :
installation of package ‘datamods’ had non-zero exit status
ERROR: dependency ‘datamods’ is not available for package ‘esquisse’
removing ‘/home/agnesforsgren/R/x86_64-pc-linux-gnu-library/4.2/esquisse’
Warning in install.packages :
installation of package ‘esquisse’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpWPhUdx/downloaded_packages’
If you are on Ubuntu, Dirk Eddelbuettel's r2u pre-compiled binaries will minimize package installation and maintenance woes. All download and no compile. It's not quite dead simple to set up and there is some flailing around, but once you have the hang of it, it's catnip.