text2emotion
Emotion Analysis and Emoji Mapping for Text
Description
Allows users to analyze text and classify emotions such as happiness, sadness, anger, fear, and neutrality. It combines text preprocessing, TF-IDF (Term Frequency-Inverse Document Frequency) feature extraction, and Random Forest classification to predict emotions and map them to corresponding emojis for enhanced sentiment visualization.
Downloads
204
Last 30 days
22991st
483
Last 90 days
1.6K
Last year
Trend: +74.4% (30d vs prior 30d)
0
Last 30 days
23
Last 90 days
92
Last year
Trend: -100% (30d vs prior 30d)
0
Last 7 days
7
Last 30 days
0
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 | NOTE |
| r-devel-linux-x86_64-fedora-gcc | NOTE |
| 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 details (2 non-OK)
dependencies in R code
Namespace in Imports field not imported from: ‘Matrix’ All declared Imports should be used.
dependencies in R code
Namespace in Imports field not imported from: ‘Matrix’ All declared Imports should be used.
Check History
NOTE 11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
dependencies in R code
Namespace in Imports field not imported from: ‘Matrix’ All declared Imports should be used.
dependencies in R code
Namespace in Imports field not imported from: ‘Matrix’ All declared Imports should be used.
ERROR 10 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
package dependencies
Packages required but not available: 'textclean', 'caret' See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual.
dependencies in R code
Namespace in Imports field not imported from: ‘Matrix’ All declared Imports should be used.
dependencies in R code
Namespace in Imports field not imported from: ‘Matrix’ All declared Imports should be used.
NOTE 11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 2, 2026
dependencies in R code
Namespace in Imports field not imported from: ‘Matrix’ All declared Imports should be used.
dependencies in R code
Namespace in Imports field not imported from: ‘Matrix’ All declared Imports should be used.
ERROR 9 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 25, 2026
dependencies in R code
Namespace in Imports field not imported from: ‘Matrix’ All declared Imports should be used.
dependencies in R code
Namespace in Imports field not imported from: ‘Matrix’ All declared Imports should be used.
package dependencies
Package required but not available: ‘caret’ See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual.
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
dependencies in R code
Namespace in Imports field not imported from: ‘Matrix’ All declared Imports should be used.
dependencies in R code
Namespace in Imports field not imported from: ‘Matrix’ All declared Imports should be used.
Code & tests
Open call graph →Code intelligence has not been computed for this package yet.
Code
Structure
Lines of code
1,704
Files
34
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
8
Internal functions
0
Recent export changes
Testing & CI
Has tests
Yes
Test-to-code ratio
0.42
testthat edition
3
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
100%
\dontrun example ratio
25%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
No
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
0%
Unsafe pattern score
0
Dep constraint coverage
0%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
4.4.0
System requirements
–
C++ standard
–
License
GPL-2
License flags
SPDX valid, OSI approved
History
Versions
1
First release
2025-05-12
Latest release
2025-05-12
Avg cadence
–
Cold removal rate
–
Dep drift
0
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.
Dependency Network
Version History
1 trackedR Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN May 12, 2025. Releases before tracking aren’t shown.