{
  "_id": "6acb79fbfe5cc25786e90975",
  "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-10-11 11:50:00 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/f125ddaa433f7c101af6fd49046557ceaca25d41ac71204c4165add113891092",
  "_filesize": 288809,
  "_sha256": "f125ddaa433f7c101af6fd49046557ceaca25d41ac71204c4165add113891092",
  "_expires": "2027-01-19T11:58:49.000Z",
  "_created": "2026-10-11T11:50:00.000Z",
  "_published": "2026-10-11T11:58:51.446Z",
  "_buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/38136746029",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114463035399,
      "time": 196,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11702005807"
    },
    {
      "job": 114463035394,
      "time": 262,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11701456278"
    },
    {
      "job": 114463035511,
      "time": 191,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11701611614"
    },
    {
      "job": 114463035454,
      "time": 255,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11702065801"
    },
    {
      "job": 114463035431,
      "time": 170,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11702000781"
    },
    {
      "job": 114463035784,
      "time": 427,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11701911437"
    },
    {
      "job": 114463035433,
      "time": 193,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11702135572"
    },
    {
      "job": 114463035436,
      "time": 423,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11701786651"
    },
    {
      "job": 114462119110,
      "time": 306,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11701181542"
    },
    {
      "job": 114463035348,
      "time": 191,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11702140510"
    },
    {
      "job": 114463035520,
      "time": 329,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11702305128"
    },
    {
      "job": 114463035417,
      "time": 327,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11702245533"
    },
    {
      "job": 114463035461,
      "time": 264,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11701851260"
    },
    {
      "job": 114463035415,
      "time": 300,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11702130802"
    },
    {
      "job": 114463035442,
      "time": 235,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11701527012"
    }
  ],
  "_upstream": "https://github.com/krisrs1128/minilnm",
  "_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
  },
  "_maintainer": {
    "name": "Kris Sankaran",
    "email": "ksankaran@wisc.edu",
    "login": "krisrs1128",
    "description": "",
    "uuid": 2264333,
    "orcid": "0000-0002-9415-1971"
  },
  "_distro": "resolute",
  "_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": 270
  },
  "_downloads": {
    "count": 331,
    "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"
  ],
  "_rbuild": "4.6.1",
  "_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-10-11T11:52:50.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/5f1a02d87fcf6e3b78e84c8e7b8c67175100f58675a130b7cc3dd821de9106ae",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/38136746029"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-11T11:53:38.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/e059bd1351efe33109db33c969c542f9a220dd5dc138f59eae4c0dc9f7021c01",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/38136746029"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-11T11:52:55.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/bdca636c268582ad9716086efdff310895945236658725eb1ba54aa7147d23ae",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/38136746029"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-11T11:53:24.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/ad7704eb1f70b56da4bbb7afd17e12cd213d82168617dd7d0f6f3342a49ac6dd",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/38136746029"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-11T11:52:30.000Z",
      "arch": "aarch64",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/4141215d89d966e16e559531e1f1740908fe2b8a2caf1d33c35699540dcddffe",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/38136746029"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-11T11:55:15.000Z",
      "arch": "x86_64",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/0d94c1c07b2db399dcab80d52084f6c5ceae900d22dfaf73df0ffa0b68db2df3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/38136746029"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-11T11:52:43.000Z",
      "arch": "aarch64",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/43425c3e8c389b490a628cc05eb29e050e35e99044abd34de89b45fead1e66df",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/38136746029"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-11T11:54:40.000Z",
      "arch": "x86_64",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/7bba05fd0e3a734d97fac5292cfe754758fa8c7729f0ec3f38aae72f91b37c4e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/38136746029"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-10-11T11:53:32.000Z",
      "arch": "emscripten",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/3fe8a55c9a9932c2fe89504478b7410487c2fe78ddc81c7b986639cc815a2b7b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/38136746029"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-11T11:54:42.000Z",
      "arch": "aarch64",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/dd43cc500846804dfc0dab0e9ecd145d96a04f41ddf66b2aa90b7a377dbd92c4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/38136746029"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-11T11:53:34.000Z",
      "arch": "x86_64",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/c07f4d4986c8cd2e0c533f7580ed104425ae36513f6065ecf7824dd356326532",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/38136746029"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-11T11:52:44.000Z",
      "arch": "x86_64",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/f0beb358204a3fe3559a69f43e8418ea9f434243c85de32f3d832e39a0495046",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/38136746029"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-11T11:54:16.000Z",
      "arch": "aarch64",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/1b055d04002f28887631de3c9effa5f9f28d3bbb6ac8da6226eefc17b15b8d47",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/38136746029"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-11T11:52:21.000Z",
      "arch": "x86_64",
      "commit": "3dc73f2727bfce490236a0759cda8f6ef358affd",
      "fileid": "https://r2.ropensci.org/b7a8d7e02bda68a3ba56c3e5250919e438b0a8668aad5603abeaf6b0330c51fc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/38136746029"
    }
  ]
}