{
  "_id": "6a0f66a4acfb0bcc41c5d501",
  "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",
  "SystemRequirements": "autoconf, CUDA (> 13.0, only for Linux)",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-21 09:52:18 UTC",
    "User": "root"
  },
  "Author": "Fangzhou Xie [aut, cre, cph]",
  "Maintainer": "Fangzhou Xie <fangzhou.xie@rutgers.edu>",
  "Config/pak/sysreqs": "nvidia-cuda-dev",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-04-21 11:35:39 UTC",
  "RemoteUrl": "https://github.com/cran/rwig",
  "RemoteRef": "HEAD",
  "RemoteSha": "652639fc38cf5840c7e17390b7999d6d14af5849",
  "MD5sum": "bf5af7f3b6c74f102c082dbad5819171",
  "_user": "cran",
  "_type": "src",
  "_file": "rwig_0.1.0.tar.gz",
  "_fileid": "c86dfd58c9e24b20e481099fac1804a75843d3c1e9b1cb87563eb7aded8f5348",
  "_filesize": 590190,
  "_sha256": "c86dfd58c9e24b20e481099fac1804a75843d3c1e9b1cb87563eb7aded8f5348",
  "_created": "2026-05-21T09:52:18.000Z",
  "_published": "2026-05-21T20:10:12.309Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77258856706,
      "time": 302,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7132746392"
    },
    {
      "job": 77258856421,
      "time": 284,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7132740165"
    },
    {
      "job": 77258856761,
      "time": 337,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7132757617"
    },
    {
      "job": 77258856403,
      "time": 282,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7132739452"
    },
    {
      "job": 77258856402,
      "time": 457,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7132643473"
    },
    {
      "job": 77258855750,
      "time": 237,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7146084629"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26218430137",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/rwig",
  "_commit": {
    "id": "652639fc38cf5840c7e17390b7999d6d14af5849",
    "author": "Fangzhou Xie <fangzhou.xie@rutgers.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1776771339
  },
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-17",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-04-21"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "fangzhou-xie",
      "count": 1,
      "uuid": 45321577
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 528,
    "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",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/fangzhou-xie/rwig",
  "_realowner": "fangzhou-xie",
  "_cranurl": false,
  "_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/cran/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": "2026-04-21 11:35:39",
      "modified": "2026-04-21 11:35:39",
      "commits": 1
    },
    {
      "source": "gradient.Rmd",
      "filename": "gradient.html",
      "title": "Computation of the Gradients",
      "engine": "knitr::rmarkdown",
      "headings": [
        "See Also",
        "References"
      ],
      "created": "2026-04-21 11:35:39",
      "modified": "2026-04-21 11:35:39",
      "commits": 1
    },
    {
      "source": "cuda.Rmd",
      "filename": "cuda.html",
      "title": "CUDA Acceleration",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2026-04-21 11:35:39",
      "modified": "2026-04-21 11:35:39",
      "commits": 1
    },
    {
      "source": "threading.Rmd",
      "filename": "threading.html",
      "title": "Multi-threading Support",
      "engine": "knitr::rmarkdown",
      "headings": [
        "See Also",
        "References"
      ],
      "created": "2026-04-21 11:35:39",
      "modified": "2026-04-21 11:35:39",
      "commits": 1
    },
    {
      "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": "2026-04-21 11:35:39",
      "modified": "2026-04-21 11:35:39",
      "commits": 1
    },
    {
      "source": "tsvd.Rmd",
      "filename": "tsvd.html",
      "title": "Truncated SVD",
      "engine": "knitr::rmarkdown",
      "headings": [
        "References"
      ],
      "created": "2026-04-21 11:35:39",
      "modified": "2026-04-21 11:35:39",
      "commits": 1
    },
    {
      "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": "2026-04-21 11:35:39",
      "modified": "2026-04-21 11:35:39",
      "commits": 1
    },
    {
      "source": "wdl-model.Rmd",
      "filename": "wdl-model.html",
      "title": "WDL Model",
      "engine": "knitr::rmarkdown",
      "headings": [
        "See Also",
        "References"
      ],
      "created": "2026-04-21 11:35:39",
      "modified": "2026-04-21 11:35:39",
      "commits": 1
    },
    {
      "source": "wig-model.Rmd",
      "filename": "wig-model.html",
      "title": "WIG Model",
      "engine": "knitr::rmarkdown",
      "headings": [
        "See Also",
        "References"
      ],
      "created": "2026-04-21 11:35:39",
      "modified": "2026-04-21 11:35:39",
      "commits": 1
    }
  ],
  "_score": 3.732393759822968,
  "_indexed": false,
  "_nocasepkg": "rwig",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://fangzhou-xie.r-universe.dev/rwig",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-21T09:57:06.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "652639fc38cf5840c7e17390b7999d6d14af5849",
      "fileid": "9ecf538047a82d2db4cc59930bc9380b2155f329cfd34dc9c625cc2855b2c780",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26218430137"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-21T09:56:50.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "652639fc38cf5840c7e17390b7999d6d14af5849",
      "fileid": "b6b76c0cf98af047cfed21ffba8976a1af84ccb9a3b1071438b0b96c0143bfb3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26218430137"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-21T09:57:40.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "652639fc38cf5840c7e17390b7999d6d14af5849",
      "fileid": "7dd351ad4d5ae64af81b040fde2287d2cfb8feeab05616fe7e809568b33627dd",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26218430137"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-21T09:56:47.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "652639fc38cf5840c7e17390b7999d6d14af5849",
      "fileid": "40fd53eca6e73bd15f44b5cb4bcf51af9dc20e5adb4653c018cb60891f488242",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26218430137"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-05-21T20:09:13.000Z",
      "arch": "emscripten",
      "commit": "652639fc38cf5840c7e17390b7999d6d14af5849",
      "fileid": "12719413d4d21134bfd152c13e83951e3d41632df02dfeca95233c5a0a06a624",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26218430137"
    }
  ]
}