CRAN Package Check Results for Package readsdr

Last updated on 2021-01-25 00:48:07 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 4.43 42.33 46.76 OK
r-devel-linux-x86_64-debian-gcc 0.2.0 3.19 32.49 35.68 OK
r-devel-linux-x86_64-fedora-clang 0.2.0 64.13 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 55.37 OK
r-devel-windows-ix86+x86_64 0.2.0 8.00 52.00 60.00 OK
r-patched-linux-x86_64 0.2.0 4.16 40.67 44.83 OK
r-patched-solaris-x86 0.2.0 76.70 OK
r-release-linux-x86_64 0.2.0 3.51 40.60 44.11 OK
r-release-macos-x86_64 0.2.0 OK
r-release-windows-ix86+x86_64 0.2.0 5.00 59.00 64.00 OK
r-oldrel-macos-x86_64 0.2.0 ERROR
r-oldrel-windows-ix86+x86_64 0.2.0 5.00 63.00 68.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' [6s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(readsdr)
     >
     > test_check("readsdr")
     == Warnings ====================================================================
     -- Warning (test-simulators.R:146:3): sd_sensitivity_run() works with several cores --
     This function does not suppport parallelisation in WindowsFALSE
     Backtrace:
     1. readsdr::sd_sensitivity_run(...) test-simulators.R:146:2
     2. readsdr:::const_sensitivity(...)
     3. readsdr:::check_win()
     -- Warning (test-simulators.R:152:3): sd_sensitivity_run() works with several cores --
     This function does not suppport parallelisation in WindowsFALSE
     Backtrace:
     1. readsdr::sd_sensitivity_run(...) test-simulators.R:152:2
     2. readsdr:::stock_sensitivity(...)
     3. readsdr:::check_win()
     -- Warning (test-simulators.R:159:3): sd_sensitivity_run() works with several cores --
     This function does not suppport parallelisation in WindowsFALSE
     Backtrace:
     1. readsdr::sd_sensitivity_run(...) test-simulators.R:159:2
     2. readsdr:::const_stock_sensitivity(...)
     3. readsdr:::check_win()
    
     == 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