hobbs_build_sampler: Build the bundled hobbs Rust sampler

View source: R/hobbs.R

hobbs_build_samplerR Documentation

Build the bundled hobbs Rust sampler

Description

Returns the sampler built during package installation, or explicitly builds the bundled Rust sampler in the user cache when needed. Rebuilding requires Cargo and Rust. Normal hobbs() calls use the installed sampler directly.

Usage

hobbs_build_sampler(rebuild = FALSE, quiet = TRUE)

Arguments

rebuild

Logical. If TRUE, force a fresh cargo build.

quiet

Logical. If TRUE, suppress build output.

Value

Path to the hobbs executable.

Examples

library(hobbs)
hobbs_build_sampler()

hobbs documentation built on Oct. 6, 2026, 1:07 a.m.