Skip to content

INLAtools

0.1.5Package record

Functionalities for the 'INLA' Package

2packages depend
32Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Contain code to work with a C struct, in short cgeneric, to define a Gaussian Markov random (GMRF) model. The cgeneric contain code to specify GMRF elements such as the graph and the precision matrix, and also the initial and prior for its parameters, useful for model inference. It can be accessed from a C program and is the recommended way to implement new GMRF models in the 'INLA' package (https://www.r-inla.org). The 'INLAtools' implement functions to evaluate each one of the model specifications from R. The implemented functionalities leverage the use of 'cgeneric' models and provide a way to debug the code as well to work with the prior for the model parameters and to sample from it. The `generic0` can be used to implement intrinsic models with the scaling as proposed in Sørbye & Rue (2014) doi:10.1016/j.spasta.2013.06.004, and the required constraints. A very useful functionality is the Kronecker product method that creates a new model from multiple cgeneric models. It also works with the rgeneric, the R version of the cgeneric intended to easy try implementation of new GMRF models. The Kronecker between two cgeneric models where each one needs a constraint, such as spatio-temporal intrinsic interaction models, the needed constraints are automatically set.

Install

Health

CRAN checks
13OK
Slowest check: 2.6 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK6 OK2026-05-05
  • ERROR13 OK, 1 ERROR2026-04-09
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.5
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
15
Examples that run
100%5 run in a plain check
Exported functions with examples
38%
Documented parameters
100%
Return-value docs
69%
Help pages citing references
7%

Also includes 5 demo scripts (run with demo())

Downloads

32K
CRAN downloads in the past year
Rank #2,339 · ~88/day · ~2.7K/mo
Daily download trend is not available in this view yet.
2.3K30 days
7.2K90 days
32K1 year
Compare downloads with other packages →
Also on810 r2u3 autocran

Repository

0Stars
0Forks
0Open issues
0Open PRs
0Releases
Last activity 2026-10-05 · Default branch at 0.1.5.908, ahead of CRAN 0.1.5 (checked 2026-10-25)
Responsiveness
not measured
PracticesBeta

4 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/eliaskrainski/inlatools on 2026-10-25.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)

Installing INLAtools adds no packages beyond those that come with R.

Depends (2)
R >= 4.3Matrix
Imports (2)
methodsutils
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
2direct
0indirect
Depends 1 · Imports 1
Depends, Imports or LinkingTo, most downloaded first

People & History

People (3)
Maintainer, Author, Copyright holder · added in 0.1.4
Author · added in 0.0.5

Maintainer since 0.0.1 (2025)

Listed in earlier versions (1)
Teixeira Krainski
no longer listed · 0.0.1 to 0.1.3
Releases (15)

Pick two releases to compare their code metrics.

  • 0.1.5Latest
    record
    2026-08-31 · current release · diff ↗
  • unarchivedReturned to CRAN
    2026-05-04
  • 0.1.4
    record
    2026-05-04 · diff ↗ ·
    removed 6 exports
    cgeneric_shlib, graph, initial, mu, prec, prior
    added 12 exports
    cgeneric_Q, cgeneric_graph, cgeneric_initial, cgeneric_mu, cgeneric_prior, cgeneric_shlib_path, inlaQ, rgeneric_Q, rgeneric_graph, rgeneric_initial, rgeneric_mu, rgeneric_prior
  • R
    R 4.6.0 released · 2026-04-24
  • archivedRemoved from CRAN
    2026-04-23
    errors were not corrected even in re-submission
  • 0.1.3
    record
    2026-04-22 · diff ↗
  • 0.1.2
    record
    2026-04-08 · diff ↗ ·
    added 3 exports
    pcParamCheck, pclrange, pcrange
  • 0.1.1
    record
    2026-04-03 · diff ↗
  • 0.1.0
    record
    2026-03-29 · diff ↗
  • 0.0.9
    record
    2026-02-12 · diff ↗
  • 0.0.8
    record
    2026-02-02 · diff ↗
  • 0.0.7
    record
    2026-01-14 · diff ↗ ·
    removed 1 export
    inla.cgeneric.sample
  • 0.0.6
    record
    2025-12-19 · diff ↗
  • 0.0.5
    record
    2025-11-20 · diff ↗ ·
    added 3 exports
    cgenericBuilder, cgeneric_shlib, multi_generic_model
  • 0.0.4
    record
    2025-06-23 · diff ↗ ·
    added 6 exports
    Sparse, cgeneric_generic0, cgeneric_iid, findGetFunction, packageCheck, upperPadding
  • 0.0.3
    record
    2025-06-16 · diff ↗ ·
    added 2 exports
    is.zero, rgeneric
Show 3 earlier eventsHide 3 earlier events

Package metadata

First published
2025-06-02
Total releases
15 / 1 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 4.3
Download size
36 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("INLAtools")
Teixeira Krainski, E., Lindgren, F., & Rue’, H. (2026). INLAtools: Functionalities for the 'INLA' Package (Version 0.1.5) [Computer software]. https://doi.org/10.32614/CRAN.package.INLAtools

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for INLAtools version 0.1.5 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy