Skip to content

Test suite failures in 32bit architectures #312

@tillea

Description

@tillea

Hi,
I have packaged clock for Debian. The test suite is run on several architectures. Unfortunately there are two failing tests for i386, armel and armhf. As an example here is the full test log for i386 which contains:

══ Skipped tests ═══════════════════════════════════════════════════════════════
• On CRAN (252)

══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-posixt.R:151'): can group by year/month/day/hour/minute/second ──
date_group(z, "year") (`actual`) not identical to `expect` (`expected`).

    actual              | expected
[1] "-1-12-31 23:56:02" - "0-01-01" [1]
[2] "0-12-31 23:56:02"  - "1-01-01" [2]
[3] "1-12-31 23:56:02"  - "2-01-01" [3]
[4] "2-12-31 23:56:02"  - "3-01-01" [4]
[5] "3-12-31 23:56:02"  - "4-01-01" [5]
── Failure ('test-posixt.R:152'): can group by year/month/day/hour/minute/second ──
date_group(z, "year", n = 3) (`actual`) not identical to expect[c(1, 1, 1, 4, 4)] (`expected`).

    actual              | expected
[1] "-1-12-31 23:56:02" - "0-01-01" [1]
[2] "-1-12-31 23:56:02" - "0-01-01" [2]
[3] "-1-12-31 23:56:02" - "0-01-01" [3]
[4] "2-12-31 23:56:02"  - "3-01-01" [4]
[5] "2-12-31 23:56:02"  - "3-01-01" [5]

[ FAIL 2 | WARN 29 | SKIP 252 | PASS 1146 ]
Error: Test failures
Execution halted

This was reported in a Debian bug report.
Kind regards, Andreas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions