Last updated on 2025-09-13 00:51:14 CEST.
Package | ERROR | OK |
---|---|---|
MiMIR | 4 | 9 |
Current CRAN status: ERROR: 4, OK: 9
Version: 1.5
Check: examples
Result: ERROR
Running examples in ‘MiMIR-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: MetaboWAS
> ### Title: MetaboWAS
> ### Aliases: MetaboWAS
>
> ### ** Examples
>
> require(MiMIR)
> require(plotly)
Loading required package: plotly
Loading required package: ggplot2
Attaching package: ‘plotly’
The following object is masked from ‘package:ggplot2’:
last_plot
The following object is masked from ‘package:stats’:
filter
The following object is masked from ‘package:graphics’:
layout
> require(ggplot2)
>
> #' #load the dataset
> metabolic_measures <- synthetic_metabolic_dataset
> phenotypes <- synthetic_phenotypic_dataset
>
> #Computing a MetaboWAS for age corrected by sex
> MetaboWAS(met=metabolic_measures, pheno=phenotypes, test_variable="age", covariates= "sex")
Error in `ggplot2::scale_y_continuous()`:
! `limits` must be a vector of length 2, not length 7.
Backtrace:
▆
1. └─MiMIR::MetaboWAS(...)
2. └─ggplot2::scale_y_continuous(expand = c(0, 0), limits = c(0, ylim))
3. └─ggplot2::continuous_scale(...)
4. └─ggplot2:::check_continuous_limits(limits, call = call)
5. └─ggplot2:::check_length(limits, 2L, arg = arg, call = call)
6. └─cli::cli_abort(msg, call = call, arg = arg)
7. └─rlang::abort(...)
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 1.5
Check: examples
Result: ERROR
Running examples in ‘MiMIR-Ex.R’ failed
The error most likely occurred in:
> ### Name: MetaboWAS
> ### Title: MetaboWAS
> ### Aliases: MetaboWAS
>
> ### ** Examples
>
> require(MiMIR)
> require(plotly)
Loading required package: plotly
Loading required package: ggplot2
Attaching package: ‘plotly’
The following object is masked from ‘package:ggplot2’:
last_plot
The following object is masked from ‘package:stats’:
filter
The following object is masked from ‘package:graphics’:
layout
> require(ggplot2)
>
> #' #load the dataset
> metabolic_measures <- synthetic_metabolic_dataset
> phenotypes <- synthetic_phenotypic_dataset
>
> #Computing a MetaboWAS for age corrected by sex
> MetaboWAS(met=metabolic_measures, pheno=phenotypes, test_variable="age", covariates= "sex")
Error in `ggplot2::scale_y_continuous()`:
! `limits` must be a vector of length 2, not length 7.
Backtrace:
▆
1. └─MiMIR::MetaboWAS(...)
2. └─ggplot2::scale_y_continuous(expand = c(0, 0), limits = c(0, ylim))
3. └─ggplot2::continuous_scale(...)
4. └─ggplot2:::check_continuous_limits(limits, call = call)
5. └─ggplot2:::check_length(limits, 2L, arg = arg, call = call)
6. └─cli::cli_abort(msg, call = call, arg = arg)
7. └─rlang::abort(...)
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc