Skip to content

crosstable

Crosstables for Descriptive Analyses

v0.9.0 · Mar 15, 2026 · GPL-3

Description

Create descriptive tables for continuous and categorical variables. Apply summary statistics and counting function, with or without a grouping variable, and create beautiful reports using 'rmarkdown' or 'officer'. You can also compute effect sizes and statistical tests if needed.

Downloads

2.9K

Last 30 days

2437th

7.1K

Last 90 days

46.3K

Last year

Trend: +35.3% (30d vs prior 30d)

CRAN Check Status

1 ERROR
13 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 ERROR
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (1 non-OK)
ERROR r-devel-windows-x86_64

tests

Running 'testthat.R' [32s]
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(crosstable)
  > 
  > test_check("crosstable")
  Starting 2 test processes.
  > test-options.R: 
  
  Error:
  ! testthat subprocess exited in file 'test-options.R'.
  Caused by error:
  ! R session crashed with exit code -1073741819
  Backtrace:
       ▆
    1. └─testthat::test_check("crosstable")
    2.   └─testthat::test_dir(...)
    3.     └─testthat:::test_files(...)
    4.       └─testthat:::test_files_parallel(...)
    5.         ├─withr::with_dir(...)
    6.         │ └─base::force(code)
    7.         ├─testthat::with_reporter(...)
    8.         │ └─base::tryCatch(...)
    9.         │   └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10.         │     └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11.         │       └─base (local) doTryCatch(return(expr), name, parentenv, handler)
   12.         └─testthat:::parallel_event_loop_chunky(queue, reporters, ".")
   13.           └─queue$poll(Inf)
   14.             └─base::lapply(...)
   15.               └─testthat (local) FUN(X[[i]], ...)
   16.                 └─private$handle_error(msg, i)
   17.                   └─cli::cli_abort(...)
   18.                     └─rlang::abort(...)
  Execution halted

Check History

ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 3, 2026
ERROR r-devel-windows-x86_64

tests

Running 'testthat.R' [32s]
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
...[truncated]...
       └─base::lapply(...)
   15.               └─testthat (local) FUN(X[[i]], ...)
   16.                 └─private$handle_error(msg, i)
   17.                   └─cli::cli_abort(...)
   18.                     └─rlang::abort(...)
  Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 24, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 21, 2026
ERROR r-oldrel-windows-x86_64

tests

Running 'testthat.R' [43s]
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
...[truncated]...
       └─base::lapply(...)
   15.               └─testthat (local) FUN(X[[i]], ...)
   16.                 └─private$handle_error(msg, i)
   17.                   └─cli::cli_abort(...)
   18.                     └─rlang::abort(...)
  Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies checkmate cli dplyr flextable forcats glue lifecycle officer purrr rlang stringr tibble tidyr EDCimport crosstable

Version History

updated 0.9.0 ← 0.8.2 diff Mar 15, 2026
new 0.8.2 Mar 10, 2026
updated 0.8.2 ← 0.8.1 diff Sep 7, 2025
updated 0.8.1 ← 0.8.0 diff Oct 31, 2024
updated 0.8.0 ← 0.7.0 diff Sep 29, 2024
updated 0.7.0 ← 0.6.2 diff Nov 11, 2023
updated 0.6.2 ← 0.6.1 diff May 28, 2023
updated 0.6.1 ← 0.6.0 diff Apr 3, 2023
updated 0.6.0 ← 0.5.0 diff Mar 25, 2023
updated 0.5.0 ← 0.4.1 diff Aug 15, 2022
updated 0.4.1 ← 0.4.0 diff Feb 24, 2022
updated 0.4.0 ← 0.3.2 diff Feb 13, 2022
updated 0.3.2 ← 0.3.1 diff Nov 26, 2021
updated 0.3.1 ← 0.2.2 diff Nov 13, 2021
updated 0.2.2 ← 0.2.1 diff Oct 18, 2021
new 0.2.1 Mar 7, 2021