Hi there,
I'm working on creating a new custom report format for work following the instructions from the rmarkdown book. I create a custom HTML dependency but when I try and use it using the extra_dependencies argument of the html_document function I get the following error:
Error in FUN(X[[i]], ...) : subscript out of bounds
I tried testing this with a simple example using a built in HTML dependency from htmltools and I get the same error.
library(rmarkdown)
library(htmltools)
render("index.Rmd",
output_format = html_document(theme = NULL,
extra_dependencies = html_dependency_ionicons()))
I'm sure it's something obvious but I'd love any help I could get!