Sometimes it's easier to construct the path to a file in code, for example:
model_path = here::here("my-code-file.stan")
in a quarto document.
Is it possible to have the include argument of a chunk evaluated?
```{.stan include=model_path}
```
doesn't appear to evaluate the variable model_path correctly. Is there a syntax option to have this variable get evaluated to return the file path, and then have the path parsed correctly as normal?
Sometimes it's easier to construct the path to a file in code, for example:
model_path = here::here("my-code-file.stan")in a quarto document.
Is it possible to have the include argument of a chunk evaluated?
doesn't appear to evaluate the variable
model_pathcorrectly. Is there a syntax option to have this variable get evaluated to return the file path, and then have the path parsed correctly as normal?