CRAN Package Check Results for Package janitor

Last updated on 2024-12-23 12:49:17 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.2.0 4.81 80.02 84.83 OK
r-devel-linux-x86_64-debian-gcc 2.2.0 4.20 57.82 62.02 ERROR
r-devel-linux-x86_64-fedora-clang 2.2.1 150.64 OK
r-devel-linux-x86_64-fedora-gcc 2.2.0 147.82 OK
r-devel-windows-x86_64 2.2.0 7.00 103.00 110.00 OK
r-patched-linux-x86_64 2.2.0 6.42 76.67 83.09 OK
r-release-linux-x86_64 2.2.0 5.47 76.41 81.88 OK
r-release-macos-arm64 2.2.1 53.00 OK
r-release-macos-x86_64 2.2.1 97.00 OK
r-release-windows-x86_64 2.2.0 7.00 103.00 110.00 OK
r-oldrel-macos-arm64 2.2.1 55.00 OK
r-oldrel-macos-x86_64 2.2.1 86.00 OK
r-oldrel-windows-x86_64 2.2.0 9.00 118.00 127.00 OK

Check Details

Version: 2.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [16s/18s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(janitor) Attaching package: 'janitor' The following objects are masked from 'package:stats': chisq.test, fisher.test > > test_check("janitor") [ FAIL 4 | WARN 14 | SKIP 1 | PASS 799 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-adorn-rounding.R:25:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-convert_to_date.R:50:3'): convert_datetime works ───────────── convert_to_datetime("2009-07-06 12:13:14", tz = "EST") (`actual`) not equal to as.POSIXct("2009-07-06 12:13:14", tz = "EST") (`expected`). `actual`: "2009-07-06 17:13:14" `expected`: "2009-07-06 12:13:14" The tz argument is respected ── Failure ('test-convert_to_date.R:63:3'): convert_datetime works ───────────── convert_to_datetime(40000.1, tz = "EST") (`actual`) not equal to as.POSIXct("2009-07-06 02:24", tz = "EST") (`expected`). `actual`: "2009-07-06 07:24:00" `expected`: "2009-07-06 02:24:00" ── Failure ('test-convert_to_date.R:75:3'): convert_datetime works ───────────── convert_to_datetime("40000.1", tz = "EST") (`actual`) not equal to as.POSIXct("2009-07-06 02:24", tz = "EST") (`expected`). `actual`: "2009-07-06 07:24:00" `expected`: "2009-07-06 02:24:00" ── Failure ('test-sas_dates.R:19:3'): sas_numeric_to_date ────────────────────── sas_numeric_to_date(...) (`actual`) not equal to as.POSIXct(c(NA, "1960-01-01 19:00:01"), tz = "EST") (`expected`). `actual`: NA "1960-01-02 00:00:01" `expected`: NA "1960-01-01 19:00:01" [ FAIL 4 | WARN 14 | SKIP 1 | PASS 799 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc