{
  "_id": "6ae727fb818c9e3ef6dbba76",
  "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-11-01 11:47:53 UTC",
    "User": "root"
  },
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://natwwww.r-universe.dev",
  "Date/Publication": "2025-05-05 06:25:06 UTC",
  "RemoteUrl": "https://github.com/natwwww/text2emotion",
  "RemoteRef": "HEAD",
  "RemoteSha": "a307c75157336b58955605599f0eb16d54aadcaa",
  "Author": "Yusong Zhao [aut],\nFangyi Wang [aut, cre],\nZisheng Qu [aut]",
  "Maintainer": "Fangyi Wang <123090550@link.cuhk.edu.cn>",
  "_user": "natwwww",
  "_type": "src",
  "_file": "text2emotion_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/9049e7cc9f53d2ee47e3e4230aeddbcd722f862141f99c1d16b6626811e502f1",
  "_filesize": 19116051,
  "_sha256": "9049e7cc9f53d2ee47e3e4230aeddbcd722f862141f99c1d16b6626811e502f1",
  "_expires": "2027-02-09T11:52:24.000Z",
  "_created": "2026-11-01T11:47:53.000Z",
  "_published": "2026-11-01T11:52:27.003Z",
  "_upstream": "https://github.com/natwwww/text2emotion",
  "_status": "failure",
  "_maintainer": {
    "name": "Fangyi Wang",
    "email": "123090550@link.cuhk.edu.cn",
    "login": "natwwww",
    "description": "",
    "uuid": 165157008
  },
  "_jobs": [
    {
      "job": 124839182604,
      "time": 171,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "13081429512"
    },
    {
      "job": 124839182615,
      "time": 186,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "WARNING",
      "artifact": "13082213763"
    },
    {
      "job": 124839182549,
      "time": 207,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "13082104307"
    },
    {
      "job": 124839182608,
      "time": 208,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "WARNING",
      "artifact": "13082238705"
    },
    {
      "job": 124838127031,
      "time": 288,
      "config": "source",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "13081239890"
    },
    {
      "job": 124839182628,
      "time": 146,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13082365663"
    },
    {
      "job": 124839182555,
      "time": 138,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "13082600331"
    },
    {
      "job": 124839182625,
      "time": 118,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "13082675531"
    },
    {
      "job": 124839182596,
      "time": 141,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "WARNING",
      "artifact": "13082124365"
    }
  ],
  "_buildurl": "https://github.com/r-universe/natwwww/actions/runs/41303145938",
  "_commit": {
    "id": "a307c75157336b58955605599f0eb16d54aadcaa",
    "author": "Hateprograming <165157008+Hateprograming@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Delete test/testthat/1",
    "time": 1746426306
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": "natwwww",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 4,
  "_contributors": [
    {
      "user": "natwwww",
      "count": 38,
      "uuid": 165157008
    }
  ],
  "_userbio": {
    "uuid": 165157008,
    "type": "user",
    "name": "NATwwww",
    "followers": 0
  },
  "_downloads": {
    "count": 154,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/text2emotion"
  },
  "_devurl": "https://github.com/natwwww/text2emotion",
  "_searchresults": 0,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/text2emotion.html"
  ],
  "_homeurl": "https://github.com/natwwww/text2emotion",
  "_realowner": "natwwww",
  "_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/natwwww/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.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "text2emotion",
  "_universes": [
    "natwwww"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-11-01T11:50:23.000Z",
      "distro": "resolute",
      "commit": "a307c75157336b58955605599f0eb16d54aadcaa",
      "fileid": "https://r2.ropensci.org/41159a87923cec8ec7c026af5a5c8f0e72647a20859cd48d6151d2ad452d1cbd",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/natwwww/actions/runs/41303145938"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-11-01T11:50:34.000Z",
      "distro": "resolute",
      "commit": "a307c75157336b58955605599f0eb16d54aadcaa",
      "fileid": "https://r2.ropensci.org/91aa025ef781ab08c6f4cbf3f1a673cbd4a9f323e5b830fe8b3954e59546af7e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/natwwww/actions/runs/41303145938"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-11-01T11:50:54.000Z",
      "commit": "a307c75157336b58955605599f0eb16d54aadcaa",
      "fileid": "https://r2.ropensci.org/0e4f9a670bf6e9499ff9338e80801057647f22f9be0444130851a81a6f414434",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/natwwww/actions/runs/41303145938"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-11-01T11:50:33.000Z",
      "commit": "a307c75157336b58955605599f0eb16d54aadcaa",
      "fileid": "https://r2.ropensci.org/080d73b3f4ce21930987db61290d66caed5ae2005d03e29ff0ef41f3db255c60",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/natwwww/actions/runs/41303145938"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-11-01T11:50:47.000Z",
      "commit": "a307c75157336b58955605599f0eb16d54aadcaa",
      "fileid": "https://r2.ropensci.org/dd8d1c8a18b4d6275be5c3b580e0a2a606fe10e2fc3e43a4b8d5c187de670649",
      "status": "success",
      "buildurl": "https://github.com/r-universe/natwwww/actions/runs/41303145938"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-01T11:49:37.000Z",
      "commit": "a307c75157336b58955605599f0eb16d54aadcaa",
      "fileid": "https://r2.ropensci.org/12250bd36f769c98b56e8ba388df23524accdd33d70330950925a8fa9ab8760c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/natwwww/actions/runs/41303145938"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-01T11:49:29.000Z",
      "commit": "a307c75157336b58955605599f0eb16d54aadcaa",
      "fileid": "https://r2.ropensci.org/4d2886ae874bc07b81f0be4779a66d4eddbd34d6fb74315bd248e07b163c9179",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/natwwww/actions/runs/41303145938"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-11-01T11:49:39.000Z",
      "commit": "a307c75157336b58955605599f0eb16d54aadcaa",
      "fileid": "https://r2.ropensci.org/344ea373ec394b07de5a218ad71b1a8743f45831edbd0e13dcb820e906a0ccd3",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/natwwww/actions/runs/41303145938"
    }
  ]
}