tidytext
Text Mining using 'dplyr', 'ggplot2', and Other Tidy Tools
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
40.4K
Last 30 days
563rd
152K
Last 90 days
652K
Last year
Trend: -24.2% (30d vs prior 30d)
74
Last 30 days
354
Last 90 days
1.9K
Last year
Trend: -38.8% (30d vs prior 30d)
9
Last 7 days
20
Last 30 days
5
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
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
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
Code
Code metrics have not been computed for this package yet.