atorus-research / datasetjson

Read and write CDISC Dataset JSON files
https://atorus-research.github.io/datasetjson/
Apache License 2.0
12 stars 2 forks source link

General Issue: CRAN Test Failures on r-oldrel-macos-arm64 and r-oldrel-windows-x86_64 #29

Closed mstackhouse closed 8 months ago

mstackhouse commented 8 months ago

Background Information

CRAN Package Check Results for Package datasetjson

Last updated on 2024-01-02 14:48:35 CET.

Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags -- | -- | -- | -- | -- | -- | -- r-devel-linux-x86_64-debian-clang | 0.1.0 | 2.99 | 50.57 | 53.56 | OK |   r-devel-linux-x86_64-debian-gcc | 0.1.0 | 2.09 | 37.06 | 39.15 | OK |   r-devel-linux-x86_64-fedora-clang | 0.1.0 |   |   | 67.32 | OK |   r-devel-linux-x86_64-fedora-gcc | 0.1.0 |   |   | 77.17 | OK |   r-devel-windows-x86_64 | 0.1.0 | 3.00 | 57.00 | 60.00 | OK |   r-patched-linux-x86_64 | 0.1.0 | 2.79 | 50.09 | 52.88 | OK |   r-release-linux-x86_64 | 0.1.0 | 2.86 | 50.57 | 53.43 | OK |   r-release-macos-arm64 | 0.1.0 |   |   | 46.00 | OK |   r-release-macos-x86_64 | 0.1.0 |   |   | 107.00 | OK |   r-release-windows-x86_64 | 0.1.0 | 3.00 | 58.00 | 61.00 | OK |   r-oldrel-macos-arm64 | 0.1.0 |   |   | 42.00 | ERROR |   r-oldrel-windows-x86_64 | 0.1.0 | 4.00 | 64.00 | 68.00 | ERROR |  

Check Details

Version: 0.1.0
Check: tests
Result: ERROR  Running ‘testthat.R’ [3s/4s] Running the tests in ‘tests/testthat.R’ failed. Last 13 lines of output: ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-dataset_metadata.R:46:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-date_time_conversions.R:1:1'): (code run outside of `test_that()`) ── Error in `as.Date.numeric(c(19906:19916))`: 'origin' must be supplied Backtrace: ▆ 1. ├─base::data.frame(...) at test-date_time_conversions.R:1:1 2. ├─base::as.Date(c(19906:19916)) 3. └─base::as.Date.numeric(c(19906:19916)) [ FAIL 1 | WARN 0 | SKIP 1 | PASS 103 ] Error: Test failures Execution halted Flavor: r-oldrel-macos-arm64

Version: 0.1.0
Check: tests
Result: ERROR  Running 'testthat.R' [9s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) # nolint: undesirable_function_linter > > test_check("datasetjson") Loading required package: datasetjson [ FAIL 1 | WARN 0 | SKIP 1 | PASS 103 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-dataset_metadata.R:46:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-date_time_conversions.R:1:1'): (code run outside of `test_that()`) ── Error in `as.Date.numeric(c(19906:19916))`: 'origin' must be supplied Backtrace: ▆ 1. ├─base::data.frame(...) at test-date_time_conversions.R:1:1 2. ├─base::as.Date(c(19906:19916)) 3. └─base::as.Date.numeric(c(19906:19916)) [ FAIL 1 | WARN 0 | SKIP 1 | PASS 103 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64

CRAN Package Check Results for Package [datasetjson](https://cran.r-project.org/web/packages/datasetjson/index.html) Last updated on 2024-01-02 14:48:35 CET. Flavor Version Tinstall Tcheck Ttotal Status Flags [r-devel-linux-x86_64-debian-clang](https://cran.r-project.org/web/checks/check_flavors.html#r-devel-linux-x86_64-debian-clang) 0.1.0 2.99 50.57 53.56 [OK](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/datasetjson-00check.html) [r-devel-linux-x86_64-debian-gcc](https://cran.r-project.org/web/checks/check_flavors.html#r-devel-linux-x86_64-debian-gcc) 0.1.0 2.09 37.06 39.15 [OK](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-gcc/datasetjson-00check.html) [r-devel-linux-x86_64-fedora-clang](https://cran.r-project.org/web/checks/check_flavors.html#r-devel-linux-x86_64-fedora-clang) 0.1.0 67.32 [OK](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-clang/datasetjson-00check.html) [r-devel-linux-x86_64-fedora-gcc](https://cran.r-project.org/web/checks/check_flavors.html#r-devel-linux-x86_64-fedora-gcc) 0.1.0 77.17 [OK](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-gcc/datasetjson-00check.html) [r-devel-windows-x86_64](https://cran.r-project.org/web/checks/check_flavors.html#r-devel-windows-x86_64) 0.1.0 3.00 57.00 60.00 [OK](https://www.r-project.org/nosvn/R.check/r-devel-windows-x86_64/datasetjson-00check.html) [r-patched-linux-x86_64](https://cran.r-project.org/web/checks/check_flavors.html#r-patched-linux-x86_64) 0.1.0 2.79 50.09 52.88 [OK](https://www.r-project.org/nosvn/R.check/r-patched-linux-x86_64/datasetjson-00check.html) [r-release-linux-x86_64](https://cran.r-project.org/web/checks/check_flavors.html#r-release-linux-x86_64) 0.1.0 2.86 50.57 53.43 [OK](https://www.r-project.org/nosvn/R.check/r-release-linux-x86_64/datasetjson-00check.html) [r-release-macos-arm64](https://cran.r-project.org/web/checks/check_flavors.html#r-release-macos-arm64) 0.1.0 46.00 [OK](https://www.r-project.org/nosvn/R.check/r-release-macos-arm64/datasetjson-00check.html) [r-release-macos-x86_64](https://cran.r-project.org/web/checks/check_flavors.html#r-release-macos-x86_64) 0.1.0 107.00 [OK](https://www.r-project.org/nosvn/R.check/r-release-macos-x86_64/datasetjson-00check.html) [r-release-windows-x86_64](https://cran.r-project.org/web/checks/check_flavors.html#r-release-windows-x86_64) 0.1.0 3.00 58.00 61.00 [OK](https://www.r-project.org/nosvn/R.check/r-release-windows-x86_64/datasetjson-00check.html) [r-oldrel-macos-arm64](https://cran.r-project.org/web/checks/check_flavors.html#r-oldrel-macos-arm64) 0.1.0 42.00 [ERROR](https://www.r-project.org/nosvn/R.check/r-oldrel-macos-arm64/datasetjson-00check.html) [r-oldrel-windows-x86_64](https://cran.r-project.org/web/checks/check_flavors.html#r-oldrel-windows-x86_64) 0.1.0 4.00 64.00 68.00 [ERROR](https://www.r-project.org/nosvn/R.check/r-oldrel-windows-x86_64/datasetjson-00check.html) Check Details Version: 0.1.0 Check: tests Result: ERROR Running ‘testthat.R’ [3s/4s] Running the tests in ‘tests/testthat.R’ failed. Last 13 lines of output: ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-dataset_metadata.R:46:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-date_time_conversions.R:1:1'): (code run outside of `test_that()`) ── Error in `as.Date.numeric(c(19906:19916))`: 'origin' must be supplied Backtrace: ▆ 1. ├─base::data.frame(...) at test-date_time_conversions.R:1:1 2. ├─base::as.Date(c(19906:19916)) 3. └─base::as.Date.numeric(c(19906:19916)) [ FAIL 1 | WARN 0 | SKIP 1 | PASS 103 ] Error: Test failures Execution halted Flavor: [r-oldrel-macos-arm64](https://www.r-project.org/nosvn/R.check/r-oldrel-macos-arm64/datasetjson-00check.html) Version: 0.1.0 Check: tests Result: ERROR Running 'testthat.R' [9s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) # nolint: undesirable_function_linter > > test_check("datasetjson") Loading required package: datasetjson [ FAIL 1 | WARN 0 | SKIP 1 | PASS 103 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-dataset_metadata.R:46:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-date_time_conversions.R:1:1'): (code run outside of `test_that()`) ── Error in `as.Date.numeric(c(19906:19916))`: 'origin' must be supplied Backtrace: ▆ 1. ├─base::data.frame(...) at test-date_time_conversions.R:1:1 2. ├─base::as.Date(c(19906:19916)) 3. └─base::as.Date.numeric(c(19906:19916)) [ FAIL 1 | WARN 0 | SKIP 1 | PASS 103 ] Error: Test failures Execution halted Flavor: [r-oldrel-windows-x86_64](https://www.r-project.org/nosvn/R.check/r-oldrel-windows-x86_64/datasetjson-00check.html) ### Definition of Done CRAN tests passing for test-date_time_conversions.R:1:1