Package is not available for this version of R

I have RStudio Desktop 1.4.1717 and R x64 4.1.1. I am trying to install "diamond" package in RStudio. But getting the below error:
Warning in install.packages :
package ‘diamond’ 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
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages

Please help!

I believe that this is suggesting that the version on CRAN is not yet compatible with your version of R, but that the in-development version on GitHub might be.

When this happens, it can often be helpful to do a websearch for "GitHub [packagename]" - and if you find a GitHub website that sounds like the right package, you can install the in-development version.

Take a look at GitHub - bbuchfink/diamond: Accelerated BLAST compatible local sequence aligner. and see if it looks like the package that you want.

In this case (assuming that this is the right package), you can use remotes::install_github("bbuchfink/diamond") to install the development version and give it a try.

There does not appear to be a 'diamond' package available on CRAN. CRAN Packages By Name - is it possible that you are looking for the 'diamonds' dataset? This is part of the ggplot2 package.

try install.packages("Diamond") . package names are case sensitive. see also
https://stackoverflow.com/questions/25721884/how-should-i-deal-with-package-xxx-is-not-available-for-r-version-x-y-z-wa

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.