CRAN Package Check Results for Package hobbs

Last updated on 2026-10-01 22:52:58 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-gcc 0.4.4 18.72 36.76 55.48 OK
r-devel-linux-x86_64-fedora-clang 0.4.4 20.00 29.33 49.33 ERROR
r-devel-linux-x86_64-fedora-gcc 0.4.4 19.00 30.16 49.16 OK
r-devel-windows-x86_64 0.4.4 34.00 134.00 168.00 OK
r-release-macos-x86_64 0.4.4 20.00 97.00 117.00 ERROR
r-oldrel-macos-x86_64 0.4.4 18.00 57.00 75.00 ERROR

Additional issues

M1mac

Check Details

Version: 0.4.4
Check: examples
Result: ERROR Running examples in ‘hobbs-Ex.R’ failed The error most likely occurred in: > ### Name: hobbs > ### Title: Compile and sample a hobbs Bayesian model > ### Aliases: hobbs > > ### ** Examples > > library(hobbs) > > set.seed(1) > n <- 200L > p <- 4L > X <- cbind(1, matrix(rnorm(n * (p - 1L)), nrow = n)) > beta_true <- c(0.5, 1, -0.75, 0.25) > sigma_true <- 0.75 > y <- as.numeric(X %*% beta_true + rnorm(n, sd = sigma_true)) > > dat <- list(n = n, p = p, X = X, y = y) > > model <- ' + param beta(p); + param logsigma(1); + + func llk() { + double sigma = exp(logsigma(1)); + for (i = 1:n) { + y(i) ~ dnorm(mu(i), sigma); + } + } + + block beta(j) { + beta(j) ~ dnorm(0, 10); + llk(); + } cache mu(n) { + for (i = 1:n) { + for (k = 1:p) { + mu(i) += beta(k) * X(i, k); + } + } + } update mu(n) { + for (i = 1:n) { + mu(i) += (proposal(beta(j)) - current(beta(j))) * X(i, j); + } + } + + block logsigma(1) { + logsigma(1) ~ dnorm(0, 2); + llk(); + } + ' > > out <- tempfile("regression", fileext = ".bin") > > fit <- hobbs( + model = model, + data = dat, + samples = 2000, + burnin = 1000, + seed = 123, + out = out + ) /usr/bin/ld.bfd: /usr/local/clang23/bin/../lib/LLVMgold.so: error loading plugin: /usr/local/clang23/bin/../lib/LLVMgold.so: cannot open shared object file: No such file or directory clang-23: error: linker command failed with exit code 1 (use -v to see invocation) Error: C model compilation failed Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.4.4
Check: examples
Result: ERROR Running examples in ‘hobbs-Ex.R’ failed The error most likely occurred in: > ### Name: hobbs_install_sampler > ### Title: Install the hobbs sampler > ### Aliases: hobbs_install_sampler > > ### ** Examples > > library(hobbs) > hobbs_install_sampler() Cargo [NOT FOUND] Rust compiler [NOT FOUND] C compiler [OK] /usr/bin/clang Error: hobbs could not find: Cargo, Rust compiler. Install Rust and Cargo from https://rustup.rs/. Execution halted Flavors: r-release-macos-x86_64, r-oldrel-macos-x86_64