How to use a Rpackage not available in version 4.0.0

Hey all, does anyone know how to use a package that is not available for version 4.0.0?

I really want to use that package but I don't want to reinstall the older version

Thanks!

Hi @Learning,
You don't tell us what the mystery package is called!
You can try downloading the old-version tarball source code from CRAN (or other repos) and then compile and install on your machine using:

install.packages(path_to_file, repos = NULL, type="source")

If you are on Windows, you will need to have Rtools40 installed as well. Note that Rtools40 is NOT an R package but add-on software that is also available from CRAN.
However, there may be a very good reason why the package is not (yet) available for R-4.0.0, e.g. incompatibility. Maybe useful to first check the package's blog or website for any further information (e.g. GitHub).
HTH

1 Like

Thank you very much for this!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.