- using R Under development (unstable) (2022-06-30 r82540)
- using platform: x86_64-pc-linux-gnu (64-bit)
- using session charset: ISO8859-15
- checking for file 'taxlist/DESCRIPTION' ... OK
- this is package 'taxlist' version '0.2.2'
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package 'taxlist' can be installed ... OK
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking 'build' directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [18s/23s] OK
- checking Rd files ... [1s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of 'data' directory ... OK
- checking data for non-ASCII characters ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [5s/5s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [7s/9s] ERROR
Running 'testthat.R' [7s/8s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # browseURL("https://kbroman.org/pkg_primer/pages/tests.html")
> # browseURL(file.path("https://walczak.org/2017/06",
> # "how-to-add-code-coverage-codecov-to-your-r-package/"))
>
> library(testthat)
> library(taxlist)
>
> test_check("taxlist")
[ FAIL 2 | WARN 4 | SKIP 0 | PASS 124 ]
== Failed tests ================================================================
-- Failure (test-indented_list.R:12:4): Summaries are produced -----------------
grepl("Cyperus", result$output) not equal to TRUE.
1 element mismatch
-- Failure (test-merge_taxa.R:12:4): taxa are merged ---------------------------
grepl("Cyperus", result$output) not equal to TRUE.
1 element mismatch
[ FAIL 2 | WARN 4 | SKIP 0 | PASS 124 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in 'inst/doc' ... OK
- checking re-building of vignette outputs ... [5s/6s] OK
- checking PDF version of manual ... OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR