{
  "_id": "6acf97afe2d863f662952d6b",
  "Package": "sweater",
  "Title": "Speedy Word Embedding Association Test and Extras Using R",
  "Version": "0.1.9",
  "Authors@R": "person(given = \"Chung-hong\",\nfamily = \"Chan\",\nrole = c(\"aut\", \"cre\"),\nemail = \"chainsawtiney@gmail.com\",\ncomment = c(ORCID = \"0000-0002-6232-7530\"))",
  "Description": "Conduct various tests for evaluating implicit biases in\nword embeddings: Word Embedding Association Test (Caliskan et\nal., 2017), <doi:10.1126/science.aal4230>, Relative Norm\nDistance (Garg et al., 2018), <doi:10.1073/pnas.1720347115>,\nMean Average Cosine Similarity (Mazini et al., 2019)\n<arXiv:1904.04047>, SemAxis (An et al., 2018)\n<arXiv:1806.05521>, Relative Negative Sentiment Bias (Sweeney &\nNajafian, 2019) <doi:10.18653/v1/P19-1162>, and Embedding\nCoherence Test (Dev & Phillips, 2019) <arXiv:1901.07656>.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.1",
  "URL": "https://github.com/gesistsa/sweater",
  "BugReports": "https://github.com/gesistsa/sweater/issues",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libicu-dev libxml2-dev",
  "Repository": "https://gesistsa.r-universe.dev",
  "Date/Publication": "2026-10-14 14:04:15 UTC",
  "RemoteUrl": "https://github.com/gesistsa/sweater",
  "RemoteRef": "HEAD",
  "RemoteSha": "264188be60c6a24b9ba9fc5f70c5aaee018924ee",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-14 14:41:47 UTC",
    "User": "root"
  },
  "Author": "Chung-hong Chan [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-6232-7530>)",
  "Maintainer": "Chung-hong Chan <chainsawtiney@gmail.com>",
  "_user": "gesistsa",
  "_type": "src",
  "_file": "sweater_0.1.9.tar.gz",
  "_fileid": "https://r2.ropensci.org/fec662bd2c5e5f2aedad8eac15173000d33efb142d8272398401f126bd910a16",
  "_filesize": 697509,
  "_sha256": "fec662bd2c5e5f2aedad8eac15173000d33efb142d8272398401f126bd910a16",
  "_expires": "2027-01-22T14:54:36.000Z",
  "_created": "2026-10-14T14:41:47.000Z",
  "_published": "2026-10-14T14:54:38.972Z",
  "_buildurl": "https://github.com/r-universe/gesistsa/actions/runs/38582395404",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115917046743,
      "time": 140,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11903972693"
    },
    {
      "job": 115917045145,
      "time": 126,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11904022604"
    },
    {
      "job": 115917045367,
      "time": 118,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11903707669"
    },
    {
      "job": 115917045162,
      "time": 170,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11903992831"
    },
    {
      "job": 115917045510,
      "time": 107,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11904775814"
    },
    {
      "job": 115917045598,
      "time": 224,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11904615869"
    },
    {
      "job": 115917045430,
      "time": 100,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11904502963"
    },
    {
      "job": 115917045619,
      "time": 307,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11904568211"
    },
    {
      "job": 115915569829,
      "time": 167,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11903922277"
    },
    {
      "job": 115917045151,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11903572724"
    },
    {
      "job": 115917045447,
      "time": 196,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11902804809"
    },
    {
      "job": 115917045339,
      "time": 139,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11903647838"
    },
    {
      "job": 115917045513,
      "time": 77,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11903857510"
    },
    {
      "job": 115917045579,
      "time": 222,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11904252967"
    },
    {
      "job": 115917045353,
      "time": 101,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11903218925"
    }
  ],
  "_upstream": "https://github.com/gesistsa/sweater",
  "_commit": {
    "id": "264188be60c6a24b9ba9fc5f70c5aaee018924ee",
    "author": "chainsawriot <chainsawtiney@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Fix #49 (#50)\n\n* Fix #49\n\n* Update\n\n* Disable it altogether",
    "time": 1791986655
  },
  "_maintainer": {
    "name": "Chung-hong Chan",
    "email": "chainsawtiney@gmail.com",
    "login": "chainsawriot",
    "orcid": "0000-0002-6232-7530",
    "description": "",
    "uuid": 637269
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "quanteda",
      "role": "Imports"
    },
    {
      "package": "LiblineaR",
      "role": "Imports"
    },
    {
      "package": "proxy",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "combinat",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "gesistsa",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-42",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "bias-detection",
    "textanalysis",
    "wordembedding",
    "cpp"
  ],
  "_stars": 32,
  "_contributors": [
    {
      "user": "chainsawriot",
      "count": 133,
      "uuid": 637269
    },
    {
      "user": "arthurmuehl",
      "count": 1,
      "uuid": 223466305
    },
    {
      "user": "cmaimone",
      "count": 1,
      "uuid": 14303565
    }
  ],
  "_userbio": {
    "uuid": 143654576,
    "type": "organization",
    "name": "Transparent Social Analytics",
    "followers": 47,
    "description": "Open Science Tools and more maintained by Transparent Social Analytics Team, GESIS"
  },
  "_downloads": {
    "count": 284,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sweater"
  },
  "_devurl": "https://github.com/gesistsa/sweater",
  "_searchresults": 21,
  "_rbuild": "4.6.1",
  "_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/sweater.html"
  ],
  "_homeurl": "https://github.com/gesistsa/sweater",
  "_realowner": "gesistsa",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-11-19"
    },
    {
      "version": "0.1.1",
      "date": "2021-11-22"
    },
    {
      "version": "0.1.2",
      "date": "2021-11-24"
    },
    {
      "version": "0.1.4",
      "date": "2022-01-21"
    },
    {
      "version": "0.1.5",
      "date": "2022-04-20"
    },
    {
      "version": "0.1.6",
      "date": "2022-05-04"
    },
    {
      "version": "0.1.7",
      "date": "2022-11-05"
    },
    {
      "version": "0.1.8",
      "date": "2023-11-07"
    }
  ],
  "_exports": [
    "calculate_es",
    "ect",
    "ect_es",
    "mac",
    "mac_es",
    "nas",
    "plot_bias",
    "plot_ect",
    "query",
    "read_word2vec",
    "rnd",
    "rnd_es",
    "rnsb",
    "rnsb_es",
    "semaxis",
    "weat",
    "weat_es",
    "weat_exact",
    "weat_resampling"
  ],
  "_datasets": [
    {
      "name": "glove_math",
      "title": "A subset of the pretrained GLoVE word vectors",
      "object": "glove_math",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 32,
      "table": true,
      "tojson": true
    },
    {
      "name": "googlenews",
      "title": "A subset of the pretrained word2vec word vectors",
      "object": "googlenews",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 116,
      "table": true,
      "tojson": true
    },
    {
      "name": "small_reddit",
      "title": "A subset of the pretrained word2vec word vectors on Reddit",
      "object": "small_reddit",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 106,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "calculate_es",
      "title": "Calculate the effect size of a query",
      "topics": [
        "calculate_es"
      ]
    },
    {
      "page": "ect",
      "title": "Embedding Coherence Test",
      "topics": [
        "ect"
      ]
    },
    {
      "page": "ect_es",
      "title": "Calculate the Spearman Coefficient of an ECT result",
      "topics": [
        "ect_es"
      ]
    },
    {
      "page": "glove_math",
      "title": "A subset of the pretrained GLoVE word vectors",
      "topics": [
        "glove_math"
      ]
    },
    {
      "page": "googlenews",
      "title": "A subset of the pretrained word2vec word vectors",
      "topics": [
        "googlenews"
      ]
    },
    {
      "page": "mac",
      "title": "Mean average cosine similarity",
      "topics": [
        "mac"
      ]
    },
    {
      "page": "mac_es",
      "title": "Calculation of MAC Effect Size",
      "topics": [
        "mac_es"
      ]
    },
    {
      "page": "nas",
      "title": "Calculate Normalized Association Score",
      "topics": [
        "nas"
      ]
    },
    {
      "page": "plot_bias",
      "title": "Visualize the bias of words in S",
      "topics": [
        "plot.sweater",
        "plot_bias"
      ]
    },
    {
      "page": "plot_ect",
      "title": "Plot an ECT result on a two-dimensional plane",
      "topics": [
        "plot_ect"
      ]
    },
    {
      "page": "query",
      "title": "A common interface for making query",
      "topics": [
        "print.sweater",
        "query"
      ]
    },
    {
      "page": "read_word2vec",
      "title": "A helper function for reading word2vec format",
      "topics": [
        "read_word2vec"
      ]
    },
    {
      "page": "rnd",
      "title": "Relative Norm Distance",
      "topics": [
        "rnd"
      ]
    },
    {
      "page": "rnd_es",
      "title": "Calculation of sum of all relative norm distances",
      "topics": [
        "rnd_es"
      ]
    },
    {
      "page": "rnsb",
      "title": "Relative Negative Sentiment Bias",
      "topics": [
        "rnsb"
      ]
    },
    {
      "page": "rnsb_es",
      "title": "Calculation the Kullback-Leibler divergence",
      "topics": [
        "rnsb_es"
      ]
    },
    {
      "page": "semaxis",
      "title": "Characterise word semantics using the SemAxis framework",
      "topics": [
        "semaxis"
      ]
    },
    {
      "page": "small_reddit",
      "title": "A subset of the pretrained word2vec word vectors on Reddit",
      "topics": [
        "small_reddit"
      ]
    },
    {
      "page": "weat",
      "title": "Speedy Word Embedding Association Test",
      "topics": [
        "weat"
      ]
    },
    {
      "page": "weat_es",
      "title": "Calculation of WEAT effect size",
      "topics": [
        "weat_es"
      ]
    },
    {
      "page": "weat_resampling",
      "title": "Test of significance for WEAT",
      "topics": [
        "weat_exact",
        "weat_resampling"
      ]
    }
  ],
  "_readme": "https://github.com/gesistsa/sweater/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "combinat",
    "data.table",
    "fastmatch",
    "glue",
    "ISOcodes",
    "jsonlite",
    "lattice",
    "LiblineaR",
    "lifecycle",
    "magrittr",
    "Matrix",
    "proxy",
    "purrr",
    "quanteda",
    "Rcpp",
    "rlang",
    "SnowballC",
    "stopwords",
    "stringi",
    "vctrs",
    "xml2",
    "yaml"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 4.827369273053826,
  "_indexed": true,
  "_nocasepkg": "sweater",
  "_universes": [
    "gesistsa",
    "chainsawriot"
  ],
  "_previous": "0.1.8",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.9",
      "date": "2026-10-14T14:44:10.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "264188be60c6a24b9ba9fc5f70c5aaee018924ee",
      "fileid": "https://r2.ropensci.org/c794330dfd632c8eaeda7fd205f918f476522c64ea174230a737795dbc2cd459",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gesistsa/actions/runs/38582395404"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.9",
      "date": "2026-10-14T14:43:51.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "264188be60c6a24b9ba9fc5f70c5aaee018924ee",
      "fileid": "https://r2.ropensci.org/b90d706013a837d714ce794b17a13e50c383a9fc148efd3af608dd4b28ae8dbb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gesistsa/actions/runs/38582395404"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.9",
      "date": "2026-10-14T14:43:49.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "264188be60c6a24b9ba9fc5f70c5aaee018924ee",
      "fileid": "https://r2.ropensci.org/48b4d24f7a1c071cc7b4e353a1a912a9ef8673ea888fbe66c428cfac4d7b982c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gesistsa/actions/runs/38582395404"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.9",
      "date": "2026-10-14T14:44:32.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "264188be60c6a24b9ba9fc5f70c5aaee018924ee",
      "fileid": "https://r2.ropensci.org/39856b7279d017fa3f0a77ed1bb27b0bcfe9d4980cf5f342464851b6e8a918fd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gesistsa/actions/runs/38582395404"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.9",
      "date": "2026-10-14T14:50:47.000Z",
      "arch": "aarch64",
      "commit": "264188be60c6a24b9ba9fc5f70c5aaee018924ee",
      "fileid": "https://r2.ropensci.org/a3419697c0a291084d9d2f179d6010c6432bda06aee19b59b7403b44ff82f0cc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gesistsa/actions/runs/38582395404"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.9",
      "date": "2026-10-14T14:49:14.000Z",
      "arch": "x86_64",
      "commit": "264188be60c6a24b9ba9fc5f70c5aaee018924ee",
      "fileid": "https://r2.ropensci.org/62b1b84514719c2a615e656fd084626cc83a5e4e6bedf38c732e94c358aef2c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gesistsa/actions/runs/38582395404"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.9",
      "date": "2026-10-14T14:49:57.000Z",
      "arch": "aarch64",
      "commit": "264188be60c6a24b9ba9fc5f70c5aaee018924ee",
      "fileid": "https://r2.ropensci.org/90d72e3d4e7d1e976d5b581ec9f7df4c6a0f207a42b59535659c85c7a72aaeda",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gesistsa/actions/runs/38582395404"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.9",
      "date": "2026-10-14T14:53:03.000Z",
      "arch": "x86_64",
      "commit": "264188be60c6a24b9ba9fc5f70c5aaee018924ee",
      "fileid": "https://r2.ropensci.org/21ce4c8595737f54b528e9db967a1d529a7716c05bf6cd169c00e8876df4ceea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gesistsa/actions/runs/38582395404"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.9",
      "date": "2026-10-14T14:43:38.000Z",
      "arch": "emscripten",
      "commit": "264188be60c6a24b9ba9fc5f70c5aaee018924ee",
      "fileid": "https://r2.ropensci.org/7ce9d82699cd24c25b96229b6703520f0e404b5acd6426dff56807914065f6a4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/gesistsa/actions/runs/38582395404"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.9",
      "date": "2026-10-14T14:44:47.000Z",
      "arch": "aarch64",
      "commit": "264188be60c6a24b9ba9fc5f70c5aaee018924ee",
      "fileid": "https://r2.ropensci.org/c39bb156f9021f4e042fa50a047dd7f7fbaf461f8a780a7c7e9c70874a2aa02f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gesistsa/actions/runs/38582395404"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.9",
      "date": "2026-10-14T14:43:02.000Z",
      "arch": "x86_64",
      "commit": "264188be60c6a24b9ba9fc5f70c5aaee018924ee",
      "fileid": "https://r2.ropensci.org/e5a9f3529ede0a245be125f25507fd815a11cfc5bfa65b5ea8047d02ff29dfae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gesistsa/actions/runs/38582395404"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.9",
      "date": "2026-10-14T14:42:50.000Z",
      "arch": "x86_64",
      "commit": "264188be60c6a24b9ba9fc5f70c5aaee018924ee",
      "fileid": "https://r2.ropensci.org/b814beb9b4c26f10bd67f25c3301aa9e5ec2c708dfdaa27522c5cd303e66a27a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gesistsa/actions/runs/38582395404"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.9",
      "date": "2026-10-14T14:45:13.000Z",
      "arch": "aarch64",
      "commit": "264188be60c6a24b9ba9fc5f70c5aaee018924ee",
      "fileid": "https://r2.ropensci.org/36d67ebf504d0a88602fcc8866510231d08eefee48a121821e69adb87608ab64",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gesistsa/actions/runs/38582395404"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.9",
      "date": "2026-10-14T14:43:03.000Z",
      "arch": "x86_64",
      "commit": "264188be60c6a24b9ba9fc5f70c5aaee018924ee",
      "fileid": "https://r2.ropensci.org/1b9f985200282a90537119340e828b8c71db54f0d73addb24c249fa936097883",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gesistsa/actions/runs/38582395404"
    }
  ]
}