CRAN Package Check Results for Package visOmopResults

Last updated on 2024-09-12 05:49:56 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.0 5.69 141.71 147.40 OK
r-devel-linux-x86_64-debian-gcc 0.3.0 3.68 70.20 73.88 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.0 219.79 OK
r-devel-linux-x86_64-fedora-gcc 0.3.0 240.71 OK
r-devel-windows-x86_64 0.3.0 8.00 131.00 139.00 OK
r-patched-linux-x86_64 0.3.0 4.89 134.24 139.13 OK
r-release-linux-x86_64 0.3.0 6.14 135.01 141.15 OK
r-release-macos-arm64 0.3.0 66.00 OK
r-release-macos-x86_64 0.3.0 92.00 OK
r-release-windows-x86_64 0.3.0 6.00 132.00 138.00 OK
r-oldrel-macos-arm64 0.3.0 65.00 OK
r-oldrel-macos-x86_64 0.3.0 124.00 OK
r-oldrel-windows-x86_64 0.3.0 9.00 164.00 173.00 OK

Check Details

Version: 0.3.0
Check: package dependencies
Result: NOTE Packages suggested but not available for checking: 'flextable', 'officer' Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.0
Check: examples
Result: ERROR Running examples in ‘visOmopResults-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: fxTable > ### Title: Creates a flextable object from a dataframe > ### Aliases: fxTable > > ### ** Examples > > mockSummarisedResult() |> + formatEstimateValue(decimals = c(integer = 0, numeric = 1)) |> + formatHeader(header = c("Study strata", "strata_name", "strata_level"), + includeHeaderName = FALSE) |> + fxTable( + style = "default", + na = "--", + title = "fxTable example", + subtitle = NULL, + caption = NULL, + groupColumn = "group_level", + groupAsColumn = TRUE, + groupOrder = c("cohort1", "cohort2"), + colsToMergeRows = "all_columns" + ) Error in fxTable(formatHeader(formatEstimateValue(mockSummarisedResult(), : The package "flextable" is required. Calls: fxTable -> <Anonymous> Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ [28s/20s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(visOmopResults) > > test_check("visOmopResults") Starting 2 test processes [ FAIL 6 | WARN 0 | SKIP 0 | PASS 273 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-fxTable.R:9:3'): fxTable ─────────────────────────────────────── <rlib_error_package_not_found/rlang_error/error/condition> Error in `fxTable(table_to_format, style = list(header = list(cell = officer::fp_cell(background.color = "#c8c8c8"), text = officer::fp_text(bold = TRUE)), header_name = list(cell = officer::fp_cell(background.color = "#d9d9d9"), text = officer::fp_text(bold = TRUE)), header_level = list(cell = officer::fp_cell(background.color = "#e1e1e1"), text = officer::fp_text(bold = TRUE)), column_name = list(text = officer::fp_text(bold = TRUE)), title = list(text = officer::fp_text(bold = TRUE, color = "blue"))), na = NULL, title = "Test 1", subtitle = NULL, caption = NULL, groupColumn = NULL, groupAsColumn = FALSE, groupOrder = NULL)`: The package "flextable" is required. Backtrace: ▆ 1. └─visOmopResults::fxTable(...) at test-fxTable.R:9:3 2. └─rlang::check_installed("flextable") ── Error ('test-fxTable.R:170:3'): fxTable, test default styles and NULL ─────── <rlib_error_package_not_found/rlang_error/error/condition> Error in `fxTable(table_to_format, style = NULL, na = NULL, title = "Test 1", subtitle = NULL, caption = NULL, groupColumn = NULL, groupAsColumn = FALSE, groupOrder = NULL)`: The package "flextable" is required. Backtrace: ▆ 1. └─visOmopResults::fxTable(...) at test-fxTable.R:170:3 2. └─rlang::check_installed("flextable") ── Error ('test-fxTable.R:258:3'): fxTable, test colsToMergeRows ─────────────── <rlib_error_package_not_found/rlang_error/error/condition> Error in `fxTable(x = table_to_format, style = "default", na = "-", title = "Title test 2", subtitle = "Subtitle for test 2", caption = "*This* is the caption", groupColumn = "group_level", groupAsColumn = FALSE, groupOrder = NULL, colsToMergeRows = "all_columns")`: The package "flextable" is required. Backtrace: ▆ 1. └─visOmopResults::fxTable(...) at test-fxTable.R:258:3 2. └─rlang::check_installed("flextable") ── Failure ('test-visOmopTable.R:45:3'): visOmopTable ────────────────────────── Expected `... <- NULL` to run without any errors. i Actually got a <rlib_error_package_not_found> with text: The package "flextable" is required. Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-visOmopTable.R:45:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─testthat::expect_no_error(...) ── Error ('test-visOmopTable.R:58:3'): visOmopTable ──────────────────────────── Error in `eval(code, test_env)`: object 'fx1' not found Backtrace: ▆ 1. └─testthat::expect_true("flextable" == class(fx1)) at test-visOmopTable.R:58:3 2. └─testthat::quasi_label(enquo(object), label, arg = "object") 3. └─rlang::eval_bare(expr, quo_get_env(quo)) ── Error ('test-visOmopTable.R:197:3'): renameColumn works ───────────────────── <rlib_error_package_not_found/rlang_error/error/condition> Error in `visOmopResults::fxTable(x, delim = .options$delim, style = .options$style, na = .options$na, title = .options$title, subtitle = .options$subtitle, caption = .options$caption, groupColumn = newGroupcolumn, groupAsColumn = .options$groupAsColumn, groupOrder = .options$groupOrder, colsToMergeRows = .options$colsToMergeRows)`: The package "flextable" is required. Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-visOmopTable.R:197:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─testthat::expect_warning(...) 8. │ └─testthat:::expect_condition_matching(...) 9. │ └─testthat:::quasi_capture(...) 10. │ ├─testthat (local) .capture(...) 11. │ │ └─base::withCallingHandlers(...) 12. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 13. └─visOmopResults::visOmopTable(...) 14. └─visOmopResults::fxTable(...) 15. └─rlang::check_installed("flextable") [ FAIL 6 | WARN 0 | SKIP 0 | PASS 273 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘formatFunctions.Rmd’ using rmarkdown Quitting from lines 171-191 [unnamed-chunk-9] (formatFunctions.Rmd) Error: processing vignette 'formatFunctions.Rmd' failed with diagnostics: The package "flextable" is required. --- failed re-building ‘formatFunctions.Rmd’ --- re-building ‘splitAndUnite.Rmd’ using rmarkdown --- finished re-building ‘splitAndUnite.Rmd’ --- re-building ‘tidy.Rmd’ using rmarkdown --- finished re-building ‘tidy.Rmd’ SUMMARY: processing the following file failed: ‘formatFunctions.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc