R Under development (unstable) (2024-02-10 r85885 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(MiscMetabar) Loading required package: phyloseq Loading required package: ggplot2 Loading required package: dada2 Loading required package: Rcpp Loading required package: dplyr Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union > > test_check("MiscMetabar") Starting 2 test processes ✔ Updated metadata database: 5.21 MB in 15 files. ℹ Updating metadata database ✔ Updating metadata database ... done → Will install 2 packages. → Will download 2 CRAN packages (5.91 MB). + abc 2.2.1 [dl] (1.00 MB) + abc.data 1.0 [dl] (4.91 MB) ℹ Getting 2 pkgs (5.91 MB) ✔ Got abc 2.2.1 (i386+x86_64-w64-mingw32) (1.00 MB) ✔ Got abc.data 1.0 (i386+x86_64-w64-mingw32) (4.91 MB) ✔ Installed abc.data 1.0 (148ms) ✔ Installed abc 2.2.1 (88ms) ✔ 1 pkg + 10 deps: kept 9, added 2, dld 2 (5.91 MB) [26s] [ FAIL 0 | WARN 1 | SKIP 16 | PASS 428 ] ══ Skipped tests (16) ══════════════════════════════════════════════════════════ • On CRAN (3): 'test_krona.R:7:3', 'test_figures_taxo.R:355:3', 'test_misc.R:103:3' • On Windows (13): 'test_figures_beta_div.R:196:3', 'test_figures_beta_div.R:372:3', 'test_figures_beta_div.R:383:3', 'test_figures_misc.R:10:3', 'test_figures_misc.R:17:3', 'test_figures_taxo.R:16:3', 'test_figures_taxo.R:389:3', 'test_phyloseq_class.R:93:3', 'test_rw.R:36:3', 'test_table_functions.R:5:3', 'test_table_functions.R:16:3', 'test_targets.R:81:3', 'test_targets.R:123:3' [ FAIL 0 | WARN 1 | SKIP 16 | PASS 428 ] > > # expect_equal() is equal within small numerical tolerance? > # expect_identical() is exactly equal? > # expect_match() matches specified string or regular > # expect_output() prints specified output? > # expect_message() displays specified message? > # expect_warning() displays specified warning? > # expect_error() throws specified error? > # expect_is() output inherits from certain class? > # expect_false() returns FALSE? > # expect_true() returns TRUE? > > ## expect_error(1 / "a", "non-numeric argument") > ## expect_warning(log(-1), "NaNs produced") > > proc.time() user system elapsed 11.73 0.82 451.43