Last updated on 2020-06-15 08:53:13 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.0.5 | 29.23 | 53.84 | 83.07 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.0.5 | 20.46 | 41.78 | 62.24 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.0.5 | 113.23 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.0.5 | 99.68 | ERROR | |||
r-devel-windows-ix86+x86_64 | 0.0.5 | 78.00 | 99.00 | 177.00 | ERROR | |
r-patched-linux-x86_64 | 0.0.5 | 20.84 | 52.54 | 73.38 | ERROR | |
r-patched-solaris-x86 | 0.0.5 | 119.50 | ERROR | |||
r-release-linux-x86_64 | 0.0.5 | 20.20 | 52.28 | 72.48 | ERROR | |
r-release-osx-x86_64 | 0.0.5 | OK | ||||
r-release-windows-ix86+x86_64 | 0.0.5 | 73.00 | 132.00 | 205.00 | ERROR | |
r-oldrel-osx-x86_64 | 0.0.5 | OK | ||||
r-oldrel-windows-ix86+x86_64 | 0.0.5 | 76.00 | 120.00 | 196.00 | ERROR |
Version: 0.0.5
Check: tests
Result: ERROR
Running 'testthat.R' [6s/7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(expstudies)
>
> test_check("expstudies")
-- 1. Failure: Correct handling of end dates prior to start dates (@test-exposur
all.equal(addExposures(two_records_one_late), good_PY) not equal to TRUE.
Types not compatible: character is not logical
-- 2. Failure: Policy year exposure calculation works (@test-exposure_functions.
all.equal(addExposures(record_start, type = "PY"), good_PY) not equal to TRUE.
Types not compatible: character is not logical
-- 3. Failure: Policy month exposure calculation works (@test-exposure_functions
all.equal(addExposures(record_start, type = "PM"), good_PM) not equal to TRUE.
Types not compatible: character is not logical
-- 4. Failure: Policy year with calendar year exposure calculation works, mid an
all.equal(addExposures(record_mid, type = "PYCY"), good_PYCY_mid) not equal to TRUE.
Types not compatible: character is not logical
-- 5. Failure: Policy year with calendar year exposure calculation works, mid an
all.equal(addExposures(record_start, type = "PYCY"), good_PYCY_start) not equal to TRUE.
Types not compatible: character is not logical
-- 6. Failure: Policy year with calendar month exposure calculation works, mid a
all.equal(addExposures(record_mid, type = "PYCM"), good_PYCM_mid) not equal to TRUE.
Types not compatible: character is not logical
-- 7. Failure: Policy year with calendar month exposure calculation works, mid a
all.equal(addExposures(record_start, type = "PYCM"), good_PYCM_start) not equal to TRUE.
Types not compatible: character is not logical
-- 8. Failure: Policy month with calendar year exposure calculation works, mid a
all.equal(addExposures(record_mid, type = "PMCY"), good_PMCY_mid) not equal to TRUE.
Types not compatible: character is not logical
-- 9. Failure: Policy month with calendar year exposure calculation works, mid a
all.equal(addExposures(record_start, type = "PMCY"), good_PMCY_start) not equal to TRUE.
Types not compatible: character is not logical
-- 10. Failure: Policy month with calendar month exposure calculation works, mid
all.equal(addExposures(record_mid, type = "PMCM"), good_PMCM_mid) not equal to TRUE.
Types not compatible: character is not logical
-- 11. Failure: Policy month with calendar month exposure calculation works, mid
all.equal(addExposures(record_start, type = "PMCM"), good_PMCM_start) not equal to TRUE.
Types not compatible: character is not logical
-- 12. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 13. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 14. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 15. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 16. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 17. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
== testthat results ===========================================================
[ OK: 9 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 17 ]
1. Failure: Correct handling of end dates prior to start dates (@test-exposure_functions.R#20)
2. Failure: Policy year exposure calculation works (@test-exposure_functions.R#30)
3. Failure: Policy month exposure calculation works (@test-exposure_functions.R#33)
4. Failure: Policy year with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#36)
5. Failure: Policy year with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#37)
6. Failure: Policy year with calendar month exposure calculation works, mid and start (@test-exposure_functions.R#40)
7. Failure: Policy year with calendar month exposure calculation works, mid and start (@test-exposure_functions.R#41)
8. Failure: Policy month with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#44)
9. Failure: Policy month with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#45)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.0.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [5s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(expstudies)
>
> test_check("expstudies")
── 1. Failure: Correct handling of end dates prior to start dates (@test-exposur
all.equal(addExposures(two_records_one_late), good_PY) not equal to TRUE.
Types not compatible: character is not logical
── 2. Failure: Policy year exposure calculation works (@test-exposure_functions.
all.equal(addExposures(record_start, type = "PY"), good_PY) not equal to TRUE.
Types not compatible: character is not logical
── 3. Failure: Policy month exposure calculation works (@test-exposure_functions
all.equal(addExposures(record_start, type = "PM"), good_PM) not equal to TRUE.
Types not compatible: character is not logical
── 4. Failure: Policy year with calendar year exposure calculation works, mid an
all.equal(addExposures(record_mid, type = "PYCY"), good_PYCY_mid) not equal to TRUE.
Types not compatible: character is not logical
── 5. Failure: Policy year with calendar year exposure calculation works, mid an
all.equal(addExposures(record_start, type = "PYCY"), good_PYCY_start) not equal to TRUE.
Types not compatible: character is not logical
── 6. Failure: Policy year with calendar month exposure calculation works, mid a
all.equal(addExposures(record_mid, type = "PYCM"), good_PYCM_mid) not equal to TRUE.
Types not compatible: character is not logical
── 7. Failure: Policy year with calendar month exposure calculation works, mid a
all.equal(addExposures(record_start, type = "PYCM"), good_PYCM_start) not equal to TRUE.
Types not compatible: character is not logical
── 8. Failure: Policy month with calendar year exposure calculation works, mid a
all.equal(addExposures(record_mid, type = "PMCY"), good_PMCY_mid) not equal to TRUE.
Types not compatible: character is not logical
── 9. Failure: Policy month with calendar year exposure calculation works, mid a
all.equal(addExposures(record_start, type = "PMCY"), good_PMCY_start) not equal to TRUE.
Types not compatible: character is not logical
── 10. Failure: Policy month with calendar month exposure calculation works, mid
all.equal(addExposures(record_mid, type = "PMCM"), good_PMCM_mid) not equal to TRUE.
Types not compatible: character is not logical
── 11. Failure: Policy month with calendar month exposure calculation works, mid
all.equal(addExposures(record_start, type = "PMCM"), good_PMCM_start) not equal to TRUE.
Types not compatible: character is not logical
── 12. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 13. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 14. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 15. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 16. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 17. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 9 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 17 ]
1. Failure: Correct handling of end dates prior to start dates (@test-exposure_functions.R#20)
2. Failure: Policy year exposure calculation works (@test-exposure_functions.R#30)
3. Failure: Policy month exposure calculation works (@test-exposure_functions.R#33)
4. Failure: Policy year with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#36)
5. Failure: Policy year with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#37)
6. Failure: Policy year with calendar month exposure calculation works, mid and start (@test-exposure_functions.R#40)
7. Failure: Policy year with calendar month exposure calculation works, mid and start (@test-exposure_functions.R#41)
8. Failure: Policy month with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#44)
9. Failure: Policy month with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#45)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.0.5
Check: tests
Result: ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(expstudies)
>
> test_check("expstudies")
── 1. Failure: Correct handling of end dates prior to start dates (@test-exposur
all.equal(addExposures(two_records_one_late), good_PY) not equal to TRUE.
Types not compatible: character is not logical
── 2. Failure: Policy year exposure calculation works (@test-exposure_functions.
all.equal(addExposures(record_start, type = "PY"), good_PY) not equal to TRUE.
Types not compatible: character is not logical
── 3. Failure: Policy month exposure calculation works (@test-exposure_functions
all.equal(addExposures(record_start, type = "PM"), good_PM) not equal to TRUE.
Types not compatible: character is not logical
── 4. Failure: Policy year with calendar year exposure calculation works, mid an
all.equal(addExposures(record_mid, type = "PYCY"), good_PYCY_mid) not equal to TRUE.
Types not compatible: character is not logical
── 5. Failure: Policy year with calendar year exposure calculation works, mid an
all.equal(addExposures(record_start, type = "PYCY"), good_PYCY_start) not equal to TRUE.
Types not compatible: character is not logical
── 6. Failure: Policy year with calendar month exposure calculation works, mid a
all.equal(addExposures(record_mid, type = "PYCM"), good_PYCM_mid) not equal to TRUE.
Types not compatible: character is not logical
── 7. Failure: Policy year with calendar month exposure calculation works, mid a
all.equal(addExposures(record_start, type = "PYCM"), good_PYCM_start) not equal to TRUE.
Types not compatible: character is not logical
── 8. Failure: Policy month with calendar year exposure calculation works, mid a
all.equal(addExposures(record_mid, type = "PMCY"), good_PMCY_mid) not equal to TRUE.
Types not compatible: character is not logical
── 9. Failure: Policy month with calendar year exposure calculation works, mid a
all.equal(addExposures(record_start, type = "PMCY"), good_PMCY_start) not equal to TRUE.
Types not compatible: character is not logical
── 10. Failure: Policy month with calendar month exposure calculation works, mid
all.equal(addExposures(record_mid, type = "PMCM"), good_PMCM_mid) not equal to TRUE.
Types not compatible: character is not logical
── 11. Failure: Policy month with calendar month exposure calculation works, mid
all.equal(addExposures(record_start, type = "PMCM"), good_PMCM_start) not equal to TRUE.
Types not compatible: character is not logical
── 12. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 13. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 14. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 15. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 16. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 17. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 9 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 17 ]
1. Failure: Correct handling of end dates prior to start dates (@test-exposure_functions.R#20)
2. Failure: Policy year exposure calculation works (@test-exposure_functions.R#30)
3. Failure: Policy month exposure calculation works (@test-exposure_functions.R#33)
4. Failure: Policy year with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#36)
5. Failure: Policy year with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#37)
6. Failure: Policy year with calendar month exposure calculation works, mid and start (@test-exposure_functions.R#40)
7. Failure: Policy year with calendar month exposure calculation works, mid and start (@test-exposure_functions.R#41)
8. Failure: Policy month with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#44)
9. Failure: Policy month with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#45)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.0.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [7s/12s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(expstudies)
>
> test_check("expstudies")
── 1. Failure: Correct handling of end dates prior to start dates (@test-exposur
all.equal(addExposures(two_records_one_late), good_PY) not equal to TRUE.
Types not compatible: character is not logical
── 2. Failure: Policy year exposure calculation works (@test-exposure_functions.
all.equal(addExposures(record_start, type = "PY"), good_PY) not equal to TRUE.
Types not compatible: character is not logical
── 3. Failure: Policy month exposure calculation works (@test-exposure_functions
all.equal(addExposures(record_start, type = "PM"), good_PM) not equal to TRUE.
Types not compatible: character is not logical
── 4. Failure: Policy year with calendar year exposure calculation works, mid an
all.equal(addExposures(record_mid, type = "PYCY"), good_PYCY_mid) not equal to TRUE.
Types not compatible: character is not logical
── 5. Failure: Policy year with calendar year exposure calculation works, mid an
all.equal(addExposures(record_start, type = "PYCY"), good_PYCY_start) not equal to TRUE.
Types not compatible: character is not logical
── 6. Failure: Policy year with calendar month exposure calculation works, mid a
all.equal(addExposures(record_mid, type = "PYCM"), good_PYCM_mid) not equal to TRUE.
Types not compatible: character is not logical
── 7. Failure: Policy year with calendar month exposure calculation works, mid a
all.equal(addExposures(record_start, type = "PYCM"), good_PYCM_start) not equal to TRUE.
Types not compatible: character is not logical
── 8. Failure: Policy month with calendar year exposure calculation works, mid a
all.equal(addExposures(record_mid, type = "PMCY"), good_PMCY_mid) not equal to TRUE.
Types not compatible: character is not logical
── 9. Failure: Policy month with calendar year exposure calculation works, mid a
all.equal(addExposures(record_start, type = "PMCY"), good_PMCY_start) not equal to TRUE.
Types not compatible: character is not logical
── 10. Failure: Policy month with calendar month exposure calculation works, mid
all.equal(addExposures(record_mid, type = "PMCM"), good_PMCM_mid) not equal to TRUE.
Types not compatible: character is not logical
── 11. Failure: Policy month with calendar month exposure calculation works, mid
all.equal(addExposures(record_start, type = "PMCM"), good_PMCM_start) not equal to TRUE.
Types not compatible: character is not logical
── 12. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 13. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 14. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 15. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 16. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 17. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 9 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 17 ]
1. Failure: Correct handling of end dates prior to start dates (@test-exposure_functions.R#20)
2. Failure: Policy year exposure calculation works (@test-exposure_functions.R#30)
3. Failure: Policy month exposure calculation works (@test-exposure_functions.R#33)
4. Failure: Policy year with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#36)
5. Failure: Policy year with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#37)
6. Failure: Policy year with calendar month exposure calculation works, mid and start (@test-exposure_functions.R#40)
7. Failure: Policy year with calendar month exposure calculation works, mid and start (@test-exposure_functions.R#41)
8. Failure: Policy month with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#44)
9. Failure: Policy month with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#45)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.0.5
Check: running tests for arch ‘i386’
Result: ERROR
Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(expstudies)
>
> test_check("expstudies")
-- 1. Failure: Correct handling of end dates prior to start dates (@test-exposur
all.equal(addExposures(two_records_one_late), good_PY) not equal to TRUE.
Types not compatible: character is not logical
-- 2. Failure: Policy year exposure calculation works (@test-exposure_functions.
all.equal(addExposures(record_start, type = "PY"), good_PY) not equal to TRUE.
Types not compatible: character is not logical
-- 3. Failure: Policy month exposure calculation works (@test-exposure_functions
all.equal(addExposures(record_start, type = "PM"), good_PM) not equal to TRUE.
Types not compatible: character is not logical
-- 4. Failure: Policy year with calendar year exposure calculation works, mid an
all.equal(addExposures(record_mid, type = "PYCY"), good_PYCY_mid) not equal to TRUE.
Types not compatible: character is not logical
-- 5. Failure: Policy year with calendar year exposure calculation works, mid an
all.equal(addExposures(record_start, type = "PYCY"), good_PYCY_start) not equal to TRUE.
Types not compatible: character is not logical
-- 6. Failure: Policy year with calendar month exposure calculation works, mid a
all.equal(addExposures(record_mid, type = "PYCM"), good_PYCM_mid) not equal to TRUE.
Types not compatible: character is not logical
-- 7. Failure: Policy year with calendar month exposure calculation works, mid a
all.equal(addExposures(record_start, type = "PYCM"), good_PYCM_start) not equal to TRUE.
Types not compatible: character is not logical
-- 8. Failure: Policy month with calendar year exposure calculation works, mid a
all.equal(addExposures(record_mid, type = "PMCY"), good_PMCY_mid) not equal to TRUE.
Types not compatible: character is not logical
-- 9. Failure: Policy month with calendar year exposure calculation works, mid a
all.equal(addExposures(record_start, type = "PMCY"), good_PMCY_start) not equal to TRUE.
Types not compatible: character is not logical
-- 10. Failure: Policy month with calendar month exposure calculation works, mid
all.equal(addExposures(record_mid, type = "PMCM"), good_PMCM_mid) not equal to TRUE.
Types not compatible: character is not logical
-- 11. Failure: Policy month with calendar month exposure calculation works, mid
all.equal(addExposures(record_start, type = "PMCM"), good_PMCM_start) not equal to TRUE.
Types not compatible: character is not logical
-- 12. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 13. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 14. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 15. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 16. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 17. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
== testthat results ===========================================================
[ OK: 9 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 17 ]
1. Failure: Correct handling of end dates prior to start dates (@test-exposure_functions.R#20)
2. Failure: Policy year exposure calculation works (@test-exposure_functions.R#30)
3. Failure: Policy month exposure calculation works (@test-exposure_functions.R#33)
4. Failure: Policy year with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#36)
5. Failure: Policy year with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#37)
6. Failure: Policy year with calendar month exposure calculation works, mid and start (@test-exposure_functions.R#40)
7. Failure: Policy year with calendar month exposure calculation works, mid and start (@test-exposure_functions.R#41)
8. Failure: Policy month with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#44)
9. Failure: Policy month with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#45)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-windows-ix86+x86_64
Version: 0.0.5
Check: running tests for arch ‘x64’
Result: ERROR
Running 'testthat.R' [7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(expstudies)
>
> test_check("expstudies")
-- 1. Failure: Correct handling of end dates prior to start dates (@test-exposur
all.equal(addExposures(two_records_one_late), good_PY) not equal to TRUE.
Types not compatible: character is not logical
-- 2. Failure: Policy year exposure calculation works (@test-exposure_functions.
all.equal(addExposures(record_start, type = "PY"), good_PY) not equal to TRUE.
Types not compatible: character is not logical
-- 3. Failure: Policy month exposure calculation works (@test-exposure_functions
all.equal(addExposures(record_start, type = "PM"), good_PM) not equal to TRUE.
Types not compatible: character is not logical
-- 4. Failure: Policy year with calendar year exposure calculation works, mid an
all.equal(addExposures(record_mid, type = "PYCY"), good_PYCY_mid) not equal to TRUE.
Types not compatible: character is not logical
-- 5. Failure: Policy year with calendar year exposure calculation works, mid an
all.equal(addExposures(record_start, type = "PYCY"), good_PYCY_start) not equal to TRUE.
Types not compatible: character is not logical
-- 6. Failure: Policy year with calendar month exposure calculation works, mid a
all.equal(addExposures(record_mid, type = "PYCM"), good_PYCM_mid) not equal to TRUE.
Types not compatible: character is not logical
-- 7. Failure: Policy year with calendar month exposure calculation works, mid a
all.equal(addExposures(record_start, type = "PYCM"), good_PYCM_start) not equal to TRUE.
Types not compatible: character is not logical
-- 8. Failure: Policy month with calendar year exposure calculation works, mid a
all.equal(addExposures(record_mid, type = "PMCY"), good_PMCY_mid) not equal to TRUE.
Types not compatible: character is not logical
-- 9. Failure: Policy month with calendar year exposure calculation works, mid a
all.equal(addExposures(record_start, type = "PMCY"), good_PMCY_start) not equal to TRUE.
Types not compatible: character is not logical
-- 10. Failure: Policy month with calendar month exposure calculation works, mid
all.equal(addExposures(record_mid, type = "PMCM"), good_PMCM_mid) not equal to TRUE.
Types not compatible: character is not logical
-- 11. Failure: Policy month with calendar month exposure calculation works, mid
all.equal(addExposures(record_start, type = "PMCM"), good_PMCM_start) not equal to TRUE.
Types not compatible: character is not logical
-- 12. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 13. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 14. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 15. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 16. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 17. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
== testthat results ===========================================================
[ OK: 9 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 17 ]
1. Failure: Correct handling of end dates prior to start dates (@test-exposure_functions.R#20)
2. Failure: Policy year exposure calculation works (@test-exposure_functions.R#30)
3. Failure: Policy month exposure calculation works (@test-exposure_functions.R#33)
4. Failure: Policy year with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#36)
5. Failure: Policy year with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#37)
6. Failure: Policy year with calendar month exposure calculation works, mid and start (@test-exposure_functions.R#40)
7. Failure: Policy year with calendar month exposure calculation works, mid and start (@test-exposure_functions.R#41)
8. Failure: Policy month with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#44)
9. Failure: Policy month with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#45)
1. ...
Error: testthat unit tests failed
Execution halted
Flavors: r-devel-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64
Version: 0.0.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/6s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(expstudies)
>
> test_check("expstudies")
── 1. Failure: Correct handling of end dates prior to start dates (@test-exposur
all.equal(addExposures(two_records_one_late), good_PY) not equal to TRUE.
Types not compatible: character is not logical
── 2. Failure: Policy year exposure calculation works (@test-exposure_functions.
all.equal(addExposures(record_start, type = "PY"), good_PY) not equal to TRUE.
Types not compatible: character is not logical
── 3. Failure: Policy month exposure calculation works (@test-exposure_functions
all.equal(addExposures(record_start, type = "PM"), good_PM) not equal to TRUE.
Types not compatible: character is not logical
── 4. Failure: Policy year with calendar year exposure calculation works, mid an
all.equal(addExposures(record_mid, type = "PYCY"), good_PYCY_mid) not equal to TRUE.
Types not compatible: character is not logical
── 5. Failure: Policy year with calendar year exposure calculation works, mid an
all.equal(addExposures(record_start, type = "PYCY"), good_PYCY_start) not equal to TRUE.
Types not compatible: character is not logical
── 6. Failure: Policy year with calendar month exposure calculation works, mid a
all.equal(addExposures(record_mid, type = "PYCM"), good_PYCM_mid) not equal to TRUE.
Types not compatible: character is not logical
── 7. Failure: Policy year with calendar month exposure calculation works, mid a
all.equal(addExposures(record_start, type = "PYCM"), good_PYCM_start) not equal to TRUE.
Types not compatible: character is not logical
── 8. Failure: Policy month with calendar year exposure calculation works, mid a
all.equal(addExposures(record_mid, type = "PMCY"), good_PMCY_mid) not equal to TRUE.
Types not compatible: character is not logical
── 9. Failure: Policy month with calendar year exposure calculation works, mid a
all.equal(addExposures(record_start, type = "PMCY"), good_PMCY_start) not equal to TRUE.
Types not compatible: character is not logical
── 10. Failure: Policy month with calendar month exposure calculation works, mid
all.equal(addExposures(record_mid, type = "PMCM"), good_PMCM_mid) not equal to TRUE.
Types not compatible: character is not logical
── 11. Failure: Policy month with calendar month exposure calculation works, mid
all.equal(addExposures(record_start, type = "PMCM"), good_PMCM_start) not equal to TRUE.
Types not compatible: character is not logical
── 12. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 13. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 14. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 15. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 16. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 17. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 9 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 17 ]
1. Failure: Correct handling of end dates prior to start dates (@test-exposure_functions.R#20)
2. Failure: Policy year exposure calculation works (@test-exposure_functions.R#30)
3. Failure: Policy month exposure calculation works (@test-exposure_functions.R#33)
4. Failure: Policy year with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#36)
5. Failure: Policy year with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#37)
6. Failure: Policy year with calendar month exposure calculation works, mid and start (@test-exposure_functions.R#40)
7. Failure: Policy year with calendar month exposure calculation works, mid and start (@test-exposure_functions.R#41)
8. Failure: Policy month with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#44)
9. Failure: Policy month with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#45)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.0.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [9s/10s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(expstudies)
>
> test_check("expstudies")
── 1. Failure: Correct handling of end dates prior to start dates (@test-exposur
all.equal(addExposures(two_records_one_late), good_PY) not equal to TRUE.
Types not compatible: character is not logical
── 2. Failure: Policy year exposure calculation works (@test-exposure_functions.
all.equal(addExposures(record_start, type = "PY"), good_PY) not equal to TRUE.
Types not compatible: character is not logical
── 3. Failure: Policy month exposure calculation works (@test-exposure_functions
all.equal(addExposures(record_start, type = "PM"), good_PM) not equal to TRUE.
Types not compatible: character is not logical
── 4. Failure: Policy year with calendar year exposure calculation works, mid an
all.equal(addExposures(record_mid, type = "PYCY"), good_PYCY_mid) not equal to TRUE.
Types not compatible: character is not logical
── 5. Failure: Policy year with calendar year exposure calculation works, mid an
all.equal(addExposures(record_start, type = "PYCY"), good_PYCY_start) not equal to TRUE.
Types not compatible: character is not logical
── 6. Failure: Policy year with calendar month exposure calculation works, mid a
all.equal(addExposures(record_mid, type = "PYCM"), good_PYCM_mid) not equal to TRUE.
Types not compatible: character is not logical
── 7. Failure: Policy year with calendar month exposure calculation works, mid a
all.equal(addExposures(record_start, type = "PYCM"), good_PYCM_start) not equal to TRUE.
Types not compatible: character is not logical
── 8. Failure: Policy month with calendar year exposure calculation works, mid a
all.equal(addExposures(record_mid, type = "PMCY"), good_PMCY_mid) not equal to TRUE.
Types not compatible: character is not logical
── 9. Failure: Policy month with calendar year exposure calculation works, mid a
all.equal(addExposures(record_start, type = "PMCY"), good_PMCY_start) not equal to TRUE.
Types not compatible: character is not logical
── 10. Failure: Policy month with calendar month exposure calculation works, mid
all.equal(addExposures(record_mid, type = "PMCM"), good_PMCM_mid) not equal to TRUE.
Types not compatible: character is not logical
── 11. Failure: Policy month with calendar month exposure calculation works, mid
all.equal(addExposures(record_start, type = "PMCM"), good_PMCM_start) not equal to TRUE.
Types not compatible: character is not logical
── 12. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 13. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 14. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 15. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 16. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 17. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 9 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 17 ]
1. Failure: Correct handling of end dates prior to start dates (@test-exposure_functions.R#20)
2. Failure: Policy year exposure calculation works (@test-exposure_functions.R#30)
3. Failure: Policy month exposure calculation works (@test-exposure_functions.R#33)
4. Failure: Policy year with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#36)
5. Failure: Policy year with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#37)
6. Failure: Policy year with calendar month exposure calculation works, mid and start (@test-exposure_functions.R#40)
7. Failure: Policy year with calendar month exposure calculation works, mid and start (@test-exposure_functions.R#41)
8. Failure: Policy month with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#44)
9. Failure: Policy month with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#45)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-patched-solaris-x86
Version: 0.0.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(expstudies)
>
> test_check("expstudies")
── 1. Failure: Correct handling of end dates prior to start dates (@test-exposur
all.equal(addExposures(two_records_one_late), good_PY) not equal to TRUE.
Types not compatible: character is not logical
── 2. Failure: Policy year exposure calculation works (@test-exposure_functions.
all.equal(addExposures(record_start, type = "PY"), good_PY) not equal to TRUE.
Types not compatible: character is not logical
── 3. Failure: Policy month exposure calculation works (@test-exposure_functions
all.equal(addExposures(record_start, type = "PM"), good_PM) not equal to TRUE.
Types not compatible: character is not logical
── 4. Failure: Policy year with calendar year exposure calculation works, mid an
all.equal(addExposures(record_mid, type = "PYCY"), good_PYCY_mid) not equal to TRUE.
Types not compatible: character is not logical
── 5. Failure: Policy year with calendar year exposure calculation works, mid an
all.equal(addExposures(record_start, type = "PYCY"), good_PYCY_start) not equal to TRUE.
Types not compatible: character is not logical
── 6. Failure: Policy year with calendar month exposure calculation works, mid a
all.equal(addExposures(record_mid, type = "PYCM"), good_PYCM_mid) not equal to TRUE.
Types not compatible: character is not logical
── 7. Failure: Policy year with calendar month exposure calculation works, mid a
all.equal(addExposures(record_start, type = "PYCM"), good_PYCM_start) not equal to TRUE.
Types not compatible: character is not logical
── 8. Failure: Policy month with calendar year exposure calculation works, mid a
all.equal(addExposures(record_mid, type = "PMCY"), good_PMCY_mid) not equal to TRUE.
Types not compatible: character is not logical
── 9. Failure: Policy month with calendar year exposure calculation works, mid a
all.equal(addExposures(record_start, type = "PMCY"), good_PMCY_start) not equal to TRUE.
Types not compatible: character is not logical
── 10. Failure: Policy month with calendar month exposure calculation works, mid
all.equal(addExposures(record_mid, type = "PMCM"), good_PMCM_mid) not equal to TRUE.
Types not compatible: character is not logical
── 11. Failure: Policy month with calendar month exposure calculation works, mid
all.equal(addExposures(record_start, type = "PMCM"), good_PMCM_start) not equal to TRUE.
Types not compatible: character is not logical
── 12. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 13. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 14. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 15. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 16. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
── 17. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
══ testthat results ═══════════════════════════════════════════════════════════
[ OK: 9 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 17 ]
1. Failure: Correct handling of end dates prior to start dates (@test-exposure_functions.R#20)
2. Failure: Policy year exposure calculation works (@test-exposure_functions.R#30)
3. Failure: Policy month exposure calculation works (@test-exposure_functions.R#33)
4. Failure: Policy year with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#36)
5. Failure: Policy year with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#37)
6. Failure: Policy year with calendar month exposure calculation works, mid and start (@test-exposure_functions.R#40)
7. Failure: Policy year with calendar month exposure calculation works, mid and start (@test-exposure_functions.R#41)
8. Failure: Policy month with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#44)
9. Failure: Policy month with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#45)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-release-linux-x86_64
Version: 0.0.5
Check: running tests for arch ‘i386’
Result: ERROR
Running 'testthat.R' [7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(expstudies)
>
> test_check("expstudies")
-- 1. Failure: Correct handling of end dates prior to start dates (@test-exposur
all.equal(addExposures(two_records_one_late), good_PY) not equal to TRUE.
Types not compatible: character is not logical
-- 2. Failure: Policy year exposure calculation works (@test-exposure_functions.
all.equal(addExposures(record_start, type = "PY"), good_PY) not equal to TRUE.
Types not compatible: character is not logical
-- 3. Failure: Policy month exposure calculation works (@test-exposure_functions
all.equal(addExposures(record_start, type = "PM"), good_PM) not equal to TRUE.
Types not compatible: character is not logical
-- 4. Failure: Policy year with calendar year exposure calculation works, mid an
all.equal(addExposures(record_mid, type = "PYCY"), good_PYCY_mid) not equal to TRUE.
Types not compatible: character is not logical
-- 5. Failure: Policy year with calendar year exposure calculation works, mid an
all.equal(addExposures(record_start, type = "PYCY"), good_PYCY_start) not equal to TRUE.
Types not compatible: character is not logical
-- 6. Failure: Policy year with calendar month exposure calculation works, mid a
all.equal(addExposures(record_mid, type = "PYCM"), good_PYCM_mid) not equal to TRUE.
Types not compatible: character is not logical
-- 7. Failure: Policy year with calendar month exposure calculation works, mid a
all.equal(addExposures(record_start, type = "PYCM"), good_PYCM_start) not equal to TRUE.
Types not compatible: character is not logical
-- 8. Failure: Policy month with calendar year exposure calculation works, mid a
all.equal(addExposures(record_mid, type = "PMCY"), good_PMCY_mid) not equal to TRUE.
Types not compatible: character is not logical
-- 9. Failure: Policy month with calendar year exposure calculation works, mid a
all.equal(addExposures(record_start, type = "PMCY"), good_PMCY_start) not equal to TRUE.
Types not compatible: character is not logical
-- 10. Failure: Policy month with calendar month exposure calculation works, mid
all.equal(addExposures(record_mid, type = "PMCM"), good_PMCM_mid) not equal to TRUE.
Types not compatible: character is not logical
-- 11. Failure: Policy month with calendar month exposure calculation works, mid
all.equal(addExposures(record_start, type = "PMCM"), good_PMCM_start) not equal to TRUE.
Types not compatible: character is not logical
-- 12. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 13. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 14. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 15. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 16. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 17. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
== testthat results ===========================================================
[ OK: 9 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 17 ]
1. Failure: Correct handling of end dates prior to start dates (@test-exposure_functions.R#20)
2. Failure: Policy year exposure calculation works (@test-exposure_functions.R#30)
3. Failure: Policy month exposure calculation works (@test-exposure_functions.R#33)
4. Failure: Policy year with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#36)
5. Failure: Policy year with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#37)
6. Failure: Policy year with calendar month exposure calculation works, mid and start (@test-exposure_functions.R#40)
7. Failure: Policy year with calendar month exposure calculation works, mid and start (@test-exposure_functions.R#41)
8. Failure: Policy month with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#44)
9. Failure: Policy month with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#45)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-release-windows-ix86+x86_64
Version: 0.0.5
Check: running tests for arch ‘x64’
Result: ERROR
Running 'testthat.R' [8s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(expstudies)
>
> test_check("expstudies")
-- 1. Failure: Correct handling of end dates prior to start dates (@test-exposur
all.equal(addExposures(two_records_one_late), good_PY) not equal to TRUE.
Types not compatible: character is not logical
-- 2. Failure: Policy year exposure calculation works (@test-exposure_functions.
all.equal(addExposures(record_start, type = "PY"), good_PY) not equal to TRUE.
Types not compatible: character is not logical
-- 3. Failure: Policy month exposure calculation works (@test-exposure_functions
all.equal(addExposures(record_start, type = "PM"), good_PM) not equal to TRUE.
Types not compatible: character is not logical
-- 4. Failure: Policy year with calendar year exposure calculation works, mid an
all.equal(addExposures(record_mid, type = "PYCY"), good_PYCY_mid) not equal to TRUE.
Types not compatible: character is not logical
-- 5. Failure: Policy year with calendar year exposure calculation works, mid an
all.equal(addExposures(record_start, type = "PYCY"), good_PYCY_start) not equal to TRUE.
Types not compatible: character is not logical
-- 6. Failure: Policy year with calendar month exposure calculation works, mid a
all.equal(addExposures(record_mid, type = "PYCM"), good_PYCM_mid) not equal to TRUE.
Types not compatible: character is not logical
-- 7. Failure: Policy year with calendar month exposure calculation works, mid a
all.equal(addExposures(record_start, type = "PYCM"), good_PYCM_start) not equal to TRUE.
Types not compatible: character is not logical
-- 8. Failure: Policy month with calendar year exposure calculation works, mid a
all.equal(addExposures(record_mid, type = "PMCY"), good_PMCY_mid) not equal to TRUE.
Types not compatible: character is not logical
-- 9. Failure: Policy month with calendar year exposure calculation works, mid a
all.equal(addExposures(record_start, type = "PMCY"), good_PMCY_start) not equal to TRUE.
Types not compatible: character is not logical
-- 10. Failure: Policy month with calendar month exposure calculation works, mid
all.equal(addExposures(record_mid, type = "PMCM"), good_PMCM_mid) not equal to TRUE.
Types not compatible: character is not logical
-- 11. Failure: Policy month with calendar month exposure calculation works, mid
all.equal(addExposures(record_start, type = "PMCM"), good_PMCM_start) not equal to TRUE.
Types not compatible: character is not logical
-- 12. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 13. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 14. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 15. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 16. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 17. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
== testthat results ===========================================================
[ OK: 9 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 17 ]
1. Failure: Correct handling of end dates prior to start dates (@test-exposure_functions.R#20)
2. Failure: Policy year exposure calculation works (@test-exposure_functions.R#30)
3. Failure: Policy month exposure calculation works (@test-exposure_functions.R#33)
4. Failure: Policy year with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#36)
5. Failure: Policy year with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#37)
6. Failure: Policy year with calendar month exposure calculation works, mid and start (@test-exposure_functions.R#40)
7. Failure: Policy year with calendar month exposure calculation works, mid and start (@test-exposure_functions.R#41)
8. Failure: Policy month with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#44)
9. Failure: Policy month with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#45)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-release-windows-ix86+x86_64
Version: 0.0.5
Check: running tests for arch ‘i386’
Result: ERROR
Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(expstudies)
>
> test_check("expstudies")
-- 1. Failure: Correct handling of end dates prior to start dates (@test-exposur
all.equal(addExposures(two_records_one_late), good_PY) not equal to TRUE.
Types not compatible: character is not logical
-- 2. Failure: Policy year exposure calculation works (@test-exposure_functions.
all.equal(addExposures(record_start, type = "PY"), good_PY) not equal to TRUE.
Types not compatible: character is not logical
-- 3. Failure: Policy month exposure calculation works (@test-exposure_functions
all.equal(addExposures(record_start, type = "PM"), good_PM) not equal to TRUE.
Types not compatible: character is not logical
-- 4. Failure: Policy year with calendar year exposure calculation works, mid an
all.equal(addExposures(record_mid, type = "PYCY"), good_PYCY_mid) not equal to TRUE.
Types not compatible: character is not logical
-- 5. Failure: Policy year with calendar year exposure calculation works, mid an
all.equal(addExposures(record_start, type = "PYCY"), good_PYCY_start) not equal to TRUE.
Types not compatible: character is not logical
-- 6. Failure: Policy year with calendar month exposure calculation works, mid a
all.equal(addExposures(record_mid, type = "PYCM"), good_PYCM_mid) not equal to TRUE.
Types not compatible: character is not logical
-- 7. Failure: Policy year with calendar month exposure calculation works, mid a
all.equal(addExposures(record_start, type = "PYCM"), good_PYCM_start) not equal to TRUE.
Types not compatible: character is not logical
-- 8. Failure: Policy month with calendar year exposure calculation works, mid a
all.equal(addExposures(record_mid, type = "PMCY"), good_PMCY_mid) not equal to TRUE.
Types not compatible: character is not logical
-- 9. Failure: Policy month with calendar year exposure calculation works, mid a
all.equal(addExposures(record_start, type = "PMCY"), good_PMCY_start) not equal to TRUE.
Types not compatible: character is not logical
-- 10. Failure: Policy month with calendar month exposure calculation works, mid
all.equal(addExposures(record_mid, type = "PMCM"), good_PMCM_mid) not equal to TRUE.
Types not compatible: character is not logical
-- 11. Failure: Policy month with calendar month exposure calculation works, mid
all.equal(addExposures(record_start, type = "PMCM"), good_PMCM_start) not equal to TRUE.
Types not compatible: character is not logical
-- 12. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 13. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 14. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 15. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 16. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
-- 17. Failure: lower_year argument works for truncation (@test-exposure_functio
all.equal(...) not equal to TRUE.
Types not compatible: character is not logical
== testthat results ===========================================================
[ OK: 9 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 17 ]
1. Failure: Correct handling of end dates prior to start dates (@test-exposure_functions.R#20)
2. Failure: Policy year exposure calculation works (@test-exposure_functions.R#30)
3. Failure: Policy month exposure calculation works (@test-exposure_functions.R#33)
4. Failure: Policy year with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#36)
5. Failure: Policy year with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#37)
6. Failure: Policy year with calendar month exposure calculation works, mid and start (@test-exposure_functions.R#40)
7. Failure: Policy year with calendar month exposure calculation works, mid and start (@test-exposure_functions.R#41)
8. Failure: Policy month with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#44)
9. Failure: Policy month with calendar year exposure calculation works, mid and start (@test-exposure_functions.R#45)
1. ...
Error: testthat unit tests failed
Execution halted
Flavor: r-oldrel-windows-ix86+x86_64