Downloading a Package that has been Removed from CRAN

I am trying to install the "Data Mining with R" (DMwR) package. However, when I visit the CRAN website for this package, it seems to be gone:

https://cran.r-project.org/web/packages/DMwR/index.html

Package ‘DMwR’ was removed from the CRAN repository.

Formerly available versions can be obtained from the archive.

Archived on 2021-03-16 as check problems were not corrected despite reminders.

A summary of the most recent check results can be obtained from the check results archive.

I visited the Github page for this library: GitHub - cran/DMwR:  This is a read-only mirror of the CRAN R package repository. DMwR — Functions and data for "Data Mining with R"

Then, I tried to install this package directly from Github:

> library(devtools)

Loading required package: usethis
Warning message:
package ‘usethis’ was built under R version 4.0.5 

> install_github("Luis Torgo/DMwR")

Error: Failed to install 'unknown package' from GitHub:
  JSON: EXPECTED value GOT <

But this also is not working.
Can someone please show me how to install this library?

Thanks

For installing the package from the repository you linked (CRAN mirror) the command would be

remotes::install_github("cran/DMwR")

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.