{
  "_id": "6a1ae3891d7bb097a09ef0de",
  "Package": "nimbleMacros",
  "Version": "0.1.1.9002",
  "Date": "2026-04-30",
  "Title": "Macros Generating 'nimble' Code",
  "Authors@R": "c(person(\"Ken\", \"Kellner\", email=\"contact@kenkellner.com\", \nrole=c(\"cre\",\"aut\")),\nperson(\"Perry\", \"de Valpine\", role = \"aut\"),\nperson(\"Christopher\", \"Paciorek\", role = \"aut\"),\nperson(\"Daniel\", \"Turek\", role = \"aut\"))",
  "Description": "Macros to generate 'nimble' code from a concise syntax.\nIncluded are macros for generating linear modeling code using a\nformula-based syntax and for building for() loops. For more\ndetails review the 'nimble' manual:\n<https://r-nimble.org/html_manual/cha-writing-models.html#subsec:macros>.",
  "License": "BSD_3_clause + file LICENSE | GPL (>= 2)",
  "NeedsCompilation": "no",
  "URL": "https://r-nimble.org",
  "BugReports": "https://github.com/nimble-dev/nimbleMacros/issues",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "libglpk-dev libxml2-dev",
  "Repository": "https://nimble-dev.r-universe.dev",
  "Date/Publication": "2026-04-30 16:26:34 UTC",
  "RemoteUrl": "https://github.com/nimble-dev/nimblemacros",
  "RemoteRef": "HEAD",
  "RemoteSha": "2cbdbced391b12b455f1787485face77e578ca78",
  "Packaged": {
    "Date": "2026-05-30 09:35:06 UTC",
    "User": "root"
  },
  "Author": "Ken Kellner [cre, aut],\nPerry de Valpine [aut],\nChristopher Paciorek [aut],\nDaniel Turek [aut]",
  "Maintainer": "Ken Kellner <contact@kenkellner.com>",
  "MD5sum": "122acb70ca40281310c1bb7d84461c4e",
  "_user": "nimble-dev",
  "_type": "src",
  "_file": "nimbleMacros_0.1.1.9002.tar.gz",
  "_fileid": "bdbf3dc704c5a787cc0f8024522fef60165195b1e03585f94738b51d41e0cffa",
  "_filesize": 192278,
  "_sha256": "bdbf3dc704c5a787cc0f8024522fef60165195b1e03585f94738b51d41e0cffa",
  "_created": "2026-05-30T09:35:06.000Z",
  "_published": "2026-05-30T13:18:01.078Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78640001450,
      "time": 142,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7307305133"
    },
    {
      "job": 78640001449,
      "time": 144,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7307304560"
    },
    {
      "job": 78640001463,
      "time": 97,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7308455775"
    },
    {
      "job": 78640001457,
      "time": 126,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7308457423"
    },
    {
      "job": 78639415963,
      "time": 187,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7307217383"
    },
    {
      "job": 78640001454,
      "time": 116,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7307301749"
    },
    {
      "job": 78640001456,
      "time": 138,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7307304712"
    },
    {
      "job": 78640001455,
      "time": 89,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7307299848"
    },
    {
      "job": 78640001477,
      "time": 100,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7307300918"
    }
  ],
  "_buildurl": "https://github.com/r-universe/nimble-dev/actions/runs/26676049813",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/nimble-dev/nimblemacros",
  "_commit": {
    "id": "2cbdbced391b12b455f1787485face77e578ca78",
    "author": "Ken Kellner <kenkellner@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Add function `simplifyForLoops` to collapse for loops that share the same index ranges (#40)\n\nAdd function to simplify for loops in NIMBLE code",
    "time": 1777566394
  },
  "_maintainer": {
    "name": "Ken Kellner",
    "email": "contact@kenkellner.com",
    "login": "kenkellner",
    "description": "",
    "uuid": 6852955
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "nimble",
      "role": "Depends"
    },
    {
      "package": "reformulas",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "markdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "nimble-dev",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-26",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "kenkellner",
      "count": 151,
      "uuid": 6852955
    },
    {
      "user": "paciorek",
      "count": 1,
      "uuid": 2501598
    }
  ],
  "_userbio": {
    "uuid": 7871767,
    "type": "organization",
    "name": "nimble-dev"
  },
  "_downloads": {
    "count": 139,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/nimbleMacros"
  },
  "_devurl": "https://github.com/nimble-dev/nimblemacros",
  "_searchresults": 8,
  "_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/nimbleMacros.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/nimble-dev/nimblemacros",
  "_realowner": "nimble-dev",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2025-03-11"
    }
  ],
  "_exports": [
    "FORLOOP",
    "LINPRED",
    "LINPRED_PRIORS",
    "LM",
    "matchPrior",
    "setPriors",
    "simplifyForLoops",
    "uppertri_mult_diag"
  ],
  "_help": [
    {
      "page": "FORLOOP",
      "title": "Macro to build for loop(s) from code with index ranges in brackets",
      "topics": [
        "FORLOOP"
      ]
    },
    {
      "page": "LINPRED",
      "title": "Macro to build code for linear predictor from R formula",
      "topics": [
        "LINPRED"
      ]
    },
    {
      "page": "LINPRED_PRIORS",
      "title": "Macro to build code for priors on a linear predictor from an R formula",
      "topics": [
        "LINPRED_PRIORS"
      ]
    },
    {
      "page": "LM",
      "title": "Macro for fitting linear models, GLMs, and GLMMs",
      "topics": [
        "LM"
      ]
    },
    {
      "page": "matchPrior",
      "title": "Match a prior from a list of prior settings",
      "topics": [
        "matchPrior"
      ]
    },
    {
      "page": "setPriors",
      "title": "Set up prior values for different categories of nodes",
      "topics": [
        "setPriors"
      ]
    },
    {
      "page": "simplifyForLoops",
      "title": "Simplify for loop structure in NIMBLE model code",
      "topics": [
        "simplifyForLoops"
      ]
    },
    {
      "page": "uppertri_mult_diag",
      "title": "uppertri_mult_diag",
      "topics": [
        "uppertri_mult_diag"
      ]
    }
  ],
  "_readme": "https://github.com/nimble-dev/nimblemacros/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "coda",
    "cpp11",
    "glue",
    "igraph",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "nimble",
    "numDeriv",
    "pkgconfig",
    "pracma",
    "R6",
    "rbibutils",
    "Rdpack",
    "reformulas",
    "rlang",
    "vctrs"
  ],
  "_vignettes": [
    {
      "source": "nimbleMacros.Rmd",
      "filename": "nimbleMacros.html",
      "title": "Overview of nimbleMacros",
      "author": "Ken Kellner",
      "engine": "knitr::knitr",
      "headings": [
        "Introduction",
        "LM: A macro for complete linear models",
        "Example logistic regression with mtcars",
        "Example linear mixed model using ChickWeights",
        "LINPRED",
        "Generate a linear predictor from a formula",
        "Factor/categorical covariates",
        "Add a link function",
        "Functions in formulas",
        "Get default priors",
        "Suppress the macro comments",
        "Random effects",
        "Include LINPRED in a complete model",
        "LINPRED_PRIORS",
        "FORLOOP",
        "Writing Your Own Macros",
        "Manually creating the macro",
        "Using buildMacro to create the macro"
      ],
      "created": "2024-08-08 17:41:53",
      "modified": "2025-03-05 17:11:19",
      "commits": 15
    }
  ],
  "_score": 4,
  "_indexed": true,
  "_nocasepkg": "nimblemacros",
  "_universes": [
    "nimble-dev",
    "kenkellner"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1.9002",
      "date": "2026-05-30T09:49:18.000Z",
      "distro": "noble",
      "commit": "2cbdbced391b12b455f1787485face77e578ca78",
      "fileid": "6e0f8916ea4a6c5c4c2d2e857a25d0b42ea394cb6b1bcf847b37dbcd9cae34b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nimble-dev/actions/runs/26676049813"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1.9002",
      "date": "2026-05-30T09:49:12.000Z",
      "distro": "noble",
      "commit": "2cbdbced391b12b455f1787485face77e578ca78",
      "fileid": "b82e92488525aca46456a409307dbee878966143b66ca347b03b6ddfd2b9bd85",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nimble-dev/actions/runs/26676049813"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1.9002",
      "date": "2026-05-30T13:17:03.000Z",
      "commit": "2cbdbced391b12b455f1787485face77e578ca78",
      "fileid": "4ce066abed9d58998180f7a35eb245d6c1fb2048c981dfcba2f7983f1dee7612",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nimble-dev/actions/runs/26676049813"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1.9002",
      "date": "2026-05-30T13:17:12.000Z",
      "commit": "2cbdbced391b12b455f1787485face77e578ca78",
      "fileid": "9be4a8223324d21d85f97435db25741223bcbfce851c876b831f97edd5e42a70",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nimble-dev/actions/runs/26676049813"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1.9002",
      "date": "2026-05-30T09:49:21.000Z",
      "commit": "2cbdbced391b12b455f1787485face77e578ca78",
      "fileid": "d1542dc97fad08e48eb093cfb6c7f7bbf99f0111d9101a2077bfad8d4865ce17",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nimble-dev/actions/runs/26676049813"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1.9002",
      "date": "2026-05-30T09:49:06.000Z",
      "commit": "2cbdbced391b12b455f1787485face77e578ca78",
      "fileid": "1d0ab009b3119fd8bdb7e68173250e4a35e8fbadb2254602900c816681313abc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nimble-dev/actions/runs/26676049813"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1.9002",
      "date": "2026-05-30T09:48:22.000Z",
      "commit": "2cbdbced391b12b455f1787485face77e578ca78",
      "fileid": "9bd3594a66c69ecd7752e261f38ecf8368c4217ea58bd81a4a20d77a3c1dec37",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nimble-dev/actions/runs/26676049813"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.1.9002",
      "date": "2026-05-30T09:48:27.000Z",
      "commit": "2cbdbced391b12b455f1787485face77e578ca78",
      "fileid": "1a07328210a460bb23d1fabbeccdfca36c93487328b7d13ee929d2b0ca3f6307",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nimble-dev/actions/runs/26676049813"
    }
  ]
}