CRAN Package Check Results for Package janitor

Last updated on 2024-11-27 09:49:33 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.2.0 5.74 81.43 87.17 ERROR
r-devel-linux-x86_64-debian-gcc 2.2.0 4.29 58.19 62.48 ERROR
r-devel-linux-x86_64-fedora-clang 2.2.0 141.28 OK
r-devel-linux-x86_64-fedora-gcc 2.2.0 151.05 OK
r-devel-windows-x86_64 2.2.0 8.00 100.00 108.00 OK
r-patched-linux-x86_64 2.2.0 6.69 75.83 82.52 ERROR
r-release-linux-x86_64 2.2.0 5.32 76.10 81.42 OK
r-release-macos-arm64 2.2.0 48.00 OK
r-release-macos-x86_64 2.2.0 87.00 OK
r-release-windows-x86_64 2.2.0 8.00 102.00 110.00 OK
r-oldrel-macos-arm64 2.2.0 55.00 OK
r-oldrel-macos-x86_64 2.2.0 79.00 OK
r-oldrel-windows-x86_64 2.2.0 10.00 121.00 131.00 OK

Check Details

Version: 2.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [25s/38s] 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-clang

Version: 2.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [17s/21s] 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

Version: 2.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [24s/34s] 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-patched-linux-x86_64