Last updated on 2025-02-16 09:51:04 CET.
Package | ERROR | NOTE | OK |
---|---|---|---|
configural | 15 | ||
correlation | 1 | 14 | |
ggtext | 15 | ||
gridtext | 15 | ||
pipebind | 15 |
Current CRAN status: OK: 15
Current CRAN status: ERROR: 1, OK: 14
Version: 0.8.6
Check: examples
Result: ERROR
Running examples in ‘correlation-Ex.R’ failed
The error most likely occurred in:
> ### Name: cormatrix_to_excel
> ### Title: Easy export of correlation matrix to Excel
> ### Aliases: cormatrix_to_excel
> ### Keywords: Excel correlation matrix
>
> ### ** Examples
>
> ## Don't show:
> if (requireNamespace("openxlsx2", quietly = TRUE)) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf
+ ## End(Don't show)
+ ## Don't show:
+ .old_wd <- setwd(tempdir())
+ ## End(Don't show)
+ # Basic example
+ suppressWarnings(cormatrix_to_excel(mtcars,
+ select = c("mpg", "cyl", "disp", "hp", "carb"), filename = "cormatrix1"
+ ))
+ suppressWarnings(cormatrix_to_excel(iris,
+ p_adjust = "none",
+ filename = "cormatrix2"
+ ))
+ suppressWarnings(cormatrix_to_excel(airquality,
+ method = "spearman",
+ filename = "cormatrix3"
+ ))
+ ## Don't show:
+ setwd(.old_wd)
+ ## End(Don't show)
+ ## Don't show:
+ }) # examplesIf
> .old_wd <- setwd(tempdir())
> suppressWarnings(cormatrix_to_excel(mtcars, select = c("mpg", "cyl", "disp",
+ "hp", "carb"), filename = "cormatrix1"))
# Correlation Matrix (pearson-method)
Parameter | mpg | cyl | disp | hp | carb
---------------------------------------------------------------
mpg | | -0.85*** | -0.85*** | -0.78*** | -0.55**
cyl | -0.85*** | | 0.90*** | 0.83*** | 0.53**
disp | -0.85*** | 0.90*** | | 0.79*** | 0.39*
hp | -0.78*** | 0.83*** | 0.79*** | | 0.75***
carb | -0.55** | 0.53** | 0.39* | 0.75*** |
p-value adjustment method: Holm (1979)
Error: x must be class wbColour
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.8.6
Check: tests
Result: ERROR
Running ‘testthat.R’ [53s/141s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(correlation)
>
> test_check("correlation")
For i = 2 j = 1 A cell entry of 0 was replaced with correct = 0.5. Check your data!
For i = 2 j = 1 A cell entry of 0 was replaced with correct = 0.5. Check your data!
[ FAIL 2 | WARN 125 | SKIP 11 | PASS 124 ]
══ Skipped tests (11) ══════════════════════════════════════════════════════════
• On CRAN (11): 'test-as.list.R:7:3', 'test-correlation.R:172:3',
'test-correlation.R:195:3', 'test-display_print_dataframe.R:2:3',
'test-display_print_dataframe.R:14:3', 'test-display_print_matrix.R:4:3',
'test-display_print_matrix.R:13:3', 'test-display_print_matrix.R:31:3',
'test-methods.R:9:3', 'test-renaming.R:9:3',
'test-selecting_variables.R:28:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-cormatrix_to_excel.R:3:3'): cormatrix_to_excel select ──────────
Error: x must be class wbColour
Backtrace:
▆
1. └─testthat::expect_snapshot(...) at test-cormatrix_to_excel.R:3:3
2. └─rlang::cnd_signal(state$error)
── Error ('test-cormatrix_to_excel.R:16:3'): cormatrix_to_excel p_adjust ───────
Error: x must be class wbColour
Backtrace:
▆
1. └─testthat::expect_snapshot(...) at test-cormatrix_to_excel.R:16:3
2. └─rlang::cnd_signal(state$error)
[ FAIL 2 | WARN 125 | SKIP 11 | PASS 124 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Current CRAN status: OK: 15
Current CRAN status: NOTE: 15
Version: 0.1.5
Check: C++ specification
Result: NOTE
Specified C++11: please drop specification unless essential
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-macos-arm64, r-devel-macos-x86_64, 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-x86_64
Current CRAN status: OK: 15