find_stan_file: Find Stan File

View source: R/utilities.R

find_stan_fileR Documentation

Find Stan File

Description

Finds a Stan file either in the local inst/stan directory or in the system package directory.

Usage

find_stan_file(file, subdir = "")

Arguments

file

The name of the Stan file to find.

subdir

Optional subdirectory within inst/stan where the file might be located.

Value

The full path to the Stan file if found, otherwise an error is raised.


rbmi documentation built on Nov. 5, 2025, 7:30 p.m.