Skip to content

transforEmotion

0.1.7Package record

Sentiment Analysis for Text, Image and Video using Transformer Models

0packages depend
15.7Kdownloads / year
17.0%test coverage
13/13flavors OK

Overview

About

Implements sentiment analysis using huggingface https://huggingface.co transformer zero-shot classification model pipelines for text and image data. The default text pipeline is Cross-Encoder's DistilRoBERTa https://huggingface.co/cross-encoder/nli-distilroberta-base and default image/video pipeline is Open AI's CLIP https://huggingface.co/openai/clip-vit-base-patch32. All other zero-shot classification model pipelines can be implemented using their model name from https://huggingface.co/models?pipeline_tag=zero-shot-classification.

Install

Health

CRAN checks
13OK
Slowest check: 3.6 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-07
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.7
READMEYes · 1,614 wordsVignettesYes · 2 · dynamicNEWSYes · 67% structuredCitation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
57 (1 internal)includes a package overview page
Examples that run
52%16 run in a plain check (1 of them under a condition) · 15 never run
Exported functions with examples
68%
Documented parameters
99%
Return-value docs
90%
Help pages citing references
16%

Downloads

15.7K
CRAN downloads in the past year
Rank #8,280 · ~43/day · ~1.3K/mo
Daily download trend is not available in this view yet.
42530 days
1.1K90 days
15.7K1 year
Compare downloads with other packages →
Also on136 r2u4 autocran

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)

Installing transforEmotion adds 83 packages (44 with compiled code, 65 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, bslib 5.6 MB.

Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (3)
Author, Maintainer since 0.1.4 (2024) · added in 0.1.4

Previously maintained by Alexander Christensen (0.0.1 to 0.1.1).

Releases (7)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.7Latest
    record
    2026-01-08 · current release · diff ↗ ·
    added 26 exports
    .init_builtin_models, add_vision_model, as_rag_table, check_findingemo_quality, download_findingemo_data, evaluate_emotions, get_vision_model_config, image_scores_dir, is_vision_model_registered, list_vision_models, load_findingemo_annotations, map_discrete_to_vad, map_to_emo8, parse_rag_json, prepare_findingemo_evaluation, rag_sentemo, register_retriever, register_vision_model, remove_vision_model, setup_modules, setup_popular_models, show_vision_models, te_cleanup_default_venv, vad_scores, validate_rag_json, validate_rag_predictions
  • 0.1.6
    record
    2025-05-15 · diff ↗ ·
    removed 1 export
    setup_modules
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.5
    record
    2024-08-20 · diff ↗ ·
    added 5 exports
    delete_transformer, rag, sentence_similarity, setup_gpu_modules, setup_modules
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.4
    record
    2024-01-09 · diff ↗ ·
    removed 1 export
    setup_modules
    added 5 exports
    dlo_dynamics, image_scores, plot_sim_emotions, simulate_video, video_scores
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.1
    record
    2022-05-11 · diff ↗ ·
    removed 1 export
    python_setup
    added 2 exports
    setup_miniconda, setup_modules
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.0
    record
    2022-04-04 · diff ↗ ·
    added 3 exports
    emoxicon_scores, nlp_scores, punctuate
  • 0.0.1
    record
    2022-03-01
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2022-03-01
Total releases
7 / 4 yrs
License
GPL (>= 3.0)
Minimum R
≥ 3.5.0
Bundled data
1.2 MB / 5 files
Download size
3.4 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("transforEmotion")

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

It points to 10.31234/osf.io/hf3g7.

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 transforEmotion version 0.1.7 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, 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