ConesaLab/SQANTI3

Issue generating rules filter report.

tinatucci opened this issue · 2 comments

Hi,

I am able to filter all my qc files with the rules filter just fine, however the filter report doesn't generate.

Reading Rules result classification table...
Loading required package: ggplot2
Warning message:
package ‘ggplot2’ was built under R version 4.3.3
Error in contrib.url(repos, type) :
trying to use CRAN without setting a mirror
Calls: suppressMessages ... withCallingHandlers -> install.packages -> startsWith -> contrib.url
Execution halted

I saw a similar issue in another post (below) however I'm not sure how to resolve this issue. I haven't used the argument --skip_report either.

          Hello @aarzalluz, thank you for your quick response.

I checked the log and it reported that the ML filter finished successfully. When creating the report it reports a warning about ggplot:

ℹ Use spec() to retrieve the full column specification for this data.
ℹ Specify the column types or set show_col_types = FALSE to quiet this message.
Loading required package: ggplot2
Warning message:
package ‘ggplot2’ was built under R version 4.3.3
Error in contrib.url(repos, type) :
trying to use CRAN without setting a mirror
Calls: suppressMessages ... withCallingHandlers -> install.packages -> startsWith -> contrib.url
Execution halted

I guess this caused the problem. However, I followed the installation instructions on the wiki.

Originally posted by @klenhart in #301 (comment)

Hi @tinatucci,
It seems you are using a newer version of R than the one we used to create the conda environment. We will add "updating the environment" to our to-do list. In the meantime, you can set a mirror for CRAN to look for ggplot and update it in your conda installation. You can do so following the steps suggested in this solution: here.
Best,
Carolina.

The solution on #259 has been implemented in the filter report script 96397a9. Therefore, this shouldn't be a problem anymore.