CRAN Package Check Results for Package bioset

Last updated on 2022-04-27 11:53:50 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.3 2.86 52.68 55.54 NOTE
r-devel-linux-x86_64-debian-gcc 0.2.3 2.26 40.06 42.32 NOTE
r-devel-linux-x86_64-fedora-clang 0.2.3 60.13 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.3 56.08 ERROR
r-devel-windows-x86_64 0.2.3 21.00 76.00 97.00 NOTE
r-patched-linux-x86_64 0.2.3 2.31 49.74 52.05 NOTE
r-release-linux-x86_64 0.2.3 2.41 51.00 53.41 NOTE
r-release-macos-arm64 0.2.3 24.00 NOTE
r-release-macos-x86_64 0.2.3 45.00 NOTE
r-release-windows-x86_64 0.2.3 18.00 81.00 99.00 NOTE
r-oldrel-macos-arm64 0.2.3 27.00 NOTE
r-oldrel-macos-x86_64 0.2.3 36.00 NOTE
r-oldrel-windows-ix86+x86_64 0.2.3 6.00 60.00 66.00 NOTE

Check Details

Version: 0.2.3
Check: LazyData
Result: NOTE
     'LazyData' is specified without a 'data' directory
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.2.3
Check: examples
Result: ERROR
    Running examples in ‘bioset-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: calc_factor_conc
    > ### Title: Get a factor to convert concentrations.
    > ### Aliases: calc_factor_conc
    >
    > ### ** Examples
    >
    > library("dplyr")
    
    Attaching package: ‘dplyr’
    
    The following objects are masked from ‘package:stats’:
    
     filter, lag
    
    The following objects are masked from ‘package:base’:
    
     intersect, setdiff, setequal, union
    
    >
    > # generate test data
    > data <- tibble(
    + sample = c("A", "B", "C"),
    + conc = c(4.5, 2.3, 5.1), # concentration in g / l
    + )
    >
    > fctr_ng_ml <- calc_factor_conc(from = "g/l", to = "ng/ml")
    Error in is.character(x) && nchar(x) > 0 :
     'length = 2' in coercion to 'logical(1)'
    Calls: calc_factor_conc -> canonicalise_units -> %in% -> is_recognised_unit
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.2.3
Check: tests
Result: ERROR
     Running ‘testthat.R’
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(bioset)
     >
     > test_check("bioset")
     [ FAIL 2 | WARN 3 | SKIP 0 | PASS 61 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test_calc.R:6:3): canonicalise_units works as expected ───────────────
     Error in `is.character(x) && nchar(x) > 0`: 'length = 2' in coercion to 'logical(1)'
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test_calc.R:6:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─bioset:::canonicalise_units(" µ l / \tf g\t")
     5. ├─FALSE %in% is_recognised_unit(parts)
     6. └─bioset:::is_recognised_unit(parts)
     ── Error (test_calc.R:65:3): concentration are converted correctly ─────────────
     Error in `is.character(x) && nchar(x) > 0`: 'length = 2' in coercion to 'logical(1)'
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(calc_factor_conc("M", "mM"), 1000) at test_calc.R:65:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─bioset::calc_factor_conc("M", "mM")
     5. └─bioset:::canonicalise_units(from)
     6. ├─FALSE %in% is_recognised_unit(parts)
     7. └─bioset:::is_recognised_unit(parts)
    
     [ FAIL 2 | WARN 3 | SKIP 0 | PASS 61 ]
     Error: Test failures
     Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc