{
  "_id": "6a216098cd65a98ecbd30ac5",
  "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-04 11:11:59 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": "ab211e0c298dd8fda7b6d9008342ff32",
  "_user": "eliaskrainski",
  "_type": "src",
  "_file": "INLAtools_0.1.4.901.tar.gz",
  "_fileid": "bc2061af972d1ffc4376ae991c806274d3e802522b19a5d901d409d2fa54e4b7",
  "_filesize": 470693,
  "_sha256": "bc2061af972d1ffc4376ae991c806274d3e802522b19a5d901d409d2fa54e4b7",
  "_created": "2026-06-04T11:11:59.000Z",
  "_published": "2026-06-04T11:25:12.893Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79506337585,
      "time": 113,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7409969379"
    },
    {
      "job": 79506337536,
      "time": 121,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7409970432"
    },
    {
      "job": 79506337518,
      "time": 133,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7409975266"
    },
    {
      "job": 79506337534,
      "time": 118,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7409969758"
    },
    {
      "job": 79506337511,
      "time": 101,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7410042705"
    },
    {
      "job": 79506337680,
      "time": 204,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7410171823"
    },
    {
      "job": 79506337547,
      "time": 95,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7410069803"
    },
    {
      "job": 79506337559,
      "time": 316,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7410119108"
    },
    {
      "job": 79505961975,
      "time": 139,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7409931157"
    },
    {
      "job": 79506337445,
      "time": 89,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7409960797"
    },
    {
      "job": 79506337504,
      "time": 111,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7409967207"
    },
    {
      "job": 79506337563,
      "time": 112,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7409968334"
    },
    {
      "job": 79506337570,
      "time": 92,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7409961339"
    }
  ],
  "_buildurl": "https://github.com/r-universe/eliaskrainski/actions/runs/26948061180",
  "_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-23",
      "n": 4
    },
    {
      "week": "2025-24",
      "n": 1
    },
    {
      "week": "2025-25",
      "n": 14
    },
    {
      "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",
    "description": "PhD in Mathematical Sciences, NTNU - Trondheim - Norway"
  },
  "_downloads": {
    "count": 2772,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/INLAtools"
  },
  "_devurl": "https://github.com/eliaskrainski/inlatools",
  "_searchresults": 91,
  "_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.992899225287362,
  "_indexed": true,
  "_nocasepkg": "inlatools",
  "_universes": [
    "eliaskrainski"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.4.901",
      "date": "2026-06-04T11:13:51.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "20f061b2c55a4b412236138422d1ea9863c3745b",
      "fileid": "3b568d8fa74365753bd430c3c5dd92e64fabc11e265d5f7e5b85d685ecc33112",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eliaskrainski/actions/runs/26948061180"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.4.901",
      "date": "2026-06-04T11:13:47.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "20f061b2c55a4b412236138422d1ea9863c3745b",
      "fileid": "972b5aee411c8a9102889d9fd89e895a4f12b47ef4ff7c615ed30d19c0bda1a7",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eliaskrainski/actions/runs/26948061180"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.4.901",
      "date": "2026-06-04T11:14:08.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "20f061b2c55a4b412236138422d1ea9863c3745b",
      "fileid": "999c1cb934622e9c43100a5c54c5adcd67dc21199cac9f8d52b930f0fb61a78d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eliaskrainski/actions/runs/26948061180"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.4.901",
      "date": "2026-06-04T11:13:45.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "20f061b2c55a4b412236138422d1ea9863c3745b",
      "fileid": "895bb0b21c32a96ff5116c33c597eb8fe00616e9e74cbcc21bdaa04dd978725c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eliaskrainski/actions/runs/26948061180"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.4.901",
      "date": "2026-06-04T11:17:33.000Z",
      "arch": "aarch64",
      "commit": "20f061b2c55a4b412236138422d1ea9863c3745b",
      "fileid": "23540c8254cb72ab593eedd2b626dfad4bcec597dbf59037f07681bea10c498b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eliaskrainski/actions/runs/26948061180"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.4.901",
      "date": "2026-06-04T11:24:10.000Z",
      "arch": "x86_64",
      "commit": "20f061b2c55a4b412236138422d1ea9863c3745b",
      "fileid": "ba40ac6b6a46282cd62e38de9391cc95d6062cec8ccf8d24fb0cb567ff29b39f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eliaskrainski/actions/runs/26948061180"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.4.901",
      "date": "2026-06-04T11:19:02.000Z",
      "arch": "aarch64",
      "commit": "20f061b2c55a4b412236138422d1ea9863c3745b",
      "fileid": "e0cb44016f4b523327b9e898a49f25d02c309101704deb5ad3b947b3a5013010",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eliaskrainski/actions/runs/26948061180"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.4.901",
      "date": "2026-06-04T11:20:55.000Z",
      "arch": "x86_64",
      "commit": "20f061b2c55a4b412236138422d1ea9863c3745b",
      "fileid": "92831bca491bb4eebce0ec88f58790f1e38a90874063d90d3f816cb7ef8080ee",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eliaskrainski/actions/runs/26948061180"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.4.901",
      "date": "2026-06-04T11:13:48.000Z",
      "arch": "emscripten",
      "commit": "20f061b2c55a4b412236138422d1ea9863c3745b",
      "fileid": "663b7d99fbdfa93f29ee5b22ea21cb7f4793bf5c9a410b331a67ef29173aaff3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/eliaskrainski/actions/runs/26948061180"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.4.901",
      "date": "2026-06-04T11:13:18.000Z",
      "arch": "x86_64",
      "commit": "20f061b2c55a4b412236138422d1ea9863c3745b",
      "fileid": "526859e5e616522bae966e18295ac584016532e1c56e92e7b5d1f89d5ca88c2c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eliaskrainski/actions/runs/26948061180"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.4.901",
      "date": "2026-06-04T11:13:23.000Z",
      "arch": "x86_64",
      "commit": "20f061b2c55a4b412236138422d1ea9863c3745b",
      "fileid": "47eaf715fe20669eb4ecc2b943b7a83489cce194e05767d5d538fd8b444573a1",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eliaskrainski/actions/runs/26948061180"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.4.901",
      "date": "2026-06-04T11:13:05.000Z",
      "arch": "x86_64",
      "commit": "20f061b2c55a4b412236138422d1ea9863c3745b",
      "fileid": "ced506ae0a4cbdb1026a82316949331df7c708314c794cb29703d6018e17e865",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eliaskrainski/actions/runs/26948061180"
    }
  ]
}