### Bug description

Running 

```{r}
ojs_define(my_ojs = my_sw)
```
yields error message:

> Error in ojs_define(my_ojs = my_sw) : 
  could not find function "ojs_define"

I've tried this on
- Windows 10 Enterprise ; RStudio 2022.12.0 ; Quarto v 1.1.179
- Windows 10 Enterprise ; RStudio 2022.12.0+353 ; Quarto 1.3.202 
- Ubuntu 22.04.1 LTS ; RStudio 2022.12.0 Build 353 ; Quarto 1.2.269

Qmd document attached.  Had to save as .md to get past the GitHub filters.  [foo_quarto.md](https://github.com/quarto-dev/quarto-cli/files/10744471/foo_quarto.md)


Any help greatly appreciated. 

### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
2023-02-15T15:24:49Z
libjohn
bug
closed
cannot find ojs_define function within RStudio quarto doc
https://github.com/quarto-dev/quarto-cli/issues/4363