Ensures a TMB model is compiled and loaded. Uses persistent cache to avoid recompilation across sessions.
.check_and_compile_TMB_code(
dll_name,
pkg_name = "gkwreg",
force_recompile = FALSE,
verbose = FALSE
)Invisibly returns a list with DLL information
Character, base name of the C++ file (e.g., "kwreg", "ekwreg")
Character, package name (default: "gkwreg")
Logical, force recompilation (default: FALSE)
Logical, print diagnostic messages (default: FALSE)