rmarkdown as a soft dependency (see
https://github.com/yihui/knitr/issues/1864).sample_events() to
be returned out of order in certain cases when by = was
used in a sampling function.package::function(), with the exception of
graphics functions which are all imported to the
namespace.