CRAN Package Check Results for Package janitor

Last updated on 2026-11-21 00:52:22 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.2.1 4.95 92.39 97.34 ERROR
r-devel-linux-x86_64-debian-gcc 2.2.1 4.04 68.10 72.14 ERROR
r-devel-linux-x86_64-fedora-clang 2.2.1 64.99 ERROR
r-devel-linux-x86_64-fedora-gcc 2.2.1 4.00 71.43 75.43 ERROR
r-devel-windows-x86_64 2.2.1 7.00 117.00 124.00 NOTE
r-patched-linux-x86_64 2.2.1 6.24 84.77 91.01 OK
r-release-linux-x86_64 2.2.1 5.72 84.49 90.21 OK
r-release-macos-arm64 2.2.1 1.00 27.00 28.00 OK
r-release-macos-x86_64 2.2.1 4.00 96.00 100.00 OK
r-release-windows-x86_64 2.2.1 11.00 109.00 120.00 OK
r-oldrel-macos-arm64 2.2.1 OK
r-oldrel-macos-x86_64 2.2.1 4.00 78.00 82.00 OK
r-oldrel-windows-x86_64 2.2.1 11.00 125.00 136.00 OK

Check Details

Version: 2.2.1
Check: R code for possible problems
Result: NOTE Found calls to structure() using deprecated special names: janitor/tests/testthat/test-tabyl.R (.Label: 3, .Names: 1) janitor/tests/testthat/test-top-levels.R (.Label: 1) '.Label' should be changed to 'levels'. '.Names' should be changed to 'names'. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 2.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [24s/31s] 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") Saving _problems/test-tabyl-217.R [ FAIL 1 | WARN 13 | SKIP 1 | PASS 801 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-adorn-rounding.R:25:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-tabyl.R:210:3'): show_missing_levels parameter works ─────────── Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object Backtrace: ▆ 1. ├─base::structure(...) at test-tabyl.R:210:3 2. └─base::structure(1, .Label = c("hi", "lo"), class = "factor") [ FAIL 1 | WARN 13 | SKIP 1 | PASS 801 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 2.2.1
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") Saving _problems/test-tabyl-217.R [ FAIL 1 | WARN 13 | SKIP 1 | PASS 801 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-adorn-rounding.R:25:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-tabyl.R:210:3'): show_missing_levels parameter works ─────────── Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object Backtrace: ▆ 1. ├─base::structure(...) at test-tabyl.R:210:3 2. └─base::structure(1, .Label = c("hi", "lo"), class = "factor") [ FAIL 1 | WARN 13 | SKIP 1 | PASS 801 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [16s/17s] 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") Saving _problems/test-tabyl-217.R [ FAIL 1 | WARN 13 | SKIP 1 | PASS 801 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-adorn-rounding.R:25:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-tabyl.R:210:3'): show_missing_levels parameter works ─────────── Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object Backtrace: ▆ 1. ├─base::structure(...) at test-tabyl.R:210:3 2. └─base::structure(1, .Label = c("hi", "lo"), class = "factor") [ FAIL 1 | WARN 13 | SKIP 1 | PASS 801 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 2.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [18s/58s] 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") Saving _problems/test-tabyl-217.R [ FAIL 1 | WARN 13 | SKIP 1 | PASS 801 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-adorn-rounding.R:25:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-tabyl.R:210:3'): show_missing_levels parameter works ─────────── Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object Backtrace: ▆ 1. ├─base::structure(...) at test-tabyl.R:210:3 2. └─base::structure(1, .Label = c("hi", "lo"), class = "factor") [ FAIL 1 | WARN 13 | SKIP 1 | PASS 801 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc