dot-check_and_compile_TMB_code: Check and Compile TMB Model Code

.check_and_compile_TMB_codeR Documentation

Check and Compile TMB Model Code

Description

Ensures a TMB model is compiled and loaded. Uses persistent cache to avoid recompilation across sessions.

Usage

.check_and_compile_TMB_code(
  dll_name,
  pkg_name = "gkwreg",
  force_recompile = FALSE,
  verbose = FALSE
)

Arguments

dll_name

Character, base name of the C++ file (e.g., "kwreg", "ekwreg")

pkg_name

Character, package name (default: "gkwreg")

force_recompile

Logical, force recompilation (default: FALSE)

verbose

Logical, print diagnostic messages (default: FALSE)

Value

Invisibly returns a list with DLL information


gkwreg documentation built on Nov. 27, 2025, 5:06 p.m.