It looks like if I add `execute: cache: true` to my YAML header to use the Knitr cache, `ojs_define` stops working and my OJS cells fail.

For example, if I run a test with an R chunk and an OJS chunk, like:

```r
#| label: testin

ojs_define(test = data.frame(
  x = 1:100,
  y = rnorm(100)
))
```

```js
//| label: testout

Plot.dot(transpose(test), {x: "x", y: "y"}).plot();
```

This works great as-is, but if I add the following to my YAML header:

```yaml
execute:
  cache: true
```

And then `quarto render` and `quarto preview` the file again, I get:

![image](https://user-images.githubusercontent.com/6520659/160734132-69e17c2a-c488-4e42-86fa-f74da961fd2a.png)

2022-03-30T01:46:14Z
jimjam-slam
closed
Knitr cache breaks ojs_define
https://github.com/quarto-dev/quarto-cli/issues/480