" subscript out of bounds" when trying to use extra_dependencies

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.


       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!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.