-
DescriptionI'm developing a package called mapgl, installable at ---
title: "quarto_test"
format: html
editor: visual
---
```{r}
library(mapgl)
mapboxgl()
``` Gives:
I know this isn't a problem with my package per se, as disk-based assets render fine in Quarto. However - I do notice that R Markdown does not have the same problem (see my package documentation here, which I built in R Markdown for that reason). Is there any workaround you know of to be able to pull in external assets via CDN? Or, does this merit filing an issue? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
The error does not come from Quarto. It's from This function is used inside Quarto using the default, which is
So right now, Quarto does not allow dependencies to be URL. It's possible to change this behaviour, but it's not simply changing CC. @cderv |
Beta Was this translation helpful? Give feedback.
-
Thank you @cderv and @mcanouil! Just a thought as well - I'm noticing that there are issues rendering HTML widgets over in Positron (posit-dev/positron#2023) and I wonder if there is some relationship there (based on the discussion in posit-dev/positron#1742). Perhaps of interest to @juliasilge @jmcphers - I have the exact same behavior in Positron (Mapbox won't render, but MapLibre does, and I bundle the MapLibre assets). |
Beta Was this translation helpful? Give feedback.
I have opened an issue to track