Skip to content

tidytext

Text Mining using 'dplyr', 'ggplot2', and Other Tidy Tools

v0.4.3 · Jul 24, 2025 · MIT + file LICENSE

Description

Using tidy data principles can make many text mining tasks easier, more effective, and consistent with tools already in wide use. Much of the infrastructure needed for text mining with tidy data frames already exists in packages like 'dplyr', 'broom', 'tidyr', and 'ggplot2'. In this package, we provide functions and supporting data sets to allow conversion of text to and from tidy formats, and to switch seamlessly between tidy tools and existing text mining packages.

Downloads

CRAN

41.6K

Last 30 days

562nd

154.8K

Last 90 days

652.9K

Last year

Trend: -23.5% (30d vs prior 30d)

r2u CRAN

121

Last 30 days

397

Last 90 days

1.9K

Last year

Trend: -23.9% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 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-windows-x86_64 OK
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 History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 2, 2026
ERROR 11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 25, 2026
ERROR r-release-macos-x86_64

tests

Running ‘testthat.R’ [13s/21s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(tidytext)
  > 
  > test_check("tidytext")
  
  Attaching package: 'NLP'
  
  The following object is masked from 'packag
...[truncated]...
matrix = "frex")
   3.   └─tidytext:::tidy_stm_frex(x, ...)
   4.     └─tidytext:::pivot_stm_longer(frex, vocab)
   5.       └─rlang::check_installed("tidyr")
  
  [ FAIL 1 | WARN 0 | SKIP 7 | PASS 318 ]
  Error:
  ! Test failures.
  Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (59)

depends

Dependency Network

Dependencies Reverse dependencies cli dplyr generics janeaustenr lifecycle Matrix purrr rlang stringr tibble tokenizers vctrs textanalyzer AnimalSequences CINE DOPE DedooseR DisasterAlert DistatisR NIMAA SportMiner TextMiningGUI WeatherSentiment abe akc available bibliometrix +44 more reverse deps tidytext

Version History

27 tracked
new 0.4.3 Mar 10, 2026
updated 0.4.3 ← 0.4.2 diff Jul 24, 2025
updated 0.4.2 ← 0.4.1 diff Apr 9, 2024
updated 0.4.1 ← 0.4.0 diff Jan 7, 2023
updated 0.4.0 ← 0.3.4 diff Dec 19, 2022
updated 0.3.4 ← 0.3.3 diff Aug 19, 2022
updated 0.3.3 ← 0.3.2 diff May 8, 2022
updated 0.3.2 ← 0.3.1 diff Sep 29, 2021
updated 0.3.1 ← 0.3.0 diff Apr 9, 2021
updated 0.3.0 ← 0.2.6 diff Jan 5, 2021
updated 0.2.6 ← 0.2.5 diff Sep 19, 2020
updated 0.2.5 ← 0.2.4 diff Jul 10, 2020
updated 0.2.4 ← 0.2.3 diff Apr 16, 2020
updated 0.2.3 ← 0.2.2 diff Mar 3, 2020
updated 0.2.2 ← 0.2.1 diff Jul 28, 2019