{
  "_id": "6a253f6d4b233be1983999a3",
  "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-06-07 09:47:54 UTC",
    "User": "root"
  },
  "Author": "Topi Paananen [cre, aut],\nNoa Kallioinen [ctb]",
  "Maintainer": "Topi Paananen <work@topipaananen.fi>",
  "MD5sum": "7fe18f20d8b25f2aa39473091dd5c850",
  "_user": "topipa",
  "_type": "src",
  "_file": "iwmm_0.0.1.tar.gz",
  "_fileid": "6d38c4ecf031c3c50bcb46d9804289a71c95a325c45d67a2b64d990d2836849d",
  "_filesize": 424358,
  "_sha256": "6d38c4ecf031c3c50bcb46d9804289a71c95a325c45d67a2b64d990d2836849d",
  "_created": "2026-06-07T09:47:54.000Z",
  "_published": "2026-06-07T09:52:45.576Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79949084281,
      "time": 235,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7462990031"
    },
    {
      "job": 79949084282,
      "time": 205,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7462986731"
    },
    {
      "job": 79949084286,
      "time": 172,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7462983060"
    },
    {
      "job": 79949084306,
      "time": 161,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7462981749"
    },
    {
      "job": 79948877985,
      "time": 201,
      "config": "source",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7462963197"
    },
    {
      "job": 79949084293,
      "time": 141,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462979456"
    },
    {
      "job": 79949084304,
      "time": 255,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7462992361"
    },
    {
      "job": 79949084313,
      "time": 244,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7462991582"
    },
    {
      "job": 79949084316,
      "time": 208,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7462987924"
    }
  ],
  "_buildurl": "https://github.com/r-universe/topipa/actions/runs/27088984879",
  "_status": "failure",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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": 8,
  "_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"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/iwmm"
  },
  "_devurl": "https://github.com/topipa/iwmm",
  "_searchresults": 4,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/iwmm.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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.9030899869919433,
  "_indexed": true,
  "_nocasepkg": "iwmm",
  "_universes": [
    "topipa"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-06-07T09:50:33.000Z",
      "distro": "noble",
      "commit": "f0052215a2ce90fb8781ab8fc3cf1b956358703a",
      "fileid": "851f170dc26ce91b9a02a218246fbf3bb89436df1ab66e76021d125d88f14be2",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/topipa/actions/runs/27088984879"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-06-07T09:50:21.000Z",
      "distro": "noble",
      "commit": "f0052215a2ce90fb8781ab8fc3cf1b956358703a",
      "fileid": "995b88037a50ff195dd893c9a67b3ebf02435ba0a884e75861cbcdc61cbe20d1",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/topipa/actions/runs/27088984879"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-06-07T09:50:09.000Z",
      "commit": "f0052215a2ce90fb8781ab8fc3cf1b956358703a",
      "fileid": "18ba055dd86fcae62925266eec12eb45db49fcfd8f3949a04e03c2f9c1941732",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/topipa/actions/runs/27088984879"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-06-07T09:49:56.000Z",
      "commit": "f0052215a2ce90fb8781ab8fc3cf1b956358703a",
      "fileid": "4720f3a1e01d767eef85b90b0863721eab23f4d51b9fad834d4fae7213da9454",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/topipa/actions/runs/27088984879"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.1",
      "date": "2026-06-07T09:50:37.000Z",
      "commit": "f0052215a2ce90fb8781ab8fc3cf1b956358703a",
      "fileid": "7e75b66b343fbdfb0b1e509801e1b787caf4870a581f994db4c57d2ae1b6e355",
      "status": "success",
      "buildurl": "https://github.com/r-universe/topipa/actions/runs/27088984879"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-06-07T09:49:39.000Z",
      "commit": "f0052215a2ce90fb8781ab8fc3cf1b956358703a",
      "fileid": "89435879067afb3a9cc8b057b9112a6581c95755d41787ae7cf5bde39557f634",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/topipa/actions/runs/27088984879"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-06-07T09:49:56.000Z",
      "commit": "f0052215a2ce90fb8781ab8fc3cf1b956358703a",
      "fileid": "512926c1f23bab81c83f53c94ec49945d16bff621a427902f6dd6e041af902ea",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/topipa/actions/runs/27088984879"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-06-07T09:49:41.000Z",
      "commit": "f0052215a2ce90fb8781ab8fc3cf1b956358703a",
      "fileid": "fd8238a38a9d402c3206b35606d1044bf6b4d0767ac3535d5e628ed3f367d3fc",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/topipa/actions/runs/27088984879"
    }
  ]
}