The penguins example in the [OJS](https://quarto.org/docs/interactive/ojs/) and [standalone example](https://quarto.org/docs/interactive/ojs/examples/penguins.html) uses a version of the `palmerpenguins` dataset that varies from the R package itself, namely, removing the units from the col names.

```
names(palmerpenguins::penguins)
[1] "species"           "island"            "bill_length_mm"    "bill_depth_mm"    
[5] "flipper_length_mm" "body_mass_g"       "sex"               "year"     
```

```
names("palmer-penguins.csv")
[1] "species"        "island"         "bill_length"    "bill_depth"     "flipper_length"
[6] "body_mass"      "sex" 
```

This makes sense for the example but is a bit surprising if someone were to try:

```
ojs_define(data = palmerpenguins::penguins)
```

As the colnames mismatch will silently fail at the OJS level - the plots will not be returned and the only errors are seen in the console of the browser itself at JavaScript level. I would suggest either being very clear and providing a direct URL to the used .csv (rather than having to go find it on GitHub) and/or clarifying the changed col names.

Tag @cscheid from our discussion.
2022-08-08T20:23:31Z
jthomasmock
v1.2
closed
`penguins` example for OJS uses a modified version of the palmer-penguins.csv
https://github.com/quarto-dev/quarto-cli/issues/1878