Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

R Package DMwR installation fails due to cran.r-project.org error

Hi, I've been having issues opening reports in BI Desktop where a modal pops up saying "R Packages Required." I try downloading them, but always get hung up when the 'DMwR' package is trying to install.

 

river-phillips_0-1622128238999.png

 

All the other packages seem to be installing fine, except for the DMwR one. I believe the issue is due to the package no longer being available at the source (https://cran.r-project.org). Here is what happens when I click the blue hypertext under DMwR: https://cran.r-project.org/web/packages/DMwR/index.html

 

river-phillips_2-1622128479454.png

 

 

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.

Please use the canonical form https://CRAN.R-project.org/package=DMwR to link to this page.

river-phillips_1-1622128408207.png

 

I already installed R onto my machine. How can I bypass this error and download the DMwR package without going through BI? Any insight will be appreciated.

Status: New
Comments
v-lili6-msft
Community Support

hi

from the page:

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

It has been removed. There are instructions there on how to retrieve it from the archive.

and you may have a try as this post:

https://stackoverflow.com/questions/66923903/why-cant-i-install-the-dmwr-package

 

 

Regards,

Lin