other posts and issues on GitHub suggest that this can be done - Spooky segfault from rstan + cmdstanr:::expose_functions. and exposing functions from models with backend cmdstanr · Issue #1176 · paul-buerkner/brms · GitHub
other posts and issues on GitHub suggest that this can be done - Spooky segfault from rstan + cmdstanr:::expose_functions. and exposing functions from models with backend cmdstanr · Issue #1176 · paul-buerkner/brms · GitHub