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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
Anonymous
Not applicable

Error when refreshing report with R script 'there is no package called...'

I've built a report using some R script to transform some data imported from SQL server. It refreshes fine on the desktop mode, however once published it throws the following error when trying to refresh:

 

"Underlying error messageADO.NET: R script error. Error in library(tidyverse) : there is no package called 'tidyverse' Execution halted"

 

The R script references the tidyverse package with "library(tidyverse)" but it appears the service can't find it.

Any idea how to fix this?

2 REPLIES 2
Icey
Community Support
Community Support

Hi @Anonymous ,

 

Is this problem solved?


If it is solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.


If not, please let me know.


Best Regards
Icey

Icey
Community Support
Community Support

Hi @Anonymous ,

1. Please keep your ‘tidyverse’ package consistent with that provided in the official documentation.

    The ‘tidyverse’ package version is 1.2.1 and here's the link.

2. Here are some documents which may help you:

Power BI: R Home Directory vs Library Trees

Error when running make: "there is no package called ..." + solution

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.