Package: tulpa Title: Templated Unified Library for Posterior Approximation in Bayesian Hierarchical Models Version: 0.7.5 Authors@R: c( person("Gilles", "Colling", , "gilles.colling051@gmail.com", role = c("aut", "cre", "cph"), comment = c(ORCID = "0000-0003-3070-6066")), person("Frances Y.", "Kuo", role = c("ctb", "cph"), comment = "Sobol direction numbers in src/sobol_direction_numbers.h, BSD-3-clause"), person("Stephen", "Joe", role = c("ctb", "cph"), comment = "Sobol direction numbers in src/sobol_direction_numbers.h, BSD-3-clause"), person("Arm Limited", role = "cph", comment = "exp and log routines in src/fastmath.h and src/fastmath_data.cpp, MIT"), person("The Walnutpie Developers", role = "cph", comment = "WALNUTS transition in src/hmc_walnuts.cpp, ported from walnutpie, MIT")) Description: A general-purpose engine for fitting Bayesian hierarchical models with spatial fields, temporal effects, spatially varying coefficients, and multiple inference backends. Scalable spatial structure includes Hilbert space approximate Gaussian processes (HSGP; Riutort-Mayol et al. 2023 ), nearest-neighbor Gaussian processes (NNGP; Datta et al. 2016 ), intrinsic conditional autoregressive models (ICAR; Besag, York, and Mollie 1991 ), the reparameterized Besag-York-Mollie model (BYM2; Riebler et al. 2016 ), and stochastic partial differential equation fields (SPDE; Lindgren, Rue, and Lindstrom 2011 ). Temporal structure covers random walks, autoregressive processes, and Gaussian processes. Inference is tiered by correctness guarantee: exact Hamiltonian Monte Carlo with the No-U-Turn sampler, Laplace and nested Laplace approximations with hyperparameter integration (Rue, Martino, and Chopin 2009 ), and variational inference. Model-specific packages plug observation likelihoods into the engine through a templated C++ callback interface. License: MIT + file LICENSE Encoding: UTF-8 Language: en-US Roxygen: list(markdown = TRUE) SystemRequirements: C++17 Depends: R (>= 4.1.0) Imports: Rcpp (>= 1.0.12), Matrix, tulpaMesh (>= 0.1.3), generics, stats, tools, utils, methods, graphics, grDevices Suggests: testthat (>= 3.0.0), bayesplot, coda, ggplot2, sf, terra, knitr, rmarkdown, posterior (>= 1.5.0), loo (>= 2.7.0), rstantools, lme4, nlme, lmtest, numDeriv, spdep, MASS, betareg, glmmTMB, pscl, tweedie, fmesher, patchwork, stars, statmod, withr LinkingTo: Rcpp, RcppEigen, Matrix Config/testthat/edition: 3 VignetteBuilder: knitr URL: https://github.com/gcol33/tulpa, https://gillescolling.com/tulpa/ BugReports: https://github.com/gcol33/tulpa/issues Config/roxygen2/version: 8.1.0 Config/pak/sysreqs: cmake Repository: https://gcol33.r-universe.dev Date/Publication: 2026-10-12 11:04:46 UTC RemoteUrl: https://github.com/gcol33/tulpa RemoteRef: HEAD RemoteSha: 265a79f2a345fb7f3cd6cd9366004e1a2a7c2db2 NeedsCompilation: yes Packaged: 2026-10-12 16:02:59 UTC; root Author: Gilles Colling [aut, cre, cph] (ORCID: ), Frances Y. Kuo [ctb, cph] (Sobol direction numbers in src/sobol_direction_numbers.h, BSD-3-clause), Stephen Joe [ctb, cph] (Sobol direction numbers in src/sobol_direction_numbers.h, BSD-3-clause), Arm Limited [cph] (exp and log routines in src/fastmath.h and src/fastmath_data.cpp, MIT), The Walnutpie Developers [cph] (WALNUTS transition in src/hmc_walnuts.cpp, ported from walnutpie, MIT) Maintainer: Gilles Colling