Adjusting the size of a single figure in the examples under pkgdown

I have a question about the size of figures generated under the Examples on a pkgdown site. One can of course adjust the size of all figures via _pkgdown.yml but is it possible to adjust the size of a single figure that is created under the examples (e.g., if the default dimensions specified via _pkgdown.yml would look strange for the figure generated)?

I tried adding dev.new(width=<>, height=<>) to the example, but then the figure doesn't show up at all on the pkgdown site (see here for an example of this). So, is there some way of getting this to work?

1 Like

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.