CRAN Package Check Results for Package readsdr

Last updated on 2021-03-07 11:51:30 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 4.48 42.15 46.63 OK
r-devel-linux-x86_64-debian-gcc 0.2.0 3.23 33.04 36.27 OK
r-devel-linux-x86_64-fedora-clang 0.2.0 63.95 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 56.35 OK
r-devel-windows-ix86+x86_64 0.2.0 7.00 46.00 53.00 OK
r-devel-windows-x86_64-gcc10-UCRT 0.2.0 OK
r-patched-linux-x86_64 0.2.0 4.22 40.90 45.12 OK
r-patched-solaris-x86 0.2.0 82.30 OK
r-release-linux-x86_64 0.2.0 4.30 40.66 44.96 OK
r-release-macos-x86_64 0.2.0 OK
r-release-windows-ix86+x86_64 0.2.0 6.00 48.00 54.00 OK
r-oldrel-macos-x86_64 0.2.0 ERROR
r-oldrel-windows-ix86+x86_64 0.2.0 5.00 41.00 46.00 ERROR

Check Details

Version: 0.2.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [4s/4s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     `actual_obj` not equal to `expected_obj`.
     Component 1: Component 1: 'current' is not a factor
     Component 1: Component 2: 'current' is not a factor
     Component 1: Component 3: 'current' is not a factor
     Component 2: Component 1: 'current' is not a factor
     Component 2: Component 2: 'current' is not a factor
     Component 2: Component 3: 'current' is not a factor
     Component 3: Component 1: 'current' is not a factor
     Component 3: Component 2: 'current' is not a factor
     Component 3: Component 3: 'current' is not a factor
     ...
    
     [ FAIL 12 | WARN 0 | SKIP 0 | PASS 241 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-macos-x86_64

Version: 0.2.0
Check: tests
Result: ERROR
     Running 'testthat.R' [5s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(readsdr)
     >
     > test_check("readsdr")
     == Failed tests ================================================================
     -- Failure (test-read_xmile.R:99:3): read_xmile() works for a model that has a NOT statement
     from Stella --
     `actual_val` not equal to `expected_val`.
     1/1 mismatches
     [1] 1.25 - 125 == -124
     -- Failure (test-stan_utils.R:20:3): extract_timeseries_var() returns the expected data frame --
     extract_timeseries_var("var", test_df) not equal to `expected_df`.
     Component "variable": Modes: character, numeric
     Component "variable": Attributes: < target is NULL, current is list >
     Component "variable": target is character, current is factor
     -- Failure (test-stan_utils.R:36:3): extract_timeseries_stock() returns the expected data frame --
     extract_timeseries_stock("S2", test_df, test_stocks, "yhat") not equal to `expected_df`.
     Component "stock": Modes: character, numeric
     Component "stock": Attributes: < target is NULL, current is list >
     Component "stock": target is character, current is factor
     -- Failure (test-summaries.R:24:3): sd_stocks() returns the expected data frame --
     sd_stocks(mdl) not equal to data.frame(...).
     Component "name": Attributes: < Component "levels": 2 string mismatches >
     -- Failure (test-xml_model_components.R:91:3): create_level_obj_xmile() returns the expected object --
     `actual_val` not equal to `expected_val`.
     Component "name": 'current' is not a factor
     Component "equation": 'current' is not a factor
     Component "initValue": Mean relative difference: 99
     -- Failure (test-xml_model_components.R:118:3): create_level_obj_xmile() deals with levels with no flows --
     `actual_obj` not equal to `expected_obj`.
     Component "name": 'current' is not a factor
     Component "equation": 'current' is not a factor
     Component "initValue": Mean relative difference: 99
     -- Failure (test-xml_model_components.R:159:3): create_level_obj_xmile() works should levels depend on other levels in init values --
     `actual_obj` not equal to `expected_obj`.
     Component 1: Component 1: 'current' is not a factor
     Component 1: Component 2: 'current' is not a factor
     Component 1: Component 3: Mean relative difference: 24
     Component 2: Component 1: 'current' is not a factor
     Component 2: Component 2: 'current' is not a factor
     Component 2: Component 3: Mean relative difference: 99
     Component 3: Component 1: 'current' is not a factor
     Component 3: Component 2: 'current' is not a factor
     Component 3: Component 3: Mean relative difference: 49
     -- Failure (test-xml_model_components.R:195:3): create_level_obj_xmile() returns the expected object in the presence of multiple outflows --
     `actual_val` not equal to `expected_val`.
     Component "name": 'current' is not a factor
     Component "equation": 'current' is not a factor
     Component "initValue": Mean relative difference: 99
     -- Failure (test-xml_model_components.R:231:3): create_level_obj_xmile() returns the expected object in the presence of multiple inflows --
     `actual_val` not equal to `expected_val`.
     Component "name": 'current' is not a factor
     Component "equation": 'current' is not a factor
     Component "initValue": Mean relative difference: 99
     -- Failure (test-xml_model_components.R:332:3): create_level_obj_xmile() handles stock vectors --
     `actual_obj` not equal to `expected_obj`.
     Component 1: Component 1: 'current' is not a factor
     Component 1: Component 2: 'current' is not a factor
     Component 1: Component 3: Mean relative difference: 99
     Component 2: Component 1: 'current' is not a factor
     Component 2: Component 2: 'current' is not a factor
     Component 2: Component 3: Mean relative difference: 99
     -- Failure (test-xml_model_components.R:342:3): extract_stock_info() handles a stock vector --
     `actual_obj` not equal to `expected_obj`.
     Component 1: Component 1: 'current' is not a factor
     Component 1: Component 2: 'current' is not a factor
     Component 1: Component 3: 'current' is not a factor
     Component 2: Component 1: 'current' is not a factor
     Component 2: Component 2: 'current' is not a factor
     Component 2: Component 3: 'current' is not a factor
     -- Failure (test-xml_model_components.R:374:3): extract_stock_info() handles vector stock with a unique initialisation --
     `actual_obj` not equal to `expected_obj`.
     Component 1: Component 1: 'current' is not a factor
     Component 1: Component 2: 'current' is not a factor
     Component 1: Component 3: 'current' is not a factor
     Component 2: Component 1: 'current' is not a factor
     Component 2: Component 2: 'current' is not a factor
     Component 2: Component 3: 'current' is not a factor
     Component 3: Component 1: 'current' is not a factor
     Component 3: Component 2: 'current' is not a factor
     Component 3: Component 3: 'current' is not a factor
     ...
    
     [ FAIL 12 | WARN 3 | SKIP 0 | PASS 241 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64