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.

Implements approximate Bayesian inference for Structural
    Equation Models (SEM) using a custom adaptation of the Integrated
    Nested Laplace Approximation (Rue et al., 2009)
    <doi:10.1111/j.1467-9868.2008.00700.x> as described in Jamil and Rue
    (2026a) <doi:10.48550/arXiv.2603.25690>. Provides a computationally
    efficient alternative to Markov Chain Monte Carlo (MCMC) for Bayesian
    estimation, allowing users to fit latent variable models using the
    'lavaan' syntax. See also the companion paper on implementation and
    workflows, Jamil and Rue (2026b) <doi:10.48550/arXiv.2604.00671>.

A collection of functions for creating color schemes.
    Used to support packages and scripts written
    by researchers at the United States Geological Survey (USGS)
    Idaho National Laboratory Project Office.