Installation of packages which do not seem to have a version matching the version of R

Newbie here again.
R : 4.3.0
RStudio: 2023.03.0
I'm trying to install the 'plumber' package
which provides an HTTP web service for R.
Initial failure messages guided me to deb-specific packages for libsodium and libcurl, which I have attempted to install, with the following results:

Installation is failing because (it is claimed):

Warning in install.packages :
package ‘libsodium-dev’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at
R Installation and Administration

That 'ideas' page does not seem to have suggestions matching this situation.

I get the same message for

package ‘libcurl4-openssl-dev’ is not available for this version of R

I think (after useful help here yesterday) I've managed to install the latest version of R, but it seems that the two dependencies above have failed because they do not have versions matching my version of R.

Is it really the case that one has to wait for all third-party packages to be explicitly released to match each upgrade of R, or is there some way of loading packages released to an earlier version of R?

Those are packages for your operating system. You can possibly install them using

sudo apt-get install libsodium-dev libcurl4-openssl-dev

from a terminal, or however you normally install packages for your OS.

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.