Skip to content

Unit tests fail on R-devel: Error (test_build_log_entry.R:69:3): stack trace is correct + Failure (test_build_log_output.R:57:3): log output is correct #64

@aryoda

Description

@aryoda

Prof. Brian Ripley sent an email on Tue, 11 May 2021:

Dear maintainer,

Please see the problems shown on
https://cran.r-project.org/web/checks/check_results_tryCatchLog.html.

Please correct before 2021-05-25 to safely retain your package on CRAN.

The CRAN Team

According to the logs the unit tests fail only on R-devel and R patched:

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.1 2.01 35.14 37.15 ERROR  
r-devel-linux-x86_64-debian-gcc 1.2.1 1.90 27.48 29.38 ERROR  
r-devel-linux-x86_64-fedora-clang 1.2.1     53.43 ERROR  
r-devel-linux-x86_64-fedora-gcc 1.2.1     55.68 ERROR  
r-devel-windows-ix86+x86_64 1.2.1 6.00 61.00 67.00 ERROR  
r-devel-windows-x86_64-gcc10-UCRT 1.2.1       ERROR  
r-patched-linux-x86_64 1.2.1 2.32 34.28 36.60 ERROR  
r-patched-solaris-x86 1.2.1     67.00 ERROR  

The failing unit tests are these three ones:

── Error (test_build_log_entry.R:69:3): stack trace is correct ─────────────────
     Error: invalid 'x' type in 'x && y'
     Backtrace:1. └─testthat::expect_equal(...) test_build_log_entry.R:69:2
     2. ├─testthat::compare(act$val, exp$val, ...)
     3. └─testthat:::compare.character(act$val, exp$val, ...)

and

     ── Failure (test_build_log_output.R:52:3): log output is correct ───────────────
     `out2` not equal to `expected2`.

and

   ── Failure (test_build_log_output.R:57:3): log output is correct ───────────────
     `out3` not equal to `expected2`.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions