{
  "_id": "6a3bb9ab5cdecea1d682f28a",
  "Type": "Package",
  "Package": "INLAtools",
  "Title": "Functionalities for the 'INLA' Package",
  "Version": "0.1.4.901",
  "Authors@R": "c(\nperson(\"Elias\", \"Teixeira Krainski\", , \"elias.krainski@kaust.edu.sa\", role = c(\"cre\", \"aut\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-7063-2615\")),\nperson(\"Finn\", \"Lindgren\", , \"finn.lindgren@gmail.com\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-5833-2011\")),\nperson(\"Haavard\", \"Rue’\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-0222-1881\"))\n)",
  "Maintainer": "Elias Teixeira Krainski <elias.krainski@kaust.edu.sa>",
  "Description": "Contain code to work with a C struct, in short cgeneric,\nto define a Gaussian Markov random (GMRF) model.  The cgeneric\ncontain code to specify GMRF elements such as the graph and the\nprecision matrix, and also the initial and prior for its\nparameters, useful for model inference.  It can be accessed\nfrom a C program and is the recommended way to implement new\nGMRF models in the 'INLA' package (<https://www.r-inla.org>).\nThe 'INLAtools' implement functions to evaluate each one of the\nmodel specifications from R.  The implemented functionalities\nleverage the use of 'cgeneric' models and provide a way to\ndebug the code as well to work with the prior for the model\nparameters and to sample from it.  The `generic0` can be used\nto implement intrinsic models with the scaling as proposed in\nSørbye & Rue (2014) <doi:10.1016/j.spasta.2013.06.004>, and the\nrequired constraints.  A very useful functionality is the\nKronecker product method that creates a new model from multiple\ncgeneric models.  It also works with the rgeneric, the R\nversion of the cgeneric intended to easy try implementation of\nnew GMRF models.  The Kronecker between two cgeneric models\nwhere each one needs a constraint, such as spatio-temporal\nintrinsic interaction models, the needed constraints are\nautomatically set.",
  "License": "GPL (>=2)",
  "URL": "https://github.com/eliaskrainski/INLAtools",
  "BugReports": "https://github.com/eliaskrainski/INLAtools/issues",
  "Encoding": "UTF-8",
  "NeedsCompilation": "yes",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://eliaskrainski.r-universe.dev",
  "Date/Publication": "2026-06-04 06:30:29 UTC",
  "RemoteUrl": "https://github.com/eliaskrainski/INLAtools",
  "RemoteRef": "HEAD",
  "RemoteSha": "20f061b2c55a4b412236138422d1ea9863c3745b",
  "Packaged": {
    "Date": "2026-06-24 10:58:58 UTC",
    "User": "root"
  },
  "Author": "Elias Teixeira Krainski [cre, aut, cph] (ORCID:\n<https://orcid.org/0000-0002-7063-2615>),\nFinn Lindgren [aut] (ORCID: <https://orcid.org/0000-0002-5833-2011>),\nHaavard Rue’ [aut] (ORCID: <https://orcid.org/0000-0002-0222-1881>)",
  "MD5sum": "f9e0f7032477fc8d5131c24e876edfcd",
  "_user": "eliaskrainski",
  "_type": "src",
  "_file": "INLAtools_0.1.4.901.tar.gz",
  "_fileid": "1dce00302f91e964a353825cb8e3fc12eb7454a0d68d30b8e02ee322cd2ffdac",
  "_filesize": 474826,
  "_sha256": "1dce00302f91e964a353825cb8e3fc12eb7454a0d68d30b8e02ee322cd2ffdac",
  "_created": "2026-06-24T10:58:58.000Z",
  "_published": "2026-06-24T11:04:11.307Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 83177760626,
      "time": 142,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7847548729"
    },
    {
      "job": 83177760610,
      "time": 129,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7847542463"
    },
    {
      "job": 83177760649,
      "time": 134,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7847545579"
    },
    {
      "job": 83177760680,
      "time": 123,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7847539947"
    },
    {
      "job": 83177760591,
      "time": 109,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7847540650"
    },
    {
      "job": 83177760583,
      "time": 218,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7847597119"
    },
    {
      "job": 83177760572,
      "time": 98,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7847541637"
    },
    {
      "job": 83177760592,
      "time": 235,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7847585237"
    },
    {
      "job": 83177340065,
      "time": 145,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7847495833"
    },
    {
      "job": 83177760498,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7847529226"
    },
    {
      "job": 83177760547,
      "time": 99,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7847531042"
    },
    {
      "job": 83177760613,
      "time": 129,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7847542281"
    },
    {
      "job": 83177760537,
      "time": 109,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7847534265"
    }
  ],
  "_buildurl": "https://github.com/r-universe/eliaskrainski/actions/runs/28093564128",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/eliaskrainski/INLAtools",
  "_commit": {
    "id": "20f061b2c55a4b412236138422d1ea9863c3745b",
    "author": "Elias T Krainski <eliaskrainski@gmail.com>",
    "committer": "Elias T Krainski <eliaskrainski@gmail.com>",
    "message": "minor\n",
    "time": 1780554629
  },
  "_maintainer": {
    "name": "Elias Teixeira Krainski",
    "email": "elias.krainski@kaust.edu.sa",
    "login": "eliaskrainski",
    "description": "PhD in Mathematical Sciences, NTNU - Trondheim - Norway",
    "uuid": 3436870,
    "orcid": "0000-0002-7063-2615"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.3",
      "role": "Depends"
    },
    {
      "package": "Matrix",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    }
  ],
  "_owner": "eliaskrainski",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-26",
      "n": 6
    },
    {
      "week": "2025-27",
      "n": 3
    },
    {
      "week": "2025-30",
      "n": 1
    },
    {
      "week": "2025-34",
      "n": 6
    },
    {
      "week": "2025-43",
      "n": 5
    },
    {
      "week": "2025-44",
      "n": 7
    },
    {
      "week": "2025-46",
      "n": 7
    },
    {
      "week": "2025-47",
      "n": 8
    },
    {
      "week": "2025-51",
      "n": 8
    },
    {
      "week": "2026-02",
      "n": 4
    },
    {
      "week": "2026-03",
      "n": 2
    },
    {
      "week": "2026-05",
      "n": 4
    },
    {
      "week": "2026-06",
      "n": 2
    },
    {
      "week": "2026-07",
      "n": 1
    },
    {
      "week": "2026-12",
      "n": 3
    },
    {
      "week": "2026-13",
      "n": 1
    },
    {
      "week": "2026-14",
      "n": 10
    },
    {
      "week": "2026-15",
      "n": 27
    },
    {
      "week": "2026-16",
      "n": 3
    },
    {
      "week": "2026-17",
      "n": 2
    },
    {
      "week": "2026-18",
      "n": 6
    },
    {
      "week": "2026-19",
      "n": 8
    },
    {
      "week": "2026-23",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "eliaskrainski",
      "count": 161,
      "uuid": 3436870
    },
    {
      "user": "finnlindgren",
      "count": 5,
      "uuid": 7162803
    }
  ],
  "_userbio": {
    "uuid": 3436870,
    "type": "user",
    "name": "Elias T Krainski",
    "followers": 51,
    "description": "PhD in Mathematical Sciences, NTNU - Trondheim - Norway"
  },
  "_downloads": {
    "count": 2701,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/INLAtools"
  },
  "_devurl": "https://github.com/eliaskrainski/inlatools",
  "_searchresults": 85,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/INLAtools.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/eliaskrainski/inlatools",
  "_realowner": "eliaskrainski",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2025-06-02"
    },
    {
      "version": "0.0.2",
      "date": "2025-06-04"
    },
    {
      "version": "0.0.3",
      "date": "2025-06-16"
    },
    {
      "version": "0.0.4",
      "date": "2025-06-23"
    },
    {
      "version": "0.0.5",
      "date": "2025-11-20"
    },
    {
      "version": "0.0.6",
      "date": "2025-12-19"
    },
    {
      "version": "0.0.7",
      "date": "2026-01-14"
    },
    {
      "version": "0.0.8",
      "date": "2026-02-02"
    },
    {
      "version": "0.0.9",
      "date": "2026-02-16"
    },
    {
      "version": "0.1.0",
      "date": "2026-03-29"
    },
    {
      "version": "0.1.1",
      "date": "2026-04-03"
    },
    {
      "version": "0.1.2",
      "date": "2026-04-08"
    },
    {
      "version": "0.1.3",
      "date": "2026-04-22"
    },
    {
      "version": "0.1.4",
      "date": "2026-05-04"
    }
  ],
  "_exports": [
    "cgeneric",
    "cgeneric_generic0",
    "cgeneric_graph",
    "cgeneric_iid",
    "cgeneric_initial",
    "cgeneric_mu",
    "cgeneric_prior",
    "cgeneric_Q",
    "cgeneric_shlib_path",
    "cgenericBuilder",
    "findGetFunction",
    "inlaQ",
    "is.zero",
    "multi_generic_model",
    "packageCheck",
    "pclrange",
    "pcParamCheck",
    "pcrange",
    "rgeneric",
    "rgeneric_graph",
    "rgeneric_initial",
    "rgeneric_mu",
    "rgeneric_prior",
    "rgeneric_Q",
    "Sparse",
    "upperPadding"
  ],
  "_help": [
    {
      "page": "cgeneric_generic0",
      "title": "Build a 'cgeneric' object for a 'generic0' model.",
      "topics": [
        "cgeneric_generic0",
        "cgeneric_iid"
      ]
    },
    {
      "page": "cgeneric_get",
      "title": "'cgeneric_get' is an internal function used to query 'graph', 'Q', 'initial', 'mu' or 'log_prior' from a 'cgeneric' model.",
      "topics": [
        "cgeneric_get",
        "cgeneric_graph",
        "cgeneric_initial",
        "cgeneric_mu",
        "cgeneric_prior",
        "cgeneric_Q"
      ]
    },
    {
      "page": "cgeneric-class",
      "title": "Organize data for the latent GMRF C interface for 'INLA'.",
      "topics": [
        "cgeneric",
        "cgeneric-class",
        "cgeneric.cgeneric",
        "cgeneric.character",
        "cgeneric.function",
        "cgeneric.inla.cgeneric",
        "cgenericBuilder",
        "cgeneric_shlib_path",
        "mapper1",
        "plot.cgeneric",
        "print.cgeneric",
        "summary.cgeneric"
      ]
    },
    {
      "page": "extraconstr",
      "title": "Kronecker (product) between 'extraconstr', implemented for 'kronecker()' methods.",
      "topics": [
        "extraconstr",
        "kronecker_extraconstr"
      ]
    },
    {
      "page": "findGetFunction",
      "title": "Search a function and retrieve it.",
      "topics": [
        "findGetFunction"
      ]
    },
    {
      "page": "inlaQ",
      "title": "Define the method to extract the precision from an inla output object.",
      "topics": [
        "inlaQ"
      ]
    },
    {
      "page": "is.zero",
      "title": "Define the is.zero method",
      "topics": [
        "is.zero",
        "is.zero.default",
        "is.zero.Matrix",
        "is.zero.matrix"
      ]
    },
    {
      "page": "kronecker",
      "title": "Kronecker between 'cgeneric'|'rgeneric' to implement interaction between GMRF models.",
      "topics": [
        "kronecker",
        "kronecker,cgeneric,cgeneric-method",
        "kronecker,cgeneric,rgeneric-method",
        "kronecker,rgeneric,cgeneric-method",
        "kronecker,rgeneric,rgeneric-method"
      ]
    },
    {
      "page": "multi_generic_model",
      "title": "Combine two or more 'cgeneric' or 'rgeneric' models",
      "topics": [
        "multi_generic_model",
        "multi_generic_model_mapper"
      ]
    },
    {
      "page": "packageCheck",
      "title": "To check package version and load",
      "topics": [
        "packageCheck"
      ]
    },
    {
      "page": "pc-utils",
      "title": "Internal functions to check PC-prior parameters.",
      "topics": [
        "pc-utils",
        "pclrange",
        "pcParamCheck",
        "pcrange"
      ]
    },
    {
      "page": "rgeneric_get",
      "title": "'rgeneric_get' is an internal function used to query 'graph', 'Q', 'initial', 'mu' or 'prior' from a 'rgeneric'.",
      "topics": [
        "rgeneric_get",
        "rgeneric_graph",
        "rgeneric_initial",
        "rgeneric_mu",
        "rgeneric_prior",
        "rgeneric_Q"
      ]
    },
    {
      "page": "rgeneric-class",
      "title": "Organize data for the latent GMRF R interface for 'INLA'.",
      "topics": [
        "plot.rgeneric",
        "print.rgeneric",
        "rgeneric",
        "rgeneric-class",
        "rgeneric.default",
        "rgeneric.inla.rgeneric",
        "rgeneric.rgeneric",
        "summary.rgeneric"
      ]
    },
    {
      "page": "Sparse",
      "title": "To store in i,j,x sparse matrix format",
      "topics": [
        "Sparse"
      ]
    },
    {
      "page": "upperPadding",
      "title": "Padding (a list of) sparse matrices.",
      "topics": [
        "upperPadding"
      ]
    }
  ],
  "_readme": "https://github.com/eliaskrainski/INLAtools/raw/HEAD/README.md",
  "_rundeps": [
    "lattice",
    "Matrix"
  ],
  "_score": 5.898762604975017,
  "_indexed": true,
  "_nocasepkg": "inlatools",
  "_universes": [
    "eliaskrainski"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.4.901",
      "date": "2026-06-24T11:01:18.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "20f061b2c55a4b412236138422d1ea9863c3745b",
      "fileid": "c36ff6c6e75fed02a0b005b91165dcbb91d9bb7b08b15ae1538903f058e0101f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eliaskrainski/actions/runs/28093564128"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.4.901",
      "date": "2026-06-24T11:00:54.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "20f061b2c55a4b412236138422d1ea9863c3745b",
      "fileid": "7cab2a37cf5c50dad88573f75c31afa99e716595dade9103454bf630e46aa52b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eliaskrainski/actions/runs/28093564128"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.4.901",
      "date": "2026-06-24T11:01:11.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "20f061b2c55a4b412236138422d1ea9863c3745b",
      "fileid": "9e3329d64a8ee7ba3f11d957cf2043384d34130b41ddb033fa08b0fcc55a8c41",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eliaskrainski/actions/runs/28093564128"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.4.901",
      "date": "2026-06-24T11:00:49.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "20f061b2c55a4b412236138422d1ea9863c3745b",
      "fileid": "0d8d92c4c1134565e3f8207ea48af15bd3c494220c1cfdd01c1da5e1987b45e7",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eliaskrainski/actions/runs/28093564128"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.4.901",
      "date": "2026-06-24T11:00:51.000Z",
      "arch": "aarch64",
      "commit": "20f061b2c55a4b412236138422d1ea9863c3745b",
      "fileid": "14323e2e6ab0e73dc7562d475682f8fb1ab01398956a10a2aa0b8850c02f96e7",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eliaskrainski/actions/runs/28093564128"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.4.901",
      "date": "2026-06-24T11:02:59.000Z",
      "arch": "x86_64",
      "commit": "20f061b2c55a4b412236138422d1ea9863c3745b",
      "fileid": "8a2b52242d54554e515b9ef1ec37b0a47d1c2fdaf30c0899607b79562c0f1e21",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eliaskrainski/actions/runs/28093564128"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.4.901",
      "date": "2026-06-24T11:01:01.000Z",
      "arch": "aarch64",
      "commit": "20f061b2c55a4b412236138422d1ea9863c3745b",
      "fileid": "92cbfcfd65b5c13e408c5d1aa12a4d5476e3f64431f1b3127dfcc700ce1a5271",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eliaskrainski/actions/runs/28093564128"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.4.901",
      "date": "2026-06-24T11:02:32.000Z",
      "arch": "x86_64",
      "commit": "20f061b2c55a4b412236138422d1ea9863c3745b",
      "fileid": "18e9a971c1f59ac25be70c7ea25081ed1f625b3670b38f230c54652fee8bcbb8",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eliaskrainski/actions/runs/28093564128"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.4.901",
      "date": "2026-06-24T11:00:50.000Z",
      "arch": "emscripten",
      "commit": "20f061b2c55a4b412236138422d1ea9863c3745b",
      "fileid": "d7416f7146ded8136a3782c4df5f7dd0cdc44d08d00cb1a18595830e83771b35",
      "status": "success",
      "buildurl": "https://github.com/r-universe/eliaskrainski/actions/runs/28093564128"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.4.901",
      "date": "2026-06-24T11:00:12.000Z",
      "arch": "x86_64",
      "commit": "20f061b2c55a4b412236138422d1ea9863c3745b",
      "fileid": "f20ed3433e55f6edbc7db83d441f4557eef344240b254148f05e11047bbfe7f5",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eliaskrainski/actions/runs/28093564128"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.4.901",
      "date": "2026-06-24T11:00:27.000Z",
      "arch": "x86_64",
      "commit": "20f061b2c55a4b412236138422d1ea9863c3745b",
      "fileid": "c9c0938d54147ab57743ad862b7e6a844f490bf6a9b844c3e9b200058a8316d0",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eliaskrainski/actions/runs/28093564128"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.4.901",
      "date": "2026-06-24T11:00:05.000Z",
      "arch": "x86_64",
      "commit": "20f061b2c55a4b412236138422d1ea9863c3745b",
      "fileid": "05edddefc4677b0a25a710daee413bd5cb664dc3baa938579921a795b5de70c3",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eliaskrainski/actions/runs/28093564128"
    }
  ]
}