Skip to content
quickSentiment needs quanteda, which CRAN will archive unless its check problems are fixed by Oct 22.

quickSentiment

0.3.6Package record

A Fast and Flexible Pipeline for Text Classification

0packages depend
3.3Kdownloads / year
0.0%test coverage
13/13flavors OK

Overview

About

A high-level pipeline that simplifies text classification into three streamlined steps: preprocessing, model training, and standardized prediction. It unifies the interface for multiple algorithms (including 'glmnet', 'ranger', 'xgboost', and 'naivebayes') and memory-efficient sparse matrix vectorization methods (Bag-of-Words, Term Frequency, TF-IDF, and Binary). Users can go from raw text to a fully evaluated sentiment model, complete with ROC-optimized thresholds, in just a few function calls. The resulting model artifact automatically aligns the vocabulary of new datasets during the prediction phase, safely appending predicted classes and probability matrices directly to the user's original dataframe to preserve metadata.

Changes in 0.3.6

MAJOR ARCHITECTURAL UPGRADES

Fault-Tolerant Text Preprocessing: Completely rebuilt pre_process() to ensure pipeline resilience on massive, messy datasets. The function now uses a chunked processing architecture (default chunk_size = 5000). If a malformed string crashes a chunk, the function automatically degrades to row-by-row isolation for that specific block, neutralizing the corrupted string to NA_character_ and seamlessly resuming C++ vectorized speed for the rest of the dataset.

The Quarantine Attribute: When pre_process() isolates a fatal text encoding or parsing error, it now attaches a quarantine dataframe as an attribute to the output vector (attr(cleaned_vector, "quarantine")). This allows production pipelines to log the exact row_index, original_text, and error_message of failed rows without halting the overarching R session.

NEW FEATURES

Advanced Memory Management: Exposed the chunk_size argument in pre_process(), allowing advanced users to optimize the speed-to-memory trade-off based on their specific hardware and data quality.

Automated Data Sanitization: The main pipeline() function now safely detects and simultaneously drops NA values in both the text vector and sentiment label vectors prior to training, preventing downstream failures caused by quarantined text rows.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.0 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.3.6
READMEYes · 616 wordsVignettesYes · 1 · dynamicNEWSYes · 33% structured · mentions 0.3.6Citation fileYes · software entry onlyWebsitenot declared in DESCRIPTION
Help pages
14
Examples that run
56%5 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran) · 3 never run
Exported functions with examples
82%
Documented parameters
100%
Return-value docs
91%
Help pages citing references
0%

Downloads

3.3K
CRAN downloads in the past year
Rank #14,088 · ~9/day · ~274/mo
Daily download trend is not available in this view yet.
28730 days
81490 days
3.3K1 year
Compare downloads with other packages →
Also on88 r2u3 autocran

Dependencies

Declared dependencies
14 external dependencies (excludes base and recommended)

Installing quickSentiment adds 57 packages (29 with compiled code, 52 MB of source tarballs). Heaviest: stringi 11 MB, data.table 5.7 MB, quanteda 4.2 MB.

Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Dependencies facing archival

CRAN will archive these unless their check problems are fixed by the date shown. This package needs each one to install.

Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 0.1.0 (2026)
Releases (8)

Pick two releases to compare their code metrics.

  • 0.3.6Latest
    record
    2026-08-28 · current release · diff ↗
  • 0.3.5
    record
    2026-07-13 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.3.4
    record
    2026-04-17 · diff ↗
  • 0.3.3
    record
    2026-04-01 · diff ↗
  • 0.3.2
    record
    2026-03-20 · diff ↗ ·
    removed 1 export
    evaluate_metrics
    added 1 export
    evaluate_performance
  • 0.3.1
    record
    2026-03-02 · diff ↗ ·
    removed 1 export
    prediction
    added 3 exports
    evaluate_metrics, predict_sentiment, qs_negations
  • 0.2.0
    record
    2026-02-15 · diff ↗ ·
    added 1 export
    nb_model
  • 0.1.0
    record
    2026-02-06
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-02-06
Total releases
8 / 1 yrs
License
MIT + file LICENSE OSI
Download size
89 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("quickSentiment")

The package provides a citation file, so citation() returns the authors' own entry.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for quickSentiment version 0.3.6 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy