test-ggplots.R so testthat executes the file
embed ggplotlys into Rmd