{
  "_id": "6ac4b6e5f511ae58c09a04f1",
  "Package": "iwmm",
  "Title": "Importance weighted moment matching",
  "Version": "0.0.1",
  "Authors@R": "c(person(\"Topi\", \"Paananen\", email = \"work@topipaananen.fi\", role = c(\"cre\", \"aut\")),\nperson(\"Noa\", \"Kallioinen\", role = \"ctb\"))",
  "Description": "iwmm provides functions for adaptive importance sampling.",
  "License": "GPL (>=3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.1",
  "VignetteBuilder": "knitr",
  "Config/testthat/parallel": "false",
  "Config/testthat/edition": "3",
  "Repository": "https://topipa.r-universe.dev",
  "Date/Publication": "2024-09-08 15:49:50 UTC",
  "RemoteUrl": "https://github.com/topipa/iwmm",
  "RemoteRef": "HEAD",
  "RemoteSha": "f0052215a2ce90fb8781ab8fc3cf1b956358703a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-06 08:47:46 UTC",
    "User": "root"
  },
  "Author": "Topi Paananen [cre, aut],\nNoa Kallioinen [ctb]",
  "Maintainer": "Topi Paananen <work@topipaananen.fi>",
  "_user": "topipa",
  "_type": "src",
  "_file": "iwmm_0.0.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/0987924fb1356a172839ca114a472931655e196eb3d8654ea3d4e0894e6847df",
  "_filesize": 426155,
  "_sha256": "0987924fb1356a172839ca114a472931655e196eb3d8654ea3d4e0894e6847df",
  "_expires": "2027-01-14T08:52:51.000Z",
  "_created": "2026-10-06T08:47:46.000Z",
  "_published": "2026-10-06T08:52:52.906Z",
  "_jobs": [
    {
      "job": 112186284681,
      "time": 225,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11400735652"
    },
    {
      "job": 112186284537,
      "time": 234,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11399778934"
    },
    {
      "job": 112186284756,
      "time": 252,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11399948458"
    },
    {
      "job": 112186284693,
      "time": 247,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11399818662"
    },
    {
      "job": 112185097027,
      "time": 185,
      "config": "source",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11400276555"
    },
    {
      "job": 112186284926,
      "time": 135,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11400212142"
    },
    {
      "job": 112186284576,
      "time": 162,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11400730574"
    },
    {
      "job": 112186284714,
      "time": 176,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11400222161"
    },
    {
      "job": 112186284893,
      "time": 196,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11400760654"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/topipa/actions/runs/37438138305",
  "_status": "failure",
  "_upstream": "https://github.com/topipa/iwmm",
  "_commit": {
    "id": "f0052215a2ce90fb8781ab8fc3cf1b956358703a",
    "author": "Topi Paananen <24715100+topipa@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "require rstan in rstan tests (#19)\n\n",
    "time": 1725810590
  },
  "_maintainer": {
    "name": "Topi Paananen",
    "email": "work@topipaananen.fi"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1.2",
      "role": "Depends"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "matrixStats",
      "version": ">= 0.52",
      "role": "Imports"
    },
    {
      "package": "posterior",
      "version": ">= 1.5.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "bayesplot",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "parallel",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "styler",
      "version": ">= 1.3.0",
      "role": "Suggests"
    },
    {
      "package": "brms",
      "role": "Enhances"
    },
    {
      "package": "cmdstanr",
      "role": "Enhances"
    },
    {
      "package": "rstan",
      "role": "Enhances"
    }
  ],
  "_owner": "topipa",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "bayesian",
    "bayesian-data-analysis",
    "bayesian-methods",
    "stan"
  ],
  "_stars": 9,
  "_contributors": [
    {
      "user": "topipa",
      "count": 75,
      "uuid": 24715100
    },
    {
      "user": "rantahar",
      "count": 13,
      "uuid": 8625293
    },
    {
      "user": "n-kall",
      "count": 4,
      "uuid": 33577035
    }
  ],
  "_userbio": {
    "uuid": 24715100,
    "type": "user",
    "name": "topipa",
    "followers": 0
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/iwmm"
  },
  "_devurl": "https://github.com/topipa/iwmm",
  "_searchresults": 2,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/iwmm.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_cranurl": false,
  "_exports": [
    "constrain_draws",
    "example_iwmm_model",
    "moment_match",
    "shift",
    "shift_and_cov",
    "shift_and_scale",
    "unconstrain_draws"
  ],
  "_help": [
    {
      "page": "constrain_draws",
      "title": "Constrain all draws from a fitted model",
      "topics": [
        "constrain_draws"
      ]
    },
    {
      "page": "example_iwmm_model",
      "title": "Example Stan model for importance weighted moment matching",
      "topics": [
        "example_iwmm_model"
      ]
    },
    {
      "page": "log_prob_draws",
      "title": "Return log probability of posterior",
      "topics": [
        "log_prob_draws"
      ]
    },
    {
      "page": "moment_match",
      "title": "Generic importance weighted moment matching algorithm.",
      "topics": [
        "moment_match",
        "moment_match.matrix"
      ]
    },
    {
      "page": "moment_match.brmsfit",
      "title": "Generic importance weighted moment matching algorithm for 'brmsfit' objects. See additional arguments from 'moment_match.matrix'",
      "topics": [
        "moment_match.brmsfit"
      ]
    },
    {
      "page": "moment_match.CmdStanFit",
      "title": "Generic importance weighted moment matching algorithm for 'CmdStanFit' objects.  See additional arguments from 'moment_match.matrix'",
      "topics": [
        "moment_match.CmdStanFit"
      ]
    },
    {
      "page": "moment_match.stanfit",
      "title": "Generic importance weighted moment matching algorithm for 'stanfit' objects. See additional arguments from 'moment_match.matrix'",
      "topics": [
        "moment_match.stanfit"
      ]
    },
    {
      "page": "shift",
      "title": "Shift a matrix of draws to their weighted mean.",
      "topics": [
        "shift"
      ]
    },
    {
      "page": "shift_and_cov",
      "title": "Shift a matrix of draws to their weighted mean and scale the covariance to match the weighted covariance.",
      "topics": [
        "shift_and_cov"
      ]
    },
    {
      "page": "shift_and_scale",
      "title": "Shift a matrix of draws to their weighted mean and scale the marginal variances to match the weighted marginal variances.",
      "topics": [
        "shift_and_scale"
      ]
    },
    {
      "page": "unconstrain_draws",
      "title": "Unconstrain all draws from a fitted model",
      "topics": [
        "unconstrain_draws"
      ]
    }
  ],
  "_pkglogo": "https://github.com/topipa/iwmm/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/topipa/iwmm/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "checkmate",
    "cli",
    "distributional",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "matrixStats",
    "numDeriv",
    "pillar",
    "pkgconfig",
    "posterior",
    "rlang",
    "tensorA",
    "tibble",
    "utf8",
    "vctrs"
  ],
  "_score": 2.9542425094393248,
  "_indexed": true,
  "_nocasepkg": "iwmm",
  "_universes": [
    "topipa"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-10-06T08:50:20.000Z",
      "distro": "resolute",
      "commit": "f0052215a2ce90fb8781ab8fc3cf1b956358703a",
      "fileid": "https://r2.ropensci.org/c131a6e6434c6c5ff08552e45d6c5d1e0297477864d5eb8a3fdb3fb8ec152917",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/topipa/actions/runs/37438138305"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-10-06T08:50:13.000Z",
      "distro": "resolute",
      "commit": "f0052215a2ce90fb8781ab8fc3cf1b956358703a",
      "fileid": "https://r2.ropensci.org/92d213f8cfe4815b567cdf7c82f50ecf0843e0dfe420270bcb095bd4f17bf234",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/topipa/actions/runs/37438138305"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-10-06T08:50:28.000Z",
      "commit": "f0052215a2ce90fb8781ab8fc3cf1b956358703a",
      "fileid": "https://r2.ropensci.org/aa7d62c07ab9e5824774bfd1ea77ada821357b993130931370f5f0f42bf4780b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/topipa/actions/runs/37438138305"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-10-06T08:50:18.000Z",
      "commit": "f0052215a2ce90fb8781ab8fc3cf1b956358703a",
      "fileid": "https://r2.ropensci.org/bb9d2a155bde62b0670acff666fbaad9ad41c6514595ca2f5e2988469f5e9813",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/topipa/actions/runs/37438138305"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.1",
      "date": "2026-10-06T08:50:16.000Z",
      "commit": "f0052215a2ce90fb8781ab8fc3cf1b956358703a",
      "fileid": "https://r2.ropensci.org/a22b04224e3a87b018831b29eab2398ffc0cba4844ee5f4cffa2ea7af6c80133",
      "status": "success",
      "buildurl": "https://github.com/r-universe/topipa/actions/runs/37438138305"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-10-06T08:49:26.000Z",
      "commit": "f0052215a2ce90fb8781ab8fc3cf1b956358703a",
      "fileid": "https://r2.ropensci.org/c4713c3a029ea751827fb9bd64bdb65d8d7820bd8731854e07376ff2a74b2379",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/topipa/actions/runs/37438138305"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-10-06T08:49:22.000Z",
      "commit": "f0052215a2ce90fb8781ab8fc3cf1b956358703a",
      "fileid": "https://r2.ropensci.org/f08c02f6e9bcb498c4c9c3c99b77680d2e2638e19bf2657abcf99948252de532",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/topipa/actions/runs/37438138305"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-10-06T08:49:47.000Z",
      "commit": "f0052215a2ce90fb8781ab8fc3cf1b956358703a",
      "fileid": "https://r2.ropensci.org/9056930db26f8e3059df86b53260577c0fd04847d537834802568c9dd2da6593",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/topipa/actions/runs/37438138305"
    }
  ]
}