CRAN Package Check Results for Package smoothAPC

Last updated on 2024-12-27 03:49:45 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3 9.74 570.11 579.85 ERROR
r-devel-linux-x86_64-debian-gcc 0.3 7.41 466.83 474.24 ERROR
r-devel-linux-x86_64-fedora-clang 0.3 682.05 ERROR
r-devel-linux-x86_64-fedora-gcc 0.3 629.46 ERROR
r-devel-windows-x86_64 0.3 10.00 691.00 701.00 ERROR
r-patched-linux-x86_64 0.3 9.02 529.41 538.43 ERROR
r-release-linux-x86_64 0.3 8.28 537.92 546.20 ERROR
r-release-macos-arm64 0.3 47.00 NOTE
r-release-macos-x86_64 0.3 70.00 NOTE
r-release-windows-x86_64 0.3 11.00 691.00 702.00 ERROR
r-oldrel-macos-arm64 0.3 57.00 NOTE
r-oldrel-macos-x86_64 0.3 87.00 NOTE
r-oldrel-windows-x86_64 0.3 12.00 593.00 605.00 ERROR

Additional issues

M1mac

Check Details

Version: 0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [8m/11m] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(smoothAPC) > > test_check("smoothAPC") | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / | / - \ | / - \ | / - \ | / - \ [ FAIL 11 | WARN 0 | SKIP 5 | PASS 16 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test_twoStepDemogSmooth.R:22:3', 'test_twoStepDemogSmooth.R:32:3', 'test_twoStepDemogSmooth.R:46:3' • empty test (2): 'test_autoDemogSmooth.R:35:1', 'test_demogSmooth.R:36:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_autoDemogSmooth.R:23:3'): Testing autoSmoothAPC on linear data with noise, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 11.8) [1] -3.064 - 1.00 == -4.06449 [2] -12.499 - 1.01 == -13.50885 [3] 4.183 - 1.02 == 3.16266 [4] -12.523 - 1.03 == -13.55349 [5] -2.907 - 1.04 == -3.94701 [6] 0.827 - 1.05 == -0.22257 [7] 1.150 - 1.06 == 0.09028 [8] 1.091 - 1.07 == 0.02097 [9] 1.081 - 1.08 == 0.00111 ... ── Failure ('test_autoDemogSmooth.R:30:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 21.7) [1] -7.821 - 1.00 == -8.821 [2] 30.571 - 1.01 == 29.561 [3] 7.696 - 1.02 == 6.676 [4] 9.790 - 1.03 == 8.760 [5] 7.972 - 1.04 == 6.932 [6] 6.031 - 1.05 == 4.981 [7] 4.101 - 1.06 == 3.041 [8] 2.168 - 1.07 == 1.098 [9] 0.232 - 1.08 == -0.848 ... ── Failure ('test_autoDemogSmooth.R:31:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$yearsEffect not equivalent to `zer`. 100/100 mismatches (average diff: 14.1) [1] -14.645 - 0 == -14.645 [2] -12.653 - 0 == -12.653 [3] -10.684 - 0 == -10.684 [4] -8.747 - 0 == -8.747 [5] -6.826 - 0 == -6.826 [6] -4.911 - 0 == -4.911 [7] -2.995 - 0 == -2.995 [8] -1.076 - 0 == -1.076 [9] 0.846 - 0 == 0.846 ... ── Failure ('test_autoDemogSmooth.R:32:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$cohortEffect not equivalent to `zer`. 44/100 mismatches (average diff: 6.59) [1] 23.87 - 0 == 23.87 [2] -17.19 - 0 == -17.19 [3] 3.69 - 0 == 3.69 [11] -19.53 - 0 == -19.53 [12] 21.52 - 0 == 21.52 [13] -15.00 - 0 == -15.00 [14] 3.07 - 0 == 3.07 [21] 3.81 - 0 == 3.81 [22] -16.58 - 0 == -16.58 ... ── Failure ('test_demogSmooth.R:19:3'): Testing smoothAPC on linear data with one outlier and w/o ridges, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 12) [1] -12.83 - 1.00 == -13.83 [2] 17.64 - 1.01 == 16.63 [3] 38.23 - 1.02 == 37.21 [4] 22.01 - 1.03 == 20.98 [5] 3.29 - 1.04 == 2.25 [6] -5.45 - 1.05 == -6.50 [7] -6.44 - 1.06 == -7.50 [8] -4.40 - 1.07 == -5.47 [9] -2.16 - 1.08 == -3.24 ... ── Failure ('test_demogSmooth.R:49:3'): Testing smoothAPC on linear data with one cohort effect and w/o period effects, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 108) [1] 475.4 - 1.00 == 474.4 [2] 324.4 - 1.01 == 323.4 [3] 185.5 - 1.02 == 184.4 [4] 82.2 - 1.03 == 81.2 [5] 19.3 - 1.04 == 18.3 [6] -11.0 - 1.05 == -12.0 [7] -20.1 - 1.06 == -21.1 [8] -18.6 - 1.07 == -19.7 [9] -14.5 - 1.08 == -15.6 ... ── Failure ('test_demogSmooth.R:60:3'): Testing smoothAPC on linear data with one period effect and w/o cohort effects, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 114) [1] -36.1 - 1.00 == -37.1 [2] -36.1 - 1.01 == -37.1 [3] -36.1 - 1.02 == -37.1 [4] -36.0 - 1.03 == -37.1 [5] -36.0 - 1.04 == -37.1 [6] -36.0 - 1.05 == -37.1 [7] -36.0 - 1.06 == -37.1 [8] -36.0 - 1.07 == -37.1 [9] -36.0 - 1.08 == -37.1 ... ── Failure ('test_demogSmooth.R:67:3'): Testing smoothAPC on linear data with one period effect and with one cohort effects, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 212) [1] 438.3 - 1.00 == 437.3 [2] 287.3 - 1.01 == 286.3 [3] 148.4 - 1.02 == 147.4 [4] 45.2 - 1.03 == 44.1 [5] -17.8 - 1.04 == -18.8 [6] -48.0 - 1.05 == -49.1 [7] -57.1 - 1.06 == -58.2 [8] -55.7 - 1.07 == -56.7 [9] -51.6 - 1.08 == -52.6 ... ── Failure ('test_demogSmooth.R:74:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 111) [1] 66.9 - 1.00 == 65.9 [2] 117.2 - 1.01 == 116.2 [3] 153.7 - 1.02 == 152.7 [4] 143.4 - 1.03 == 142.4 [5] 122.5 - 1.04 == 121.5 [6] 106.9 - 1.05 == 105.9 [7] 97.5 - 1.06 == 96.5 [8] 91.7 - 1.07 == 90.6 [9] 87.7 - 1.08 == 86.6 ... ── Failure ('test_demogSmooth.R:75:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$yearsEffect not equivalent to `per`. 100/100 mismatches (average diff: 105) [1] -206.9 - 0 == -206.9 [2] -180.7 - 0 == -180.7 [3] -157.7 - 0 == -157.7 [4] -138.3 - 0 == -138.3 [5] -122.1 - 0 == -122.1 [6] -108.8 - 0 == -108.8 [7] -97.8 - 0 == -97.8 [8] -88.5 - 0 == -88.5 [9] -80.4 - 0 == -80.4 ... ── Failure ('test_demogSmooth.R:76:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$cohortEffect not equivalent to `coh`. 44/100 mismatches (average diff: 43.6) [1] 1223.65 - 1000 == 223.65 [2] -3.36 - 0 == -3.36 [3] -16.16 - 0 == -16.16 [11] -44.54 - 0 == -44.54 [12] 1201.35 - 1000 == 201.35 [13] -12.95 - 0 == -12.95 [14] -17.47 - 0 == -17.47 [21] -109.58 - 0 == -109.58 [22] -44.54 - 0 == -44.54 ... [ FAIL 11 | WARN 0 | SKIP 5 | PASS 16 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [411s/459s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(smoothAPC) > > test_check("smoothAPC") | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / | / - \ | / - \ | / - \ | / - \ [ FAIL 11 | WARN 0 | SKIP 5 | PASS 16 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test_twoStepDemogSmooth.R:22:3', 'test_twoStepDemogSmooth.R:32:3', 'test_twoStepDemogSmooth.R:46:3' • empty test (2): 'test_autoDemogSmooth.R:35:1', 'test_demogSmooth.R:36:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_autoDemogSmooth.R:23:3'): Testing autoSmoothAPC on linear data with noise, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 11.8) [1] -3.064 - 1.00 == -4.06449 [2] -12.499 - 1.01 == -13.50885 [3] 4.183 - 1.02 == 3.16266 [4] -12.523 - 1.03 == -13.55349 [5] -2.907 - 1.04 == -3.94701 [6] 0.827 - 1.05 == -0.22257 [7] 1.150 - 1.06 == 0.09028 [8] 1.091 - 1.07 == 0.02097 [9] 1.081 - 1.08 == 0.00111 ... ── Failure ('test_autoDemogSmooth.R:30:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 21.7) [1] -7.821 - 1.00 == -8.821 [2] 30.571 - 1.01 == 29.561 [3] 7.696 - 1.02 == 6.676 [4] 9.790 - 1.03 == 8.760 [5] 7.972 - 1.04 == 6.932 [6] 6.031 - 1.05 == 4.981 [7] 4.101 - 1.06 == 3.041 [8] 2.168 - 1.07 == 1.098 [9] 0.232 - 1.08 == -0.848 ... ── Failure ('test_autoDemogSmooth.R:31:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$yearsEffect not equivalent to `zer`. 100/100 mismatches (average diff: 14.1) [1] -14.645 - 0 == -14.645 [2] -12.653 - 0 == -12.653 [3] -10.684 - 0 == -10.684 [4] -8.747 - 0 == -8.747 [5] -6.826 - 0 == -6.826 [6] -4.911 - 0 == -4.911 [7] -2.995 - 0 == -2.995 [8] -1.076 - 0 == -1.076 [9] 0.846 - 0 == 0.846 ... ── Failure ('test_autoDemogSmooth.R:32:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$cohortEffect not equivalent to `zer`. 44/100 mismatches (average diff: 6.59) [1] 23.87 - 0 == 23.87 [2] -17.19 - 0 == -17.19 [3] 3.69 - 0 == 3.69 [11] -19.53 - 0 == -19.53 [12] 21.52 - 0 == 21.52 [13] -15.00 - 0 == -15.00 [14] 3.07 - 0 == 3.07 [21] 3.81 - 0 == 3.81 [22] -16.58 - 0 == -16.58 ... ── Failure ('test_demogSmooth.R:19:3'): Testing smoothAPC on linear data with one outlier and w/o ridges, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 12) [1] -12.83 - 1.00 == -13.83 [2] 17.64 - 1.01 == 16.63 [3] 38.23 - 1.02 == 37.21 [4] 22.01 - 1.03 == 20.98 [5] 3.29 - 1.04 == 2.25 [6] -5.45 - 1.05 == -6.50 [7] -6.44 - 1.06 == -7.50 [8] -4.40 - 1.07 == -5.47 [9] -2.16 - 1.08 == -3.24 ... ── Failure ('test_demogSmooth.R:49:3'): Testing smoothAPC on linear data with one cohort effect and w/o period effects, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 108) [1] 475.4 - 1.00 == 474.4 [2] 324.4 - 1.01 == 323.4 [3] 185.5 - 1.02 == 184.4 [4] 82.2 - 1.03 == 81.2 [5] 19.3 - 1.04 == 18.3 [6] -11.0 - 1.05 == -12.0 [7] -20.1 - 1.06 == -21.1 [8] -18.6 - 1.07 == -19.7 [9] -14.5 - 1.08 == -15.6 ... ── Failure ('test_demogSmooth.R:60:3'): Testing smoothAPC on linear data with one period effect and w/o cohort effects, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 114) [1] -36.1 - 1.00 == -37.1 [2] -36.1 - 1.01 == -37.1 [3] -36.1 - 1.02 == -37.1 [4] -36.0 - 1.03 == -37.1 [5] -36.0 - 1.04 == -37.1 [6] -36.0 - 1.05 == -37.1 [7] -36.0 - 1.06 == -37.1 [8] -36.0 - 1.07 == -37.1 [9] -36.0 - 1.08 == -37.1 ... ── Failure ('test_demogSmooth.R:67:3'): Testing smoothAPC on linear data with one period effect and with one cohort effects, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 212) [1] 438.3 - 1.00 == 437.3 [2] 287.3 - 1.01 == 286.3 [3] 148.4 - 1.02 == 147.4 [4] 45.2 - 1.03 == 44.1 [5] -17.8 - 1.04 == -18.8 [6] -48.0 - 1.05 == -49.1 [7] -57.1 - 1.06 == -58.2 [8] -55.7 - 1.07 == -56.7 [9] -51.6 - 1.08 == -52.6 ... ── Failure ('test_demogSmooth.R:74:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 111) [1] 66.9 - 1.00 == 65.9 [2] 117.2 - 1.01 == 116.2 [3] 153.7 - 1.02 == 152.7 [4] 143.4 - 1.03 == 142.4 [5] 122.5 - 1.04 == 121.5 [6] 106.9 - 1.05 == 105.9 [7] 97.5 - 1.06 == 96.5 [8] 91.7 - 1.07 == 90.6 [9] 87.7 - 1.08 == 86.6 ... ── Failure ('test_demogSmooth.R:75:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$yearsEffect not equivalent to `per`. 100/100 mismatches (average diff: 105) [1] -206.9 - 0 == -206.9 [2] -180.7 - 0 == -180.7 [3] -157.7 - 0 == -157.7 [4] -138.3 - 0 == -138.3 [5] -122.1 - 0 == -122.1 [6] -108.8 - 0 == -108.8 [7] -97.8 - 0 == -97.8 [8] -88.5 - 0 == -88.5 [9] -80.4 - 0 == -80.4 ... ── Failure ('test_demogSmooth.R:76:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$cohortEffect not equivalent to `coh`. 44/100 mismatches (average diff: 43.6) [1] 1223.65 - 1000 == 223.65 [2] -3.36 - 0 == -3.36 [3] -16.16 - 0 == -16.16 [11] -44.54 - 0 == -44.54 [12] 1201.35 - 1000 == 201.35 [13] -12.95 - 0 == -12.95 [14] -17.47 - 0 == -17.47 [21] -109.58 - 0 == -109.58 [22] -44.54 - 0 == -44.54 ... [ FAIL 11 | WARN 0 | SKIP 5 | PASS 16 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3
Check: dependencies in R code
Result: NOTE Namespaces in Imports field not imported from: ‘compiler’ ‘lmtest’ All declared Imports should be used. Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [553s/592s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(smoothAPC) > > test_check("smoothAPC") | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / | / - \ | / - \ | / - \ | / - \ [ FAIL 11 | WARN 0 | SKIP 5 | PASS 16 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test_twoStepDemogSmooth.R:22:3', 'test_twoStepDemogSmooth.R:32:3', 'test_twoStepDemogSmooth.R:46:3' • empty test (2): 'test_autoDemogSmooth.R:35:1', 'test_demogSmooth.R:36:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_autoDemogSmooth.R:23:3'): Testing autoSmoothAPC on linear data with noise, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 11.8) [1] -3.064 - 1.00 == -4.06449 [2] -12.499 - 1.01 == -13.50885 [3] 4.183 - 1.02 == 3.16266 [4] -12.523 - 1.03 == -13.55349 [5] -2.907 - 1.04 == -3.94701 [6] 0.827 - 1.05 == -0.22257 [7] 1.150 - 1.06 == 0.09028 [8] 1.091 - 1.07 == 0.02097 [9] 1.081 - 1.08 == 0.00111 ... ── Failure ('test_autoDemogSmooth.R:30:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 21.7) [1] -7.821 - 1.00 == -8.821 [2] 30.571 - 1.01 == 29.561 [3] 7.696 - 1.02 == 6.676 [4] 9.790 - 1.03 == 8.760 [5] 7.972 - 1.04 == 6.932 [6] 6.031 - 1.05 == 4.981 [7] 4.101 - 1.06 == 3.041 [8] 2.168 - 1.07 == 1.098 [9] 0.232 - 1.08 == -0.848 ... ── Failure ('test_autoDemogSmooth.R:31:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$yearsEffect not equivalent to `zer`. 100/100 mismatches (average diff: 14.1) [1] -14.645 - 0 == -14.645 [2] -12.653 - 0 == -12.653 [3] -10.684 - 0 == -10.684 [4] -8.747 - 0 == -8.747 [5] -6.826 - 0 == -6.826 [6] -4.911 - 0 == -4.911 [7] -2.995 - 0 == -2.995 [8] -1.076 - 0 == -1.076 [9] 0.846 - 0 == 0.846 ... ── Failure ('test_autoDemogSmooth.R:32:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$cohortEffect not equivalent to `zer`. 44/100 mismatches (average diff: 6.59) [1] 23.87 - 0 == 23.87 [2] -17.19 - 0 == -17.19 [3] 3.69 - 0 == 3.69 [11] -19.53 - 0 == -19.53 [12] 21.52 - 0 == 21.52 [13] -15.00 - 0 == -15.00 [14] 3.07 - 0 == 3.07 [21] 3.81 - 0 == 3.81 [22] -16.58 - 0 == -16.58 ... ── Failure ('test_demogSmooth.R:19:3'): Testing smoothAPC on linear data with one outlier and w/o ridges, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 12) [1] -12.83 - 1.00 == -13.83 [2] 17.64 - 1.01 == 16.63 [3] 38.23 - 1.02 == 37.21 [4] 22.01 - 1.03 == 20.98 [5] 3.29 - 1.04 == 2.25 [6] -5.45 - 1.05 == -6.50 [7] -6.44 - 1.06 == -7.50 [8] -4.40 - 1.07 == -5.47 [9] -2.16 - 1.08 == -3.24 ... ── Failure ('test_demogSmooth.R:49:3'): Testing smoothAPC on linear data with one cohort effect and w/o period effects, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 108) [1] 475.4 - 1.00 == 474.4 [2] 324.4 - 1.01 == 323.4 [3] 185.5 - 1.02 == 184.4 [4] 82.2 - 1.03 == 81.2 [5] 19.3 - 1.04 == 18.3 [6] -11.0 - 1.05 == -12.0 [7] -20.1 - 1.06 == -21.1 [8] -18.6 - 1.07 == -19.7 [9] -14.5 - 1.08 == -15.6 ... ── Failure ('test_demogSmooth.R:60:3'): Testing smoothAPC on linear data with one period effect and w/o cohort effects, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 114) [1] -36.1 - 1.00 == -37.1 [2] -36.1 - 1.01 == -37.1 [3] -36.1 - 1.02 == -37.1 [4] -36.0 - 1.03 == -37.1 [5] -36.0 - 1.04 == -37.1 [6] -36.0 - 1.05 == -37.1 [7] -36.0 - 1.06 == -37.1 [8] -36.0 - 1.07 == -37.1 [9] -36.0 - 1.08 == -37.1 ... ── Failure ('test_demogSmooth.R:67:3'): Testing smoothAPC on linear data with one period effect and with one cohort effects, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 212) [1] 438.3 - 1.00 == 437.3 [2] 287.3 - 1.01 == 286.3 [3] 148.4 - 1.02 == 147.4 [4] 45.2 - 1.03 == 44.1 [5] -17.8 - 1.04 == -18.8 [6] -48.0 - 1.05 == -49.1 [7] -57.1 - 1.06 == -58.2 [8] -55.7 - 1.07 == -56.7 [9] -51.6 - 1.08 == -52.6 ... ── Failure ('test_demogSmooth.R:74:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 111) [1] 66.9 - 1.00 == 65.9 [2] 117.2 - 1.01 == 116.2 [3] 153.7 - 1.02 == 152.7 [4] 143.4 - 1.03 == 142.4 [5] 122.5 - 1.04 == 121.5 [6] 106.9 - 1.05 == 105.9 [7] 97.5 - 1.06 == 96.5 [8] 91.7 - 1.07 == 90.6 [9] 87.7 - 1.08 == 86.6 ... ── Failure ('test_demogSmooth.R:75:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$yearsEffect not equivalent to `per`. 100/100 mismatches (average diff: 105) [1] -206.9 - 0 == -206.9 [2] -180.7 - 0 == -180.7 [3] -157.7 - 0 == -157.7 [4] -138.3 - 0 == -138.3 [5] -122.1 - 0 == -122.1 [6] -108.8 - 0 == -108.8 [7] -97.8 - 0 == -97.8 [8] -88.5 - 0 == -88.5 [9] -80.4 - 0 == -80.4 ... ── Failure ('test_demogSmooth.R:76:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$cohortEffect not equivalent to `coh`. 44/100 mismatches (average diff: 43.6) [1] 1223.65 - 1000 == 223.65 [2] -3.36 - 0 == -3.36 [3] -16.16 - 0 == -16.16 [11] -44.54 - 0 == -44.54 [12] 1201.35 - 1000 == 201.35 [13] -12.95 - 0 == -12.95 [14] -17.47 - 0 == -17.47 [21] -109.58 - 0 == -109.58 [22] -44.54 - 0 == -44.54 ... [ FAIL 11 | WARN 0 | SKIP 5 | PASS 16 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [509s/526s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(smoothAPC) > > test_check("smoothAPC") | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / | / - \ | / - \ | / - \ | / - \ [ FAIL 11 | WARN 0 | SKIP 5 | PASS 16 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test_twoStepDemogSmooth.R:22:3', 'test_twoStepDemogSmooth.R:32:3', 'test_twoStepDemogSmooth.R:46:3' • empty test (2): 'test_autoDemogSmooth.R:35:1', 'test_demogSmooth.R:36:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_autoDemogSmooth.R:23:3'): Testing autoSmoothAPC on linear data with noise, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 11.8) [1] -3.064 - 1.00 == -4.06449 [2] -12.499 - 1.01 == -13.50885 [3] 4.183 - 1.02 == 3.16266 [4] -12.523 - 1.03 == -13.55349 [5] -2.907 - 1.04 == -3.94701 [6] 0.827 - 1.05 == -0.22257 [7] 1.150 - 1.06 == 0.09028 [8] 1.091 - 1.07 == 0.02097 [9] 1.081 - 1.08 == 0.00111 ... ── Failure ('test_autoDemogSmooth.R:30:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 21.7) [1] -7.821 - 1.00 == -8.821 [2] 30.571 - 1.01 == 29.561 [3] 7.696 - 1.02 == 6.676 [4] 9.790 - 1.03 == 8.760 [5] 7.972 - 1.04 == 6.932 [6] 6.031 - 1.05 == 4.981 [7] 4.101 - 1.06 == 3.041 [8] 2.168 - 1.07 == 1.098 [9] 0.232 - 1.08 == -0.848 ... ── Failure ('test_autoDemogSmooth.R:31:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$yearsEffect not equivalent to `zer`. 100/100 mismatches (average diff: 14.1) [1] -14.645 - 0 == -14.645 [2] -12.653 - 0 == -12.653 [3] -10.684 - 0 == -10.684 [4] -8.747 - 0 == -8.747 [5] -6.826 - 0 == -6.826 [6] -4.911 - 0 == -4.911 [7] -2.995 - 0 == -2.995 [8] -1.076 - 0 == -1.076 [9] 0.846 - 0 == 0.846 ... ── Failure ('test_autoDemogSmooth.R:32:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$cohortEffect not equivalent to `zer`. 44/100 mismatches (average diff: 6.59) [1] 23.87 - 0 == 23.87 [2] -17.19 - 0 == -17.19 [3] 3.69 - 0 == 3.69 [11] -19.53 - 0 == -19.53 [12] 21.52 - 0 == 21.52 [13] -15.00 - 0 == -15.00 [14] 3.07 - 0 == 3.07 [21] 3.81 - 0 == 3.81 [22] -16.58 - 0 == -16.58 ... ── Failure ('test_demogSmooth.R:19:3'): Testing smoothAPC on linear data with one outlier and w/o ridges, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 12) [1] -12.83 - 1.00 == -13.83 [2] 17.64 - 1.01 == 16.63 [3] 38.23 - 1.02 == 37.21 [4] 22.01 - 1.03 == 20.98 [5] 3.29 - 1.04 == 2.25 [6] -5.45 - 1.05 == -6.50 [7] -6.44 - 1.06 == -7.50 [8] -4.40 - 1.07 == -5.47 [9] -2.16 - 1.08 == -3.24 ... ── Failure ('test_demogSmooth.R:49:3'): Testing smoothAPC on linear data with one cohort effect and w/o period effects, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 108) [1] 475.4 - 1.00 == 474.4 [2] 324.4 - 1.01 == 323.4 [3] 185.5 - 1.02 == 184.4 [4] 82.2 - 1.03 == 81.2 [5] 19.3 - 1.04 == 18.3 [6] -11.0 - 1.05 == -12.0 [7] -20.1 - 1.06 == -21.1 [8] -18.6 - 1.07 == -19.7 [9] -14.5 - 1.08 == -15.6 ... ── Failure ('test_demogSmooth.R:60:3'): Testing smoothAPC on linear data with one period effect and w/o cohort effects, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 114) [1] -36.1 - 1.00 == -37.1 [2] -36.1 - 1.01 == -37.1 [3] -36.1 - 1.02 == -37.1 [4] -36.0 - 1.03 == -37.1 [5] -36.0 - 1.04 == -37.1 [6] -36.0 - 1.05 == -37.1 [7] -36.0 - 1.06 == -37.1 [8] -36.0 - 1.07 == -37.1 [9] -36.0 - 1.08 == -37.1 ... ── Failure ('test_demogSmooth.R:67:3'): Testing smoothAPC on linear data with one period effect and with one cohort effects, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 212) [1] 438.3 - 1.00 == 437.3 [2] 287.3 - 1.01 == 286.3 [3] 148.4 - 1.02 == 147.4 [4] 45.2 - 1.03 == 44.1 [5] -17.8 - 1.04 == -18.8 [6] -48.0 - 1.05 == -49.1 [7] -57.1 - 1.06 == -58.2 [8] -55.7 - 1.07 == -56.7 [9] -51.6 - 1.08 == -52.6 ... ── Failure ('test_demogSmooth.R:74:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 111) [1] 66.9 - 1.00 == 65.9 [2] 117.2 - 1.01 == 116.2 [3] 153.7 - 1.02 == 152.7 [4] 143.4 - 1.03 == 142.4 [5] 122.5 - 1.04 == 121.5 [6] 106.9 - 1.05 == 105.9 [7] 97.5 - 1.06 == 96.5 [8] 91.7 - 1.07 == 90.6 [9] 87.7 - 1.08 == 86.6 ... ── Failure ('test_demogSmooth.R:75:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$yearsEffect not equivalent to `per`. 100/100 mismatches (average diff: 105) [1] -206.9 - 0 == -206.9 [2] -180.7 - 0 == -180.7 [3] -157.7 - 0 == -157.7 [4] -138.3 - 0 == -138.3 [5] -122.1 - 0 == -122.1 [6] -108.8 - 0 == -108.8 [7] -97.8 - 0 == -97.8 [8] -88.5 - 0 == -88.5 [9] -80.4 - 0 == -80.4 ... ── Failure ('test_demogSmooth.R:76:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$cohortEffect not equivalent to `coh`. 44/100 mismatches (average diff: 43.6) [1] 1223.65 - 1000 == 223.65 [2] -3.36 - 0 == -3.36 [3] -16.16 - 0 == -16.16 [11] -44.54 - 0 == -44.54 [12] 1201.35 - 1000 == 201.35 [13] -12.95 - 0 == -12.95 [14] -17.47 - 0 == -17.47 [21] -109.58 - 0 == -109.58 [22] -44.54 - 0 == -44.54 ... [ FAIL 11 | WARN 0 | SKIP 5 | PASS 16 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.3
Check: tests
Result: ERROR Running 'testthat.R' [10m] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(smoothAPC) > > test_check("smoothAPC") | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / | / - \ | / - \ | / - \ | / - \ [ FAIL 11 | WARN 0 | SKIP 5 | PASS 16 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test_twoStepDemogSmooth.R:22:3', 'test_twoStepDemogSmooth.R:32:3', 'test_twoStepDemogSmooth.R:46:3' • empty test (2): 'test_autoDemogSmooth.R:35:1', 'test_demogSmooth.R:36:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_autoDemogSmooth.R:23:3'): Testing autoSmoothAPC on linear data with noise, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 11.8) [1] -3.064 - 1.00 == -4.06449 [2] -12.499 - 1.01 == -13.50885 [3] 4.183 - 1.02 == 3.16266 [4] -12.523 - 1.03 == -13.55349 [5] -2.907 - 1.04 == -3.94701 [6] 0.827 - 1.05 == -0.22257 [7] 1.150 - 1.06 == 0.09028 [8] 1.091 - 1.07 == 0.02097 [9] 1.081 - 1.08 == 0.00111 ... ── Failure ('test_autoDemogSmooth.R:30:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 21.7) [1] -7.821 - 1.00 == -8.821 [2] 30.571 - 1.01 == 29.561 [3] 7.696 - 1.02 == 6.676 [4] 9.790 - 1.03 == 8.760 [5] 7.972 - 1.04 == 6.932 [6] 6.031 - 1.05 == 4.981 [7] 4.101 - 1.06 == 3.041 [8] 2.168 - 1.07 == 1.098 [9] 0.232 - 1.08 == -0.848 ... ── Failure ('test_autoDemogSmooth.R:31:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$yearsEffect not equivalent to `zer`. 100/100 mismatches (average diff: 14.1) [1] -14.645 - 0 == -14.645 [2] -12.653 - 0 == -12.653 [3] -10.684 - 0 == -10.684 [4] -8.747 - 0 == -8.747 [5] -6.826 - 0 == -6.826 [6] -4.911 - 0 == -4.911 [7] -2.995 - 0 == -2.995 [8] -1.076 - 0 == -1.076 [9] 0.846 - 0 == 0.846 ... ── Failure ('test_autoDemogSmooth.R:32:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$cohortEffect not equivalent to `zer`. 44/100 mismatches (average diff: 6.59) [1] 23.87 - 0 == 23.87 [2] -17.19 - 0 == -17.19 [3] 3.69 - 0 == 3.69 [11] -19.53 - 0 == -19.53 [12] 21.52 - 0 == 21.52 [13] -15.00 - 0 == -15.00 [14] 3.07 - 0 == 3.07 [21] 3.81 - 0 == 3.81 [22] -16.58 - 0 == -16.58 ... ── Failure ('test_demogSmooth.R:19:3'): Testing smoothAPC on linear data with one outlier and w/o ridges, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 12) [1] -12.83 - 1.00 == -13.83 [2] 17.64 - 1.01 == 16.63 [3] 38.23 - 1.02 == 37.21 [4] 22.01 - 1.03 == 20.98 [5] 3.29 - 1.04 == 2.25 [6] -5.45 - 1.05 == -6.50 [7] -6.44 - 1.06 == -7.50 [8] -4.40 - 1.07 == -5.47 [9] -2.16 - 1.08 == -3.24 ... ── Failure ('test_demogSmooth.R:49:3'): Testing smoothAPC on linear data with one cohort effect and w/o period effects, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 108) [1] 475.4 - 1.00 == 474.4 [2] 324.4 - 1.01 == 323.4 [3] 185.5 - 1.02 == 184.4 [4] 82.2 - 1.03 == 81.2 [5] 19.3 - 1.04 == 18.3 [6] -11.0 - 1.05 == -12.0 [7] -20.1 - 1.06 == -21.1 [8] -18.6 - 1.07 == -19.7 [9] -14.5 - 1.08 == -15.6 ... ── Failure ('test_demogSmooth.R:60:3'): Testing smoothAPC on linear data with one period effect and w/o cohort effects, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 114) [1] -36.1 - 1.00 == -37.1 [2] -36.1 - 1.01 == -37.1 [3] -36.1 - 1.02 == -37.1 [4] -36.0 - 1.03 == -37.1 [5] -36.0 - 1.04 == -37.1 [6] -36.0 - 1.05 == -37.1 [7] -36.0 - 1.06 == -37.1 [8] -36.0 - 1.07 == -37.1 [9] -36.0 - 1.08 == -37.1 ... ── Failure ('test_demogSmooth.R:67:3'): Testing smoothAPC on linear data with one period effect and with one cohort effects, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 212) [1] 438.3 - 1.00 == 437.3 [2] 287.3 - 1.01 == 286.3 [3] 148.4 - 1.02 == 147.4 [4] 45.2 - 1.03 == 44.1 [5] -17.8 - 1.04 == -18.8 [6] -48.0 - 1.05 == -49.1 [7] -57.1 - 1.06 == -58.2 [8] -55.7 - 1.07 == -56.7 [9] -51.6 - 1.08 == -52.6 ... ── Failure ('test_demogSmooth.R:74:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 111) [1] 66.9 - 1.00 == 65.9 [2] 117.2 - 1.01 == 116.2 [3] 153.7 - 1.02 == 152.7 [4] 143.4 - 1.03 == 142.4 [5] 122.5 - 1.04 == 121.5 [6] 106.9 - 1.05 == 105.9 [7] 97.5 - 1.06 == 96.5 [8] 91.7 - 1.07 == 90.6 [9] 87.7 - 1.08 == 86.6 ... ── Failure ('test_demogSmooth.R:75:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$yearsEffect not equivalent to `per`. 100/100 mismatches (average diff: 105) [1] -206.9 - 0 == -206.9 [2] -180.7 - 0 == -180.7 [3] -157.7 - 0 == -157.7 [4] -138.3 - 0 == -138.3 [5] -122.1 - 0 == -122.1 [6] -108.8 - 0 == -108.8 [7] -97.8 - 0 == -97.8 [8] -88.5 - 0 == -88.5 [9] -80.4 - 0 == -80.4 ... ── Failure ('test_demogSmooth.R:76:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$cohortEffect not equivalent to `coh`. 44/100 mismatches (average diff: 43.6) [1] 1223.65 - 1000 == 223.65 [2] -3.36 - 0 == -3.36 [3] -16.16 - 0 == -16.16 [11] -44.54 - 0 == -44.54 [12] 1201.35 - 1000 == 201.35 [13] -12.95 - 0 == -12.95 [14] -17.47 - 0 == -17.47 [21] -109.58 - 0 == -109.58 [22] -44.54 - 0 == -44.54 ... [ FAIL 11 | WARN 0 | SKIP 5 | PASS 16 ] Error: Test failures Execution halted Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.3
Check: LazyData
Result: NOTE 'LazyData' is specified without a 'data' directory Flavors: r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Version: 0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [460s/579s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(smoothAPC) > > test_check("smoothAPC") | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / | / - \ | / - \ | / - \ | / - \ [ FAIL 11 | WARN 0 | SKIP 5 | PASS 16 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test_twoStepDemogSmooth.R:22:3', 'test_twoStepDemogSmooth.R:32:3', 'test_twoStepDemogSmooth.R:46:3' • empty test (2): 'test_autoDemogSmooth.R:35:1', 'test_demogSmooth.R:36:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_autoDemogSmooth.R:23:3'): Testing autoSmoothAPC on linear data with noise, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 11.8) [1] -3.064 - 1.00 == -4.06449 [2] -12.499 - 1.01 == -13.50885 [3] 4.183 - 1.02 == 3.16266 [4] -12.523 - 1.03 == -13.55349 [5] -2.907 - 1.04 == -3.94701 [6] 0.827 - 1.05 == -0.22257 [7] 1.150 - 1.06 == 0.09028 [8] 1.091 - 1.07 == 0.02097 [9] 1.081 - 1.08 == 0.00111 ... ── Failure ('test_autoDemogSmooth.R:30:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 21.7) [1] -7.821 - 1.00 == -8.821 [2] 30.571 - 1.01 == 29.561 [3] 7.696 - 1.02 == 6.676 [4] 9.790 - 1.03 == 8.760 [5] 7.972 - 1.04 == 6.932 [6] 6.031 - 1.05 == 4.981 [7] 4.101 - 1.06 == 3.041 [8] 2.168 - 1.07 == 1.098 [9] 0.232 - 1.08 == -0.848 ... ── Failure ('test_autoDemogSmooth.R:31:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$yearsEffect not equivalent to `zer`. 100/100 mismatches (average diff: 14.1) [1] -14.645 - 0 == -14.645 [2] -12.653 - 0 == -12.653 [3] -10.684 - 0 == -10.684 [4] -8.747 - 0 == -8.747 [5] -6.826 - 0 == -6.826 [6] -4.911 - 0 == -4.911 [7] -2.995 - 0 == -2.995 [8] -1.076 - 0 == -1.076 [9] 0.846 - 0 == 0.846 ... ── Failure ('test_autoDemogSmooth.R:32:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$cohortEffect not equivalent to `zer`. 44/100 mismatches (average diff: 6.59) [1] 23.87 - 0 == 23.87 [2] -17.19 - 0 == -17.19 [3] 3.69 - 0 == 3.69 [11] -19.53 - 0 == -19.53 [12] 21.52 - 0 == 21.52 [13] -15.00 - 0 == -15.00 [14] 3.07 - 0 == 3.07 [21] 3.81 - 0 == 3.81 [22] -16.58 - 0 == -16.58 ... ── Failure ('test_demogSmooth.R:19:3'): Testing smoothAPC on linear data with one outlier and w/o ridges, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 12) [1] -12.83 - 1.00 == -13.83 [2] 17.64 - 1.01 == 16.63 [3] 38.23 - 1.02 == 37.21 [4] 22.01 - 1.03 == 20.98 [5] 3.29 - 1.04 == 2.25 [6] -5.45 - 1.05 == -6.50 [7] -6.44 - 1.06 == -7.50 [8] -4.40 - 1.07 == -5.47 [9] -2.16 - 1.08 == -3.24 ... ── Failure ('test_demogSmooth.R:49:3'): Testing smoothAPC on linear data with one cohort effect and w/o period effects, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 108) [1] 475.4 - 1.00 == 474.4 [2] 324.4 - 1.01 == 323.4 [3] 185.5 - 1.02 == 184.4 [4] 82.2 - 1.03 == 81.2 [5] 19.3 - 1.04 == 18.3 [6] -11.0 - 1.05 == -12.0 [7] -20.1 - 1.06 == -21.1 [8] -18.6 - 1.07 == -19.7 [9] -14.5 - 1.08 == -15.6 ... ── Failure ('test_demogSmooth.R:60:3'): Testing smoothAPC on linear data with one period effect and w/o cohort effects, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 114) [1] -36.1 - 1.00 == -37.1 [2] -36.1 - 1.01 == -37.1 [3] -36.1 - 1.02 == -37.1 [4] -36.0 - 1.03 == -37.1 [5] -36.0 - 1.04 == -37.1 [6] -36.0 - 1.05 == -37.1 [7] -36.0 - 1.06 == -37.1 [8] -36.0 - 1.07 == -37.1 [9] -36.0 - 1.08 == -37.1 ... ── Failure ('test_demogSmooth.R:67:3'): Testing smoothAPC on linear data with one period effect and with one cohort effects, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 212) [1] 438.3 - 1.00 == 437.3 [2] 287.3 - 1.01 == 286.3 [3] 148.4 - 1.02 == 147.4 [4] 45.2 - 1.03 == 44.1 [5] -17.8 - 1.04 == -18.8 [6] -48.0 - 1.05 == -49.1 [7] -57.1 - 1.06 == -58.2 [8] -55.7 - 1.07 == -56.7 [9] -51.6 - 1.08 == -52.6 ... ── Failure ('test_demogSmooth.R:74:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 111) [1] 66.9 - 1.00 == 65.9 [2] 117.2 - 1.01 == 116.2 [3] 153.7 - 1.02 == 152.7 [4] 143.4 - 1.03 == 142.4 [5] 122.5 - 1.04 == 121.5 [6] 106.9 - 1.05 == 105.9 [7] 97.5 - 1.06 == 96.5 [8] 91.7 - 1.07 == 90.6 [9] 87.7 - 1.08 == 86.6 ... ── Failure ('test_demogSmooth.R:75:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$yearsEffect not equivalent to `per`. 100/100 mismatches (average diff: 105) [1] -206.9 - 0 == -206.9 [2] -180.7 - 0 == -180.7 [3] -157.7 - 0 == -157.7 [4] -138.3 - 0 == -138.3 [5] -122.1 - 0 == -122.1 [6] -108.8 - 0 == -108.8 [7] -97.8 - 0 == -97.8 [8] -88.5 - 0 == -88.5 [9] -80.4 - 0 == -80.4 ... ── Failure ('test_demogSmooth.R:76:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$cohortEffect not equivalent to `coh`. 44/100 mismatches (average diff: 43.6) [1] 1223.65 - 1000 == 223.65 [2] -3.36 - 0 == -3.36 [3] -16.16 - 0 == -16.16 [11] -44.54 - 0 == -44.54 [12] 1201.35 - 1000 == 201.35 [13] -12.95 - 0 == -12.95 [14] -17.47 - 0 == -17.47 [21] -109.58 - 0 == -109.58 [22] -44.54 - 0 == -44.54 ... [ FAIL 11 | WARN 0 | SKIP 5 | PASS 16 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64

Version: 0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [470s/588s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(smoothAPC) > > test_check("smoothAPC") | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / | / - \ | / - \ | / - \ | / - \ [ FAIL 11 | WARN 0 | SKIP 5 | PASS 16 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test_twoStepDemogSmooth.R:22:3', 'test_twoStepDemogSmooth.R:32:3', 'test_twoStepDemogSmooth.R:46:3' • empty test (2): 'test_autoDemogSmooth.R:35:1', 'test_demogSmooth.R:36:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_autoDemogSmooth.R:23:3'): Testing autoSmoothAPC on linear data with noise, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 11.8) [1] -3.064 - 1.00 == -4.06449 [2] -12.499 - 1.01 == -13.50885 [3] 4.183 - 1.02 == 3.16266 [4] -12.523 - 1.03 == -13.55349 [5] -2.907 - 1.04 == -3.94701 [6] 0.827 - 1.05 == -0.22257 [7] 1.150 - 1.06 == 0.09028 [8] 1.091 - 1.07 == 0.02097 [9] 1.081 - 1.08 == 0.00111 ... ── Failure ('test_autoDemogSmooth.R:30:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 21.7) [1] -7.821 - 1.00 == -8.821 [2] 30.571 - 1.01 == 29.561 [3] 7.696 - 1.02 == 6.676 [4] 9.790 - 1.03 == 8.760 [5] 7.972 - 1.04 == 6.932 [6] 6.031 - 1.05 == 4.981 [7] 4.101 - 1.06 == 3.041 [8] 2.168 - 1.07 == 1.098 [9] 0.232 - 1.08 == -0.848 ... ── Failure ('test_autoDemogSmooth.R:31:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$yearsEffect not equivalent to `zer`. 100/100 mismatches (average diff: 14.1) [1] -14.645 - 0 == -14.645 [2] -12.653 - 0 == -12.653 [3] -10.684 - 0 == -10.684 [4] -8.747 - 0 == -8.747 [5] -6.826 - 0 == -6.826 [6] -4.911 - 0 == -4.911 [7] -2.995 - 0 == -2.995 [8] -1.076 - 0 == -1.076 [9] 0.846 - 0 == 0.846 ... ── Failure ('test_autoDemogSmooth.R:32:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$cohortEffect not equivalent to `zer`. 44/100 mismatches (average diff: 6.59) [1] 23.87 - 0 == 23.87 [2] -17.19 - 0 == -17.19 [3] 3.69 - 0 == 3.69 [11] -19.53 - 0 == -19.53 [12] 21.52 - 0 == 21.52 [13] -15.00 - 0 == -15.00 [14] 3.07 - 0 == 3.07 [21] 3.81 - 0 == 3.81 [22] -16.58 - 0 == -16.58 ... ── Failure ('test_demogSmooth.R:19:3'): Testing smoothAPC on linear data with one outlier and w/o ridges, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 12) [1] -12.83 - 1.00 == -13.83 [2] 17.64 - 1.01 == 16.63 [3] 38.23 - 1.02 == 37.21 [4] 22.01 - 1.03 == 20.98 [5] 3.29 - 1.04 == 2.25 [6] -5.45 - 1.05 == -6.50 [7] -6.44 - 1.06 == -7.50 [8] -4.40 - 1.07 == -5.47 [9] -2.16 - 1.08 == -3.24 ... ── Failure ('test_demogSmooth.R:49:3'): Testing smoothAPC on linear data with one cohort effect and w/o period effects, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 108) [1] 475.4 - 1.00 == 474.4 [2] 324.4 - 1.01 == 323.4 [3] 185.5 - 1.02 == 184.4 [4] 82.2 - 1.03 == 81.2 [5] 19.3 - 1.04 == 18.3 [6] -11.0 - 1.05 == -12.0 [7] -20.1 - 1.06 == -21.1 [8] -18.6 - 1.07 == -19.7 [9] -14.5 - 1.08 == -15.6 ... ── Failure ('test_demogSmooth.R:60:3'): Testing smoothAPC on linear data with one period effect and w/o cohort effects, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 114) [1] -36.1 - 1.00 == -37.1 [2] -36.1 - 1.01 == -37.1 [3] -36.1 - 1.02 == -37.1 [4] -36.0 - 1.03 == -37.1 [5] -36.0 - 1.04 == -37.1 [6] -36.0 - 1.05 == -37.1 [7] -36.0 - 1.06 == -37.1 [8] -36.0 - 1.07 == -37.1 [9] -36.0 - 1.08 == -37.1 ... ── Failure ('test_demogSmooth.R:67:3'): Testing smoothAPC on linear data with one period effect and with one cohort effects, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 212) [1] 438.3 - 1.00 == 437.3 [2] 287.3 - 1.01 == 286.3 [3] 148.4 - 1.02 == 147.4 [4] 45.2 - 1.03 == 44.1 [5] -17.8 - 1.04 == -18.8 [6] -48.0 - 1.05 == -49.1 [7] -57.1 - 1.06 == -58.2 [8] -55.7 - 1.07 == -56.7 [9] -51.6 - 1.08 == -52.6 ... ── Failure ('test_demogSmooth.R:74:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 111) [1] 66.9 - 1.00 == 65.9 [2] 117.2 - 1.01 == 116.2 [3] 153.7 - 1.02 == 152.7 [4] 143.4 - 1.03 == 142.4 [5] 122.5 - 1.04 == 121.5 [6] 106.9 - 1.05 == 105.9 [7] 97.5 - 1.06 == 96.5 [8] 91.7 - 1.07 == 90.6 [9] 87.7 - 1.08 == 86.6 ... ── Failure ('test_demogSmooth.R:75:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$yearsEffect not equivalent to `per`. 100/100 mismatches (average diff: 105) [1] -206.9 - 0 == -206.9 [2] -180.7 - 0 == -180.7 [3] -157.7 - 0 == -157.7 [4] -138.3 - 0 == -138.3 [5] -122.1 - 0 == -122.1 [6] -108.8 - 0 == -108.8 [7] -97.8 - 0 == -97.8 [8] -88.5 - 0 == -88.5 [9] -80.4 - 0 == -80.4 ... ── Failure ('test_demogSmooth.R:76:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$cohortEffect not equivalent to `coh`. 44/100 mismatches (average diff: 43.6) [1] 1223.65 - 1000 == 223.65 [2] -3.36 - 0 == -3.36 [3] -16.16 - 0 == -16.16 [11] -44.54 - 0 == -44.54 [12] 1201.35 - 1000 == 201.35 [13] -12.95 - 0 == -12.95 [14] -17.47 - 0 == -17.47 [21] -109.58 - 0 == -109.58 [22] -44.54 - 0 == -44.54 ... [ FAIL 11 | WARN 0 | SKIP 5 | PASS 16 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64

Version: 0.3
Check: package dependencies
Result: NOTE Package suggested but not available for checking: ‘demography’ Flavor: r-oldrel-macos-x86_64

Version: 0.3
Check: tests
Result: ERROR Running 'testthat.R' [492s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(smoothAPC) > > test_check("smoothAPC") | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / | / - \ | / - \ | / - \ | / - \ [ FAIL 11 | WARN 0 | SKIP 5 | PASS 16 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test_twoStepDemogSmooth.R:22:3', 'test_twoStepDemogSmooth.R:32:3', 'test_twoStepDemogSmooth.R:46:3' • empty test (2): 'test_autoDemogSmooth.R:35:1', 'test_demogSmooth.R:36:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_autoDemogSmooth.R:23:3'): Testing autoSmoothAPC on linear data with noise, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 11.8) [1] -3.064 - 1.00 == -4.06449 [2] -12.499 - 1.01 == -13.50885 [3] 4.183 - 1.02 == 3.16266 [4] -12.523 - 1.03 == -13.55349 [5] -2.907 - 1.04 == -3.94701 [6] 0.827 - 1.05 == -0.22257 [7] 1.150 - 1.06 == 0.09028 [8] 1.091 - 1.07 == 0.02097 [9] 1.081 - 1.08 == 0.00111 ... ── Failure ('test_autoDemogSmooth.R:30:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 21.7) [1] -7.821 - 1.00 == -8.821 [2] 30.571 - 1.01 == 29.561 [3] 7.696 - 1.02 == 6.676 [4] 9.790 - 1.03 == 8.760 [5] 7.972 - 1.04 == 6.932 [6] 6.031 - 1.05 == 4.981 [7] 4.101 - 1.06 == 3.041 [8] 2.168 - 1.07 == 1.098 [9] 0.232 - 1.08 == -0.848 ... ── Failure ('test_autoDemogSmooth.R:31:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$yearsEffect not equivalent to `zer`. 100/100 mismatches (average diff: 14.1) [1] -14.645 - 0 == -14.645 [2] -12.653 - 0 == -12.653 [3] -10.684 - 0 == -10.684 [4] -8.747 - 0 == -8.747 [5] -6.826 - 0 == -6.826 [6] -4.911 - 0 == -4.911 [7] -2.995 - 0 == -2.995 [8] -1.076 - 0 == -1.076 [9] 0.846 - 0 == 0.846 ... ── Failure ('test_autoDemogSmooth.R:32:3'): Testing autoSmoothAPC on linear data with noise, effects = TRUE ── sm$cohortEffect not equivalent to `zer`. 44/100 mismatches (average diff: 6.59) [1] 23.87 - 0 == 23.87 [2] -17.19 - 0 == -17.19 [3] 3.69 - 0 == 3.69 [11] -19.53 - 0 == -19.53 [12] 21.52 - 0 == 21.52 [13] -15.00 - 0 == -15.00 [14] 3.07 - 0 == 3.07 [21] 3.81 - 0 == 3.81 [22] -16.58 - 0 == -16.58 ... ── Failure ('test_demogSmooth.R:19:3'): Testing smoothAPC on linear data with one outlier and w/o ridges, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 12) [1] -12.83 - 1.00 == -13.83 [2] 17.64 - 1.01 == 16.63 [3] 38.23 - 1.02 == 37.21 [4] 22.01 - 1.03 == 20.98 [5] 3.29 - 1.04 == 2.25 [6] -5.45 - 1.05 == -6.50 [7] -6.44 - 1.06 == -7.50 [8] -4.40 - 1.07 == -5.47 [9] -2.16 - 1.08 == -3.24 ... ── Failure ('test_demogSmooth.R:49:3'): Testing smoothAPC on linear data with one cohort effect and w/o period effects, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 108) [1] 475.4 - 1.00 == 474.4 [2] 324.4 - 1.01 == 323.4 [3] 185.5 - 1.02 == 184.4 [4] 82.2 - 1.03 == 81.2 [5] 19.3 - 1.04 == 18.3 [6] -11.0 - 1.05 == -12.0 [7] -20.1 - 1.06 == -21.1 [8] -18.6 - 1.07 == -19.7 [9] -14.5 - 1.08 == -15.6 ... ── Failure ('test_demogSmooth.R:60:3'): Testing smoothAPC on linear data with one period effect and w/o cohort effects, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 114) [1] -36.1 - 1.00 == -37.1 [2] -36.1 - 1.01 == -37.1 [3] -36.1 - 1.02 == -37.1 [4] -36.0 - 1.03 == -37.1 [5] -36.0 - 1.04 == -37.1 [6] -36.0 - 1.05 == -37.1 [7] -36.0 - 1.06 == -37.1 [8] -36.0 - 1.07 == -37.1 [9] -36.0 - 1.08 == -37.1 ... ── Failure ('test_demogSmooth.R:67:3'): Testing smoothAPC on linear data with one period effect and with one cohort effects, effects = FALSE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 212) [1] 438.3 - 1.00 == 437.3 [2] 287.3 - 1.01 == 286.3 [3] 148.4 - 1.02 == 147.4 [4] 45.2 - 1.03 == 44.1 [5] -17.8 - 1.04 == -18.8 [6] -48.0 - 1.05 == -49.1 [7] -57.1 - 1.06 == -58.2 [8] -55.7 - 1.07 == -56.7 [9] -51.6 - 1.08 == -52.6 ... ── Failure ('test_demogSmooth.R:74:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$result not equivalent to `m`. 100/100 mismatches (average diff: 111) [1] 66.9 - 1.00 == 65.9 [2] 117.2 - 1.01 == 116.2 [3] 153.7 - 1.02 == 152.7 [4] 143.4 - 1.03 == 142.4 [5] 122.5 - 1.04 == 121.5 [6] 106.9 - 1.05 == 105.9 [7] 97.5 - 1.06 == 96.5 [8] 91.7 - 1.07 == 90.6 [9] 87.7 - 1.08 == 86.6 ... ── Failure ('test_demogSmooth.R:75:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$yearsEffect not equivalent to `per`. 100/100 mismatches (average diff: 105) [1] -206.9 - 0 == -206.9 [2] -180.7 - 0 == -180.7 [3] -157.7 - 0 == -157.7 [4] -138.3 - 0 == -138.3 [5] -122.1 - 0 == -122.1 [6] -108.8 - 0 == -108.8 [7] -97.8 - 0 == -97.8 [8] -88.5 - 0 == -88.5 [9] -80.4 - 0 == -80.4 ... ── Failure ('test_demogSmooth.R:76:3'): Testing smoothAPC on linear data with noise, one period effect and with one cohort effects, effects = TRUE ── sm$cohortEffect not equivalent to `coh`. 44/100 mismatches (average diff: 43.6) [1] 1223.65 - 1000 == 223.65 [2] -3.36 - 0 == -3.36 [3] -16.16 - 0 == -16.16 [11] -44.54 - 0 == -44.54 [12] 1201.35 - 1000 == 201.35 [13] -12.95 - 0 == -12.95 [14] -17.47 - 0 == -17.47 [21] -109.58 - 0 == -109.58 [22] -44.54 - 0 == -44.54 ... [ FAIL 11 | WARN 0 | SKIP 5 | PASS 16 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64