{
  "_id": "6a1043f4acfb0bcc41c9e22f",
  "Package": "text2emotion",
  "Type": "Package",
  "Title": "Real-Time Emoji Mapping for Emotional English Text",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Yusong\", \"Zhao\", email = \"123090870@link.cuhk.edu.cn\", role = \"aut\"),\nperson(\"Fangyi\", \"Wang\", email = \"123090550@link.cuhk.edu.cn\", role = c(\"aut\", \"cre\")),\nperson(\"Zisheng\", \"Qu\", email = \"123090470@link.cuhk.edu.cn\", role = \"aut\")\n)",
  "Description": "This package allows users to analyze text and classify\nemotions such as happiness, sadness, anger, fear, and\nneutrality. It combines text preprocessing, TF-IDF feature\nextraction, and Random Forest classification to predict\nemotions and map them to corresponding emojis for enhanced\nsentiment visualization.",
  "License": "GPL-2",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-11 06:45:56 UTC",
    "User": "root"
  },
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://hateprograming.r-universe.dev",
  "Date/Publication": "2025-05-05 06:25:06 UTC",
  "RemoteUrl": "https://github.com/hateprograming/text2emotion",
  "RemoteRef": "HEAD",
  "RemoteSha": "a307c75157336b58955605599f0eb16d54aadcaa",
  "Author": "Yusong Zhao [aut],\nFangyi Wang [aut, cre],\nZisheng Qu [aut]",
  "Maintainer": "Fangyi Wang <123090550@link.cuhk.edu.cn>",
  "MD5sum": "e047da194d157aa979d576fbf036e81d",
  "_user": "hateprograming",
  "_type": "src",
  "_file": "text2emotion_0.1.0.tar.gz",
  "_fileid": "08ed4fb9e5f24cb4ec6a6bca7f4d2ebe75b5bb76432b2aa62b3974029c0d9330",
  "_filesize": 19115541,
  "_sha256": "08ed4fb9e5f24cb4ec6a6bca7f4d2ebe75b5bb76432b2aa62b3974029c0d9330",
  "_created": "2026-05-11T06:45:56.000Z",
  "_published": "2026-05-22T11:54:28.207Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77374150660,
      "time": 218,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "6911982204"
    },
    {
      "job": 77374150372,
      "time": 194,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6911978100"
    },
    {
      "job": 77374150313,
      "time": 226,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "6911979919"
    },
    {
      "job": 77374150381,
      "time": 200,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6912006607"
    },
    {
      "job": 77374150022,
      "time": 273,
      "config": "source",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6911928400"
    },
    {
      "job": 77374149985,
      "time": 151,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159850642"
    },
    {
      "job": 77374150566,
      "time": 173,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "6911971397"
    },
    {
      "job": 77374150661,
      "time": 137,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "6911962551"
    },
    {
      "job": 77374150457,
      "time": 141,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6911963603"
    }
  ],
  "_buildurl": "https://github.com/r-universe/hateprograming/actions/runs/25654553367",
  "_status": "failure",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/hateprograming/text2emotion",
  "_commit": {
    "id": "a307c75157336b58955605599f0eb16d54aadcaa",
    "author": "Hateprograming <165157008+Hateprograming@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Delete test/testthat/1",
    "time": 1746426306
  },
  "_maintainer": {
    "name": "Fangyi Wang",
    "email": "123090550@link.cuhk.edu.cn",
    "login": "hateprograming",
    "uuid": 165157008
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.4.0",
      "role": "Depends"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "textclean",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "text2vec",
      "role": "Imports"
    },
    {
      "package": "ranger",
      "role": "Imports"
    },
    {
      "package": "caret",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "hateprograming",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-19",
      "n": 37
    }
  ],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "hateprograming",
      "count": 38,
      "uuid": 165157008
    }
  ],
  "_userbio": {
    "uuid": 165157008,
    "type": "user",
    "name": "Hateprograming"
  },
  "_downloads": {
    "count": 153,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/text2emotion"
  },
  "_devurl": "https://github.com/hateprograming/text2emotion",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/text2emotion.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/hateprograming/text2emotion",
  "_realowner": "hateprograming",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-05-12"
    }
  ],
  "_exports": [
    "evaluate_rf_model",
    "handle_negation",
    "predict_emotion_with_emoji",
    "preprocess_text",
    "train_full_model",
    "train_rf_model",
    "train_tfidf_model",
    "tune_rf_model"
  ],
  "_help": [
    {
      "page": "evaluate_rf_model",
      "title": "Evaluate a Random Forest Model on Test Data",
      "topics": [
        "evaluate_rf_model"
      ]
    },
    {
      "page": "handle_negation",
      "title": "Handle Negation in Token List",
      "topics": [
        "handle_negation"
      ]
    },
    {
      "page": "predict_emotion_with_emoji",
      "title": "Predict Emotion with Emoji Representation",
      "topics": [
        "predict_emotion_with_emoji"
      ]
    },
    {
      "page": "preprocess_text",
      "title": "Preprocess Text with Slang Handling",
      "topics": [
        "preprocess_text"
      ]
    },
    {
      "page": "train_full_model",
      "title": "Train a full model pipeline including text preprocessing, TF-IDF vectorization, random forest tuning, and training.",
      "topics": [
        "train_full_model"
      ]
    },
    {
      "page": "train_rf_model",
      "title": "Train a Random Forest Model with TF-IDF Features",
      "topics": [
        "train_rf_model"
      ]
    },
    {
      "page": "train_tfidf_model",
      "title": "Train a TF-IDF Model (for Training Phase)",
      "topics": [
        "train_tfidf_model"
      ]
    },
    {
      "page": "tune_rf_model",
      "title": "Tune Random Forest Model Hyperparameters",
      "topics": [
        "tune_rf_model"
      ]
    }
  ],
  "_readme": "https://github.com/hateprograming/text2emotion/raw/HEAD/README.md",
  "_rundeps": [
    "caret",
    "class",
    "cli",
    "clock",
    "codetools",
    "cpp11",
    "data.table",
    "diagram",
    "digest",
    "dplyr",
    "dtt",
    "e1071",
    "english",
    "farver",
    "float",
    "foreach",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gower",
    "gtable",
    "hardhat",
    "ipred",
    "isoband",
    "iterators",
    "KernSmooth",
    "labeling",
    "lattice",
    "lava",
    "lexicon",
    "lgr",
    "lifecycle",
    "listenv",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixExtra",
    "mgsub",
    "mlapi",
    "ModelMetrics",
    "nlme",
    "NLP",
    "nnet",
    "numDeriv",
    "parallelly",
    "pillar",
    "pkgconfig",
    "plyr",
    "pROC",
    "prodlim",
    "progressr",
    "proxy",
    "purrr",
    "qdapRegex",
    "R6",
    "ranger",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "recipes",
    "reshape2",
    "RhpcBLASctl",
    "rlang",
    "rpart",
    "rsparse",
    "S7",
    "scales",
    "shape",
    "slam",
    "sparsevctrs",
    "SQUAREM",
    "stringi",
    "stringr",
    "survival",
    "syuzhet",
    "text2vec",
    "textclean",
    "textshape",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_score": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "text2emotion",
  "_universes": [
    "hateprograming"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-11T06:49:05.000Z",
      "distro": "noble",
      "commit": "a307c75157336b58955605599f0eb16d54aadcaa",
      "fileid": "6f7808e1e592d2377aca9082596e8aef5d62796341492543dd8a5bfbe9ba02ab",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/hateprograming/actions/runs/25654553367"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-11T06:48:54.000Z",
      "distro": "noble",
      "commit": "a307c75157336b58955605599f0eb16d54aadcaa",
      "fileid": "8b0d8eff5b43e8ff60c44d6795b25fabb2e5ead81f96da504d2b37be864ad2be",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/hateprograming/actions/runs/25654553367"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-11T06:49:17.000Z",
      "commit": "a307c75157336b58955605599f0eb16d54aadcaa",
      "fileid": "fc10a87946e9ac071f02f8645b9123729835dac75ce5ae0d6fb088b5aa5993c6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/hateprograming/actions/runs/25654553367"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-11T06:51:00.000Z",
      "commit": "a307c75157336b58955605599f0eb16d54aadcaa",
      "fileid": "d1e211b8174685612a0f4f34db8f0130dde6d77411311b34c32fe1ffc99378ef",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/hateprograming/actions/runs/25654553367"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-11T06:48:25.000Z",
      "commit": "a307c75157336b58955605599f0eb16d54aadcaa",
      "fileid": "c3630965c3ade9c45e49a7b0376ccca406ebfab3da8b4e4c72ec27ab759e6bb0",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/hateprograming/actions/runs/25654553367"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-11T06:47:38.000Z",
      "commit": "a307c75157336b58955605599f0eb16d54aadcaa",
      "fileid": "635e2e93d40bdd3085d0860eef61865b279ecb28116373106eb7b5175d982936",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/hateprograming/actions/runs/25654553367"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-11T06:47:45.000Z",
      "commit": "a307c75157336b58955605599f0eb16d54aadcaa",
      "fileid": "9bb5f840e2fb49b2fd5185107e223a9354bad3d83e59b186dcbbded14968048c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/hateprograming/actions/runs/25654553367"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-05-22T11:53:56.000Z",
      "commit": "a307c75157336b58955605599f0eb16d54aadcaa",
      "fileid": "986a41fbd484874b2cdecc8c42373217939bc4030613263e560d5b863931934c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hateprograming/actions/runs/25654553367"
    }
  ]
}