Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mstackhouse opened this issue Jan 2, 2024 · 0 comments
Assignees

Comments

@mstackhouse
Copy link
Contributor

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 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

Definition of Done

CRAN tests passing for test-date_time_conversions.R:1:1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant