{
  "_id": "6af31824b90b31e79afd235e",
  "Package": "miniLNM",
  "Title": "Miniature Logistic-Normal Multinomial Models",
  "Version": "0.1.1",
  "Authors@R": "person(\"Kris\", \"Sankaran\", , \"ksankaran@wisc.edu\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-9415-1971\"))",
  "Description": "Logistic-normal Multinomial (LNM) models are common in\nproblems with multivariate count data. This package gives a\nsimple implementation with a 30 line 'Stan' script. This\nlightweight implementation makes it an easy starting point for\nother projects, in particular for downstream tasks that require\nanalysis of \"compositional\" data. It can be applied whenever a\nmultinomial probability parameter is thought to depend linearly\non inputs in a transformed, log ratio space. Additional\nutilities make it easy to inspect, create predictions, and draw\nsamples using the fitted models. More about the LNM can be\nfound in Xia et al. (2013) \"A Logistic Normal Multinomial\nRegression Model for Microbiome Compositional Data Analysis\"\n<doi:10.1111/biom.12079> and Sankaran and Holmes (2023)\n\"Generative Models: An Interdisciplinary Perspective\"\n<doi:10.1146/annurev-statistics-033121-110134>.",
  "License": "CC0",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Biarch": "true",
  "SystemRequirements": "GNU make",
  "BugReports": "https://github.com/krisrs1128/miniLNM/issues/",
  "URL": "https://github.com/krisrs1128/miniLNM/,\nhttps://krisrs1128.github.io/miniLNM/",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "cmake make",
  "Repository": "https://krisrs1128.r-universe.dev",
  "Date/Publication": "2026-07-08 01:46:09 UTC",
  "RemoteUrl": "https://github.com/krisrs1128/minilnm",
  "RemoteRef": "HEAD",
  "RemoteSha": "3dc73f2727bfce490236a0759cda8f6ef358affd",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-10 12:27:13 UTC",
    "User": "root"
  },
  "Author": "Kris Sankaran [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-9415-1971>)",
  "Maintainer": "Kris Sankaran <ksankaran@wisc.edu>",
  "_user": "krisrs1128",
  "_type": "src",
  "_file": "miniLNM_0.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/bc0d9531fc8361bcd50fba1bd5fee3b38ca554d32b3efc3c529d437c33e556bc",
  "_filesize": 289084,
  "_sha256": "bc0d9531fc8361bcd50fba1bd5fee3b38ca554d32b3efc3c529d437c33e556bc",
  "_expires": "2027-02-18T13:12:02.000Z",
  "_created": "2026-11-10T12:27:13.000Z",
  "_published": "2026-11-10T13:12:04.604Z",
  "_upstream": "https://github.com/krisrs1128/minilnm",
  "_status": "success",
  "_maintainer": {
    "name": "Kris Sankaran",
    "email": "ksankaran@wisc.edu",
    "login": "krisrs1128",
    "description": "",
    "uuid": 2264333,
    "orcid": "0000-0002-9415-1971"
  },
  "_jobs": [
    {
      "job": 129829338734,
      "time": 236,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "13765915481"
    },
    {
      "job": 129829338792,
      "time": 226,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "13765600477"
    },
    {
      "job": 129829338741,
      "time": 195,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "13764841177"
    },
    {
      "job": 129829338697,
      "time": 210,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "13764870952"
    },
    {
      "job": 129829338956,
      "time": 276,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "13766876998"
    },
    {
      "job": 129829338790,
      "time": 627,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "13766808101"
    },
    {
      "job": 129829338876,
      "time": 226,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "13766647585"
    },
    {
      "job": 129829338717,
      "time": 529,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "13766527606"
    },
    {
      "job": 129826551648,
      "time": 343,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13765500185"
    },
    {
      "job": 129829338679,
      "time": 202,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13765205897"
    },
    {
      "job": 129829338791,
      "time": 430,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "13765891234"
    },
    {
      "job": 129829338964,
      "time": 245,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "13764796083"
    },
    {
      "job": 129829338740,
      "time": 287,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "13764556670"
    },
    {
      "job": 129829338979,
      "time": 495,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "13765686395"
    },
    {
      "job": 129829338799,
      "time": 212,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "13766055619"
    }
  ],
  "_buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/42815190110",
  "_commit": {
    "id": "3dc73f2727bfce490236a0759cda8f6ef358affd",
    "author": "Kris Sankaran <sankaran.kris@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #1 from krisrs1128/patch-rstan-error\n\nPatch rstan error",
    "time": 1783475169
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "BH",
      "version": ">= 1.66.0",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "version": ">= 0.3.3.3.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "LinkingTo"
    },
    {
      "package": "rstan",
      "version": ">= 2.18.1",
      "role": "LinkingTo"
    },
    {
      "package": "StanHeaders",
      "version": ">= 2.18.0",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "fansi",
      "role": "Imports"
    },
    {
      "package": "formula.tools",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "loo",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "posterior",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "version": ">= 2.18.1",
      "role": "Imports"
    },
    {
      "package": "rstantools",
      "version": ">= 2.4.0",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "krisrs1128",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-28",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "krisrs1128",
      "count": 69,
      "uuid": 2264333
    }
  ],
  "_userbio": {
    "uuid": 2264333,
    "type": "user",
    "name": "Kris Sankaran",
    "followers": 269
  },
  "_downloads": {
    "count": 328,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/miniLNM"
  },
  "_devurl": "https://github.com/krisrs1128/minilnm",
  "_pkgdown": "https://krisrs1128.github.io/miniLNM/",
  "_searchresults": 6,
  "_topics": [
    "onetbb",
    "cpp"
  ],
  "_abi": {
    "exports": [
      {
        "key": "miniLNM/include",
        "hash": "d32f595891b8ce82"
      },
      {
        "key": "miniLNM::lnm",
        "hash": "dade85316decf4a3"
      }
    ],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::char_get_string_elt()",
        "hash": "b8ef75689d832a84"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::getCurrentScope()",
        "hash": "ecf3f1d66612bd10"
      },
      {
        "key": "Rcpp::get_Rcpp_namespace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::setCurrentScope()",
        "hash": "f83997fd0e7a6719"
      },
      {
        "key": "RcppParallel/include",
        "hash": "5fe40ed919b8f2ee"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/miniLNM.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/krisrs1128/minilnm",
  "_realowner": "krisrs1128",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2024-09-13"
    },
    {
      "version": "0.1.2",
      "date": "2026-07-21"
    }
  ],
  "_exports": [
    "ansi_aware_handler",
    "beta_mean",
    "beta_samples",
    "lnm",
    "lnm_data",
    "phi_inverse",
    "predict",
    "prepare_newdata",
    "sample"
  ],
  "_help": [
    {
      "page": "ansi_aware_handler",
      "title": "Pretty Printing",
      "topics": [
        "ansi_aware_handler"
      ]
    },
    {
      "page": "beta_mean",
      "title": "LNM Posterior Mean",
      "topics": [
        "beta_mean"
      ]
    },
    {
      "page": "beta_samples",
      "title": "LNM Posterior Samples",
      "topics": [
        "beta_samples"
      ]
    },
    {
      "page": "lnm",
      "title": "Fit a logistic normal multinomial model using R's formula interface.",
      "topics": [
        "lnm"
      ]
    },
    {
      "page": "lnm_data",
      "title": "Simulates data from a Logistic Normal Multinomial Model.",
      "topics": [
        "lnm_data"
      ]
    },
    {
      "page": "lnm-class",
      "title": "S4 Class for a Logistic Normal Multinomial Model",
      "topics": [
        "lnm-class"
      ]
    },
    {
      "page": "phi_inverse",
      "title": "Inverse log ratio transformation",
      "topics": [
        "phi_inverse"
      ]
    },
    {
      "page": "predict-lnm-method",
      "title": "LNM Fitted Probabilities",
      "topics": [
        "predict,lnm-method"
      ]
    },
    {
      "page": "prepare_newdata",
      "title": "Design Matrix for a Model",
      "topics": [
        "prepare_newdata"
      ]
    },
    {
      "page": "sample-lnm-method",
      "title": "LNM Fitted Probabilities",
      "topics": [
        "sample,lnm-method"
      ]
    }
  ],
  "_readme": "https://github.com/krisrs1128/minilnm/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "BH",
    "callr",
    "checkmate",
    "cli",
    "cpp11",
    "desc",
    "distributional",
    "dplyr",
    "fansi",
    "farver",
    "formula.tools",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "inline",
    "isoband",
    "labeling",
    "lifecycle",
    "loo",
    "magrittr",
    "matrixStats",
    "numDeriv",
    "operator.tools",
    "otel",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "posterior",
    "processx",
    "ps",
    "QuickJSR",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "rlang",
    "rstan",
    "rstantools",
    "S7",
    "scales",
    "StanHeaders",
    "tensorA",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libtbb",
      "package": "libtbb12",
      "headers": "libtbb-dev",
      "source": "onetbb",
      "version": "2022.3.0-2",
      "name": "onetbb",
      "homepage": "https://uxlfoundation.github.io/oneTBB/",
      "description": "parallelism library for C++ - runtime files"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "demo.Rmd",
      "filename": "demo.html",
      "title": "Example on Simulated Data",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-12-16 22:05:15",
      "modified": "2024-09-07 22:53:54",
      "commits": 6
    }
  ],
  "_score": 4.176091259055681,
  "_indexed": true,
  "_nocasepkg": "minilnm",
  "_universes": [
    "krisrs1128"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-11-10T12:30:56.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/85d2654a8c54f07d375db9ff3015b600aa2f10ea79d8504d63a4ca6c7ec2e2e5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/42815190110"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-11-10T12:30:37.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/dc57b0d27e605622115cacfbd1cef12a5de629e5f780cea40124a222936ad30c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/42815190110"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-11-10T12:30:16.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/1673b9bc810d03c965f5b35965dcaf18761197c5867b06e746a35eb48e8c12aa",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/42815190110"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-11-10T12:30:46.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/35185f843c5a7b1f18dcd8bac464ef7eb9b35a9f3c5dd195fccad08c45a3b260",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/42815190110"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-11-10T13:04:21.000Z",
      "arch": "aarch64",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/3896e703f6ff2d1c1698ac71ecf4319afbd931aa396981730f3c8d388a80ec57",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/42815190110"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-11-10T13:06:42.000Z",
      "arch": "x86_64",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/a5fe8c356c917411f16ce05d16a9fd1d0c242f7ad35f6d86a59846cd071decd5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/42815190110"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-11-10T13:08:45.000Z",
      "arch": "aarch64",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/1fb66121669d2aac13fe72d1fc2439567a0c6af5294dcd2ba822ce7b900de8a0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/42815190110"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-11-10T13:06:35.000Z",
      "arch": "x86_64",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/e9c679079e472975489ec3ee956f5617fe12e2ed045ef3b71e4695044c292f4d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/42815190110"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-11-10T12:31:15.000Z",
      "arch": "emscripten",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/1a3427be5b0864b0453261fae10b7de7e6ca0c660e3cd0a3f0d92524e6311d30",
      "status": "success",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/42815190110"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-11-10T12:33:14.000Z",
      "arch": "aarch64",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/c735432524a706f7b160dbd5a106440a9f0da5e5fef0af539f5330ba0da292cc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/42815190110"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-11-10T12:29:49.000Z",
      "arch": "x86_64",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/75dd70803e81d3389ac83dbf8897e0e154e4635d9123346c11785826941fdff3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/42815190110"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-11-10T12:29:53.000Z",
      "arch": "x86_64",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/d42466a08f4317dc5cb9678201f6322ef4bfad973b78b8e922f55e4f985502a1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/42815190110"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-11-10T12:34:39.000Z",
      "arch": "aarch64",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/7239c0be24531cd6cb026c436b63a344683a9b59ec0a59b9fca4864a1238fd5a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/42815190110"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-11-10T12:29:51.000Z",
      "arch": "x86_64",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/a77b8eceef9b706b701fa8f6b027cfcc47ae80288dad03d0a540ebb9d61a1e96",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/42815190110"
    }
  ]
}