CRAN Package Check Results for Package AGread

Last updated on 2021-09-18 23:49:45 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.1 116.64 62.12 178.76 OK
r-devel-linux-x86_64-debian-gcc 1.1.1 74.85 98.85 173.70 ERROR
r-devel-linux-x86_64-fedora-clang 1.1.1 259.57 OK
r-devel-linux-x86_64-fedora-gcc 1.1.1 321.06 ERROR
r-devel-windows-x86_64 1.1.1 104.00 76.00 180.00 OK
r-devel-windows-x86_64-gcc10-UCRT 1.1.1 OK
r-patched-linux-x86_64 1.1.1 90.16 63.44 153.60 OK
r-patched-solaris-x86 1.1.1 223.30 OK
r-release-linux-x86_64 1.1.1 87.61 59.66 147.27 OK
r-release-macos-arm64 1.1.1 NOTE
r-release-macos-x86_64 1.1.1 OK
r-release-windows-ix86+x86_64 1.1.1 265.00 141.00 406.00 OK
r-oldrel-macos-x86_64 1.1.1 OK
r-oldrel-windows-ix86+x86_64 1.1.1 257.00 136.00 393.00 OK

Additional issues

clang-UBSAN

Check Details

Version: 1.1.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [60s/82s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(AGread)
     package 'AGread' was built under R version 3.5.0
     >
     > test_check("AGread")
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test_equivalence.R:56:7): file reading methods give equivalent results ──
     all(PAutilities::test_errors(AG, test1, accel_vars, 1e-04)) is not TRUE
    
     `actual`: FALSE
     `expected`: TRUE
     ── Failure (test_equivalence.R:62:7): file reading methods give equivalent results ──
     `AG` not equal to `test1`.
     Component "Timestamp": Mean absolute difference: 59.33883
     Component "Accelerometer_X": Mean absolute difference: 0.2176549
     Component "Accelerometer_Y": Mean absolute difference: 0.2108431
     Component "Accelerometer_Z": Mean absolute difference: 0.3618378
     ── Error (test_equivalence.R:70:7): file reading methods give equivalent results ──
     Error: missing value where TRUE/FALSE needed
     Backtrace:
     █
     1. ├─base::suppressMessages(collapse_gt3x(AG)[seq(nrow(test2)), -c(1:2)]) test_equivalence.R:70:6
     2. │ └─base::withCallingHandlers(...)
     3. ├─AGread::collapse_gt3x(AG)
     4. └─AGread:::collapse_gt3x.RAW(AG)
     5. └─AGread::AG_collapse(...)
     ── Failure (test_gt3x.R:17:5): gt3x file reading and operations are consistent ──
     test$RAW has changed from known value recorded in 'read_3x_raw.rds'.
     Attributes: < Component "row.names": Numeric: lengths (1458000, 16200) differ >
     Component "Timestamp": Lengths (1458000, 16200) differ (string compare on first 16200)
     Component "Timestamp": 16110 string mismatches
     Component "Accelerometer_X": Numeric: lengths (1458000, 16200) differ
     Component "Accelerometer_Y": Numeric: lengths (1458000, 16200) differ
     Component "Accelerometer_Z": Numeric: lengths (1458000, 16200) differ
     Backtrace:
     █
     1. └─testthat::expect_equal_to_reference(test$RAW, "read_3x_raw.rds") test_gt3x.R:17:4
     2. └─testthat::expect_known_value(..., update = update)
     ── Failure (test_gt3x.R:22:5): gt3x file reading and operations are consistent ──
     test$IMU has changed from known value recorded in 'read_3x_imu.rds'.
     Attributes: < Component "row.names": Numeric: lengths (1790000, 17900) differ >
     Component "Timestamp": Lengths (1790000, 17900) differ (string compare on first 17900)
     Component "Timestamp": 17800 string mismatches
     Component "Accelerometer_X": Numeric: lengths (1790000, 17900) differ
     Component "Accelerometer_Y": Numeric: lengths (1790000, 17900) differ
     Component "Accelerometer_Z": Numeric: lengths (1790000, 17900) differ
     Component "Temperature": Numeric: lengths (1790000, 17900) differ
     Component "Gyroscope_X": Numeric: lengths (1790000, 17900) differ
     Component "Gyroscope_Y": Numeric: lengths (1790000, 17900) differ
     ...
     Backtrace:
     █
     1. └─testthat::expect_equal_to_reference(test$IMU, "read_3x_imu.rds") test_gt3x.R:22:4
     2. └─testthat::expect_known_value(..., update = update)
     ── Error (test_gt3x.R:30:5): gt3x file reading and operations are consistent ───
     Error: missing value where TRUE/FALSE needed
     Backtrace:
     █
     1. ├─testthat::expect_equal_to_reference(...) test_gt3x.R:30:4
     2. │ └─testthat::expect_known_value(..., update = update)
     3. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     4. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     5. ├─AGread::collapse_gt3x(test$RAW)
     6. └─AGread:::collapse_gt3x.RAW(test$RAW)
     7. └─AGread::AG_collapse(...)
    
     [ FAIL 6 | WARN 0 | SKIP 0 | PASS 8 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.1.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [96s/209s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(AGread)
     package 'AGread' was built under R version 3.5.0
     >
     > test_check("AGread")
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test_equivalence.R:56:7): file reading methods give equivalent results ──
     all(PAutilities::test_errors(AG, test1, accel_vars, 1e-04)) is not TRUE
    
     `actual`: FALSE
     `expected`: TRUE
     ── Failure (test_equivalence.R:62:7): file reading methods give equivalent results ──
     `AG` not equal to `test1`.
     Component "Timestamp": Mean absolute difference: 59.33883
     Component "Accelerometer_X": Mean absolute difference: 0.2176549
     Component "Accelerometer_Y": Mean absolute difference: 0.2108431
     Component "Accelerometer_Z": Mean absolute difference: 0.3618378
     ── Error (test_equivalence.R:70:7): file reading methods give equivalent results ──
     Error: missing value where TRUE/FALSE needed
     Backtrace:
     █
     1. ├─base::suppressMessages(collapse_gt3x(AG)[seq(nrow(test2)), -c(1:2)]) test_equivalence.R:70:6
     2. │ └─base::withCallingHandlers(...)
     3. ├─AGread::collapse_gt3x(AG)
     4. └─AGread:::collapse_gt3x.RAW(AG)
     5. └─AGread::AG_collapse(...)
     ── Failure (test_gt3x.R:17:5): gt3x file reading and operations are consistent ──
     test$RAW has changed from known value recorded in 'read_3x_raw.rds'.
     Attributes: < Component "row.names": Numeric: lengths (1458000, 16200) differ >
     Component "Timestamp": Lengths (1458000, 16200) differ (string compare on first 16200)
     Component "Timestamp": 16110 string mismatches
     Component "Accelerometer_X": Numeric: lengths (1458000, 16200) differ
     Component "Accelerometer_Y": Numeric: lengths (1458000, 16200) differ
     Component "Accelerometer_Z": Numeric: lengths (1458000, 16200) differ
     Backtrace:
     █
     1. └─testthat::expect_equal_to_reference(test$RAW, "read_3x_raw.rds") test_gt3x.R:17:4
     2. └─testthat::expect_known_value(..., update = update)
     ── Failure (test_gt3x.R:22:5): gt3x file reading and operations are consistent ──
     test$IMU has changed from known value recorded in 'read_3x_imu.rds'.
     Attributes: < Component "row.names": Numeric: lengths (1790000, 17900) differ >
     Component "Timestamp": Lengths (1790000, 17900) differ (string compare on first 17900)
     Component "Timestamp": 17800 string mismatches
     Component "Accelerometer_X": Numeric: lengths (1790000, 17900) differ
     Component "Accelerometer_Y": Numeric: lengths (1790000, 17900) differ
     Component "Accelerometer_Z": Numeric: lengths (1790000, 17900) differ
     Component "Temperature": Numeric: lengths (1790000, 17900) differ
     Component "Gyroscope_X": Numeric: lengths (1790000, 17900) differ
     Component "Gyroscope_Y": Numeric: lengths (1790000, 17900) differ
     ...
     Backtrace:
     █
     1. └─testthat::expect_equal_to_reference(test$IMU, "read_3x_imu.rds") test_gt3x.R:22:4
     2. └─testthat::expect_known_value(..., update = update)
     ── Error (test_gt3x.R:30:5): gt3x file reading and operations are consistent ───
     Error: missing value where TRUE/FALSE needed
     Backtrace:
     █
     1. ├─testthat::expect_equal_to_reference(...) test_gt3x.R:30:4
     2. │ └─testthat::expect_known_value(..., update = update)
     3. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     4. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     5. ├─AGread::collapse_gt3x(test$RAW)
     6. └─AGread:::collapse_gt3x.RAW(test$RAW)
     7. └─AGread::AG_collapse(...)
    
     [ FAIL 6 | WARN 0 | SKIP 0 | PASS 8 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.1.1
Check: installed package size
Result: NOTE
     installed size is 5.1Mb
     sub-directories of 1Mb or more:
     libs 3.6Mb
Flavor: r-release-macos-arm64