CRAN Package Check Results for Maintainer ‘Thibaut Jombart <thibautjombart at gmail.com>’

Last updated on 2020-08-07 01:50:35 CEST.

Package ERROR OK
earlyR 12
epitrix 12
projections 2 10

Package earlyR

Current CRAN status: OK: 12

Package epitrix

Current CRAN status: OK: 12

Package projections

Current CRAN status: ERROR: 2, OK: 10

Version: 0.5.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/2s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     > test_check("projections")
     ── 1. Failure: Errors are thrown when they should (@test-project.R#128) ───────
     `project(i, si = si, time_change = 2, R = matrix(1.2))` threw an error with unexpected message.
     Expected match: "`R` must be a `vector` or a `list` if `time_change` provided; it is a `matrix, array`"
     Actual message: "`R` must be a `vector` or a `list` if `time_change` provided; it is a `matrix`"
     Backtrace:
     1. testthat::expect_error(...)
     6. projections::project(i, si = si, time_change = 2, R = matrix(1.2))
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 73 | SKIPPED: 19 | WARNINGS: 0 | FAILED: 1 ]
     1. Failure: Errors are thrown when they should (@test-project.R#128)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-macos-x86_64

Version: 0.5.1
Check: tests
Result: ERROR
     Running 'testthat.R' [3s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(vdiffr)
     > library(distcrete)
     > library(incidence)
     > library(projections)
     > library(outbreaks)
     > library(magrittr)
    
     Attaching package: 'magrittr'
    
     The following objects are masked from 'package:testthat':
    
     equals, is_less_than, not
    
     >
     > test_check("projections")
     -- 1. Failure: Errors are thrown when they should (@test-project.R#128) -------
     `project(i, si = si, time_change = 2, R = matrix(1.2))` threw an error with unexpected message.
     Expected match: "`R` must be a `vector` or a `list` if `time_change` provided; it is a `matrix, array`"
     Actual message: "`R` must be a `vector` or a `list` if `time_change` provided; it is a `matrix`"
     Backtrace:
     1. testthat::expect_error(...)
     6. projections::project(i, si = si, time_change = 2, R = matrix(1.2))
    
     == testthat results ===========================================================
     [ OK: 73 | SKIPPED: 19 | WARNINGS: 0 | FAILED: 1 ]
     1. Failure: Errors are thrown when they should (@test-project.R#128)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64