{
  "_id": "6a37c3693efcd9bda442d710",
  "Package": "rwig",
  "Type": "Package",
  "Title": "Wasserstein Index Generation (WIG) Model",
  "Version": "0.1.0",
  "Authors@R": "person(\"Fangzhou\", \"Xie\", , \"fangzhou.xie@rutgers.edu\", role = c(\"aut\", \"cre\", \"cph\"))",
  "Description": "Efficient implementation of several Optimal Transport\nalgorithms in Fangzhou Xie (2025)\n<doi:10.48550/arXiv.2504.08722> and the Wasserstein Index\nGeneration (WIG) model in Fangzhou Xie (2020)\n<doi:10.1016/j.econlet.2019.108874>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "URL": "https://github.com/fangzhou-xie/rwig,\nhttps://fangzhou-xie.github.io/rwig/",
  "BugReports": "https://github.com/fangzhou-xie/rwig/issues",
  "Roxygen": "list(markdown = TRUE)",
  "SystemRequirements": "autoconf, CUDA (> 13.0, only for Linux)",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "nvidia-cuda-dev libicu-dev",
  "Repository": "https://fangzhou-xie.r-universe.dev",
  "Date/Publication": "2026-04-21 19:42:26 UTC",
  "RemoteUrl": "https://github.com/fangzhou-xie/rwig",
  "RemoteRef": "HEAD",
  "RemoteSha": "c9cdecf4cd1c673011202e97a4baed066f3637b8",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-21 10:47:29 UTC",
    "User": "root"
  },
  "Author": "Fangzhou Xie [aut, cre, cph]",
  "Maintainer": "Fangzhou Xie <fangzhou.xie@rutgers.edu>",
  "MD5sum": "507667c96282a56c6965375254176270",
  "_user": "fangzhou-xie",
  "_type": "src",
  "_file": "rwig_0.1.0.tar.gz",
  "_fileid": "e936d088d9d9014057497b8ab400357ed6e469a85a07ce891920c40b7ab0c5af",
  "_filesize": 591852,
  "_sha256": "e936d088d9d9014057497b8ab400357ed6e469a85a07ce891920c40b7ab0c5af",
  "_created": "2026-06-21T10:47:29.000Z",
  "_published": "2026-06-21T10:56:41.587Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82563645291,
      "time": 321,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7774572910"
    },
    {
      "job": 82563645288,
      "time": 280,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7774567967"
    },
    {
      "job": 82563645289,
      "time": 321,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7774572974"
    },
    {
      "job": 82563645290,
      "time": 281,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7774568245"
    },
    {
      "job": 82563645278,
      "time": 133,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7774551859"
    },
    {
      "job": 82563645280,
      "time": 457,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7774587042"
    },
    {
      "job": 82563645276,
      "time": 117,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7774549959"
    },
    {
      "job": 82563645281,
      "time": 260,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7774565942"
    },
    {
      "job": 82563233579,
      "time": 387,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7774536500"
    },
    {
      "job": 82563645275,
      "time": 183,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7774557119"
    },
    {
      "job": 82563645282,
      "time": 183,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7774557265"
    },
    {
      "job": 82563645283,
      "time": 179,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7774556804"
    },
    {
      "job": 82563645279,
      "time": 177,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7774556420"
    }
  ],
  "_buildurl": "https://github.com/r-universe/fangzhou-xie/actions/runs/27901770539",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/fangzhou-xie/rwig",
  "_commit": {
    "id": "c9cdecf4cd1c673011202e97a4baed066f3637b8",
    "author": "fangzhou-xie <fangzhou.xie@rrutgers.edu>",
    "committer": "fangzhou-xie <fangzhou.xie@rrutgers.edu>",
    "message": "update readme\n",
    "time": 1776800546
  },
  "_maintainer": {
    "name": "Fangzhou Xie",
    "email": "fangzhou.xie@rutgers.edu",
    "login": "fangzhou-xie",
    "description": "PhD Candidate in Economics. Editor at JOSS and Software Impacts. `rethnicity` author/maintainer.",
    "uuid": 45321577
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.8",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "version": ">= 0.12.8.4.0",
      "role": "LinkingTo"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "RhpcBLASctl",
      "role": "Imports"
    },
    {
      "package": "word2vec",
      "role": "Imports"
    },
    {
      "package": "tokenizers",
      "role": "Imports"
    },
    {
      "package": "stopwords",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    }
  ],
  "_owner": "fangzhou-xie",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-30",
      "n": 1
    },
    {
      "week": "2025-48",
      "n": 9
    },
    {
      "week": "2025-49",
      "n": 5
    },
    {
      "week": "2026-08",
      "n": 9
    },
    {
      "week": "2026-10",
      "n": 2
    },
    {
      "week": "2026-11",
      "n": 1
    },
    {
      "week": "2026-16",
      "n": 1
    },
    {
      "week": "2026-17",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "fangzhou-xie",
      "count": 27,
      "uuid": 45321577
    }
  ],
  "_userbio": {
    "uuid": 45321577,
    "type": "user",
    "name": "Fangzhou Xie",
    "followers": 17,
    "description": "PhD Candidate in Economics. Editor at JOSS and Software Impacts. `rethnicity` author/maintainer."
  },
  "_downloads": {
    "count": 484,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rwig"
  },
  "_devurl": "https://github.com/fangzhou-xie/rwig",
  "_pkgdown": "https://fangzhou-xie.github.io/rwig/",
  "_searchresults": 12,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rwig.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/fangzhou-xie/rwig",
  "_realowner": "fangzhou-xie",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-04-21"
    }
  ],
  "_exports": [
    "barycenter",
    "check_cuda",
    "sinkhorn",
    "tsvd",
    "wdl",
    "wdl_specs",
    "wig",
    "wig_specs"
  ],
  "_datasets": [
    {
      "name": "headlines",
      "title": "NYT headlines by economic policy uncertainty",
      "object": "headlines",
      "class": [
        "data.frame"
      ],
      "fields": [
        "headline",
        "ref_date"
      ],
      "rows": 18507,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "barycenter",
      "title": "Barycenter algorithm",
      "concept": [
        "Barycenter algorithms"
      ],
      "topics": [
        "barycenter"
      ]
    },
    {
      "page": "check_cuda",
      "title": "Check if CUDA is available",
      "topics": [
        "check_cuda"
      ]
    },
    {
      "page": "headlines",
      "title": "NYT headlines by economic policy uncertainty",
      "topics": [
        "headlines"
      ]
    },
    {
      "page": "sinkhorn",
      "title": "Sinkhorn algorithm",
      "concept": [
        "Sinkhorn algorithms"
      ],
      "topics": [
        "sinkhorn"
      ]
    },
    {
      "page": "tsvd",
      "title": "Truncated SVD",
      "topics": [
        "tsvd"
      ]
    },
    {
      "page": "wdl",
      "title": "Wasserstein Dictionary Learning model",
      "topics": [
        "print.wdl",
        "summary.wdl",
        "wdl",
        "wdl.character"
      ]
    },
    {
      "page": "wdl_specs",
      "title": "Model Specs for WDL and WIG models",
      "topics": [
        "wdl_specs",
        "wig_specs"
      ]
    },
    {
      "page": "wig",
      "title": "Wasserstein Index Generation model",
      "topics": [
        "print.wig",
        "summary.wig",
        "wig",
        "wig.data.frame"
      ]
    }
  ],
  "_readme": "https://github.com/fangzhou-xie/rwig/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "generics",
    "ISOcodes",
    "lubridate",
    "Rcpp",
    "RcppArmadillo",
    "RcppProgress",
    "RhpcBLASctl",
    "rlang",
    "SnowballC",
    "stopwords",
    "stringi",
    "timechange",
    "tokenizers",
    "word2vec"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "barycenter.Rmd",
      "filename": "barycenter.html",
      "title": "Barycenter Algorithms",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Difference from sinkhorn()",
        "See Also",
        "Reference"
      ],
      "created": "2025-11-28 21:42:23",
      "modified": "2025-12-02 22:41:18",
      "commits": 3
    },
    {
      "source": "gradient.Rmd",
      "filename": "gradient.html",
      "title": "Computation of the Gradients",
      "engine": "knitr::rmarkdown",
      "headings": [
        "See Also",
        "References"
      ],
      "created": "2025-11-28 21:42:23",
      "modified": "2025-12-02 22:41:18",
      "commits": 3
    },
    {
      "source": "cuda.Rmd",
      "filename": "cuda.html",
      "title": "CUDA Acceleration",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2026-02-17 22:14:08",
      "modified": "2026-02-17 22:14:08",
      "commits": 1
    },
    {
      "source": "threading.Rmd",
      "filename": "threading.html",
      "title": "Multi-threading Support",
      "engine": "knitr::rmarkdown",
      "headings": [
        "See Also",
        "References"
      ],
      "created": "2025-11-26 16:34:26",
      "modified": "2025-12-02 22:41:18",
      "commits": 4
    },
    {
      "source": "sinkhorn.Rmd",
      "filename": "sinkhorn.html",
      "title": "Sinkhorn Algorithms",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Get Started with Sinkhorn Algorithm",
        "Vanilla, Log, and Auto Sinkhorn Algorithms",
        "Gradient of Loss w.r.t. a",
        "Other Control Parameters",
        "Reference"
      ],
      "created": "2025-11-26 16:34:26",
      "modified": "2025-12-02 22:41:18",
      "commits": 4
    },
    {
      "source": "tsvd.Rmd",
      "filename": "tsvd.html",
      "title": "Truncated SVD",
      "engine": "knitr::rmarkdown",
      "headings": [
        "References"
      ],
      "created": "2025-11-28 22:04:35",
      "modified": "2026-02-17 22:14:08",
      "commits": 4
    },
    {
      "source": "specs.Rmd",
      "filename": "specs.html",
      "title": "WDL and WIG Model Specs",
      "engine": "knitr::rmarkdown",
      "headings": [
        "wig_control",
        "wdl_control",
        "tokenizer_control",
        "word2vec_control",
        "barycenter_control",
        "optimizer_control",
        "See Also",
        "References"
      ],
      "created": "2025-12-02 21:52:16",
      "modified": "2026-02-17 18:27:36",
      "commits": 3
    },
    {
      "source": "wdl-model.Rmd",
      "filename": "wdl-model.html",
      "title": "WDL Model",
      "engine": "knitr::rmarkdown",
      "headings": [
        "See Also",
        "References"
      ],
      "created": "2025-11-28 21:42:23",
      "modified": "2026-03-06 17:10:52",
      "commits": 4
    },
    {
      "source": "wig-model.Rmd",
      "filename": "wig-model.html",
      "title": "WIG Model",
      "engine": "knitr::rmarkdown",
      "headings": [
        "See Also",
        "References"
      ],
      "created": "2025-11-28 21:42:23",
      "modified": "2026-03-06 17:10:52",
      "commits": 4
    }
  ],
  "_score": 5.635483746814912,
  "_indexed": true,
  "_nocasepkg": "rwig",
  "_universes": [
    "fangzhou-xie"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-21T10:52:54.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "c9cdecf4cd1c673011202e97a4baed066f3637b8",
      "fileid": "a61b4da19713503138662fae2d810643c30c680257650a97113f75c3aa7de68c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fangzhou-xie/actions/runs/27901770539"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-21T10:52:17.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "c9cdecf4cd1c673011202e97a4baed066f3637b8",
      "fileid": "c7790303285fcbae146a49b133852a7314ef2347a2d682789bcaefa1a84a98d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fangzhou-xie/actions/runs/27901770539"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-21T10:52:54.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "c9cdecf4cd1c673011202e97a4baed066f3637b8",
      "fileid": "9c9a8bf184164980bb5d7ee1d7f2caf22c48b5baac422007f7e81046203ada18",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fangzhou-xie/actions/runs/27901770539"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-21T10:52:17.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "c9cdecf4cd1c673011202e97a4baed066f3637b8",
      "fileid": "94200011c63f074b555015d3109fbb0641f9cc8e1e1bdaa8f7354e05602747d2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fangzhou-xie/actions/runs/27901770539"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-21T10:50:05.000Z",
      "arch": "aarch64",
      "commit": "c9cdecf4cd1c673011202e97a4baed066f3637b8",
      "fileid": "657bf6ccbb03de46663a85cade9e5bf4c856218dd2ab4a63fa05fbbb203731c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fangzhou-xie/actions/runs/27901770539"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-21T10:53:01.000Z",
      "arch": "x86_64",
      "commit": "c9cdecf4cd1c673011202e97a4baed066f3637b8",
      "fileid": "7baf29d2b35e6ad6435133ba8c952ad405639888de277ea07d73c831250a87a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fangzhou-xie/actions/runs/27901770539"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-21T10:50:02.000Z",
      "arch": "aarch64",
      "commit": "c9cdecf4cd1c673011202e97a4baed066f3637b8",
      "fileid": "78a6724b34e7af1c3239f8d07763ecbc7d243802932bf96f2e0af40ccc94dcee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fangzhou-xie/actions/runs/27901770539"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-21T10:51:09.000Z",
      "arch": "x86_64",
      "commit": "c9cdecf4cd1c673011202e97a4baed066f3637b8",
      "fileid": "c86f0ee04664457560f172315059f81d6b45dade8ff660a7a886e6715a924744",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fangzhou-xie/actions/runs/27901770539"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-21T10:51:04.000Z",
      "arch": "emscripten",
      "commit": "c9cdecf4cd1c673011202e97a4baed066f3637b8",
      "fileid": "9bb52a266eb462df759c3f633c6368fbc384325ded424609558daf614a932a18",
      "status": "success",
      "buildurl": "https://github.com/r-universe/fangzhou-xie/actions/runs/27901770539"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-21T10:49:37.000Z",
      "arch": "x86_64",
      "commit": "c9cdecf4cd1c673011202e97a4baed066f3637b8",
      "fileid": "2c67cc100bf3fc64902239343e9506cdff3a7c784c96746992731a9dd873295e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fangzhou-xie/actions/runs/27901770539"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-21T10:50:01.000Z",
      "arch": "x86_64",
      "commit": "c9cdecf4cd1c673011202e97a4baed066f3637b8",
      "fileid": "1f96a8ce14bc22afe1a405418ed9eb12f15004c74acb52a9c9489b4715b62203",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fangzhou-xie/actions/runs/27901770539"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-21T10:49:41.000Z",
      "arch": "x86_64",
      "commit": "c9cdecf4cd1c673011202e97a4baed066f3637b8",
      "fileid": "dc51e199fbc5c38547c45088967aca3d0eb9fad12955e756f4c897ddccb51ef0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fangzhou-xie/actions/runs/27901770539"
    }
  ]
}