Browse code

add refs to webshot2/chromote for taking snapshots of DT-based content

Federico Marini authored on 12/04/2023 17:46:28
Showing 3 changed files

... ...
@@ -4,6 +4,7 @@ This content has been loaded from the template report `.Rmd` file. Please edit i
4 4
 
5 5
 If you are viewing this report in the Preview, you might require the installation of the PhantomJS to render correctly some HTML widgets. 
6 6
 This can be done by using the `r BiocStyle::CRANpkg("webshot")` package and calling `webshot::install_phantomjs()`.
7
+Alternatively, the more recent `r BiocStyle::CRANpkg("webshot2")` package uses the headless Chrome browser (via the `r BiocStyle::CRANpkg("chromote")` package, requiring Google Chrome or other Chromium-based browser).
7 8
 
8 9
 ```{r setup, include=FALSE, eval = TRUE, echo = FALSE}
9 10
 opts_chunk$set(
... ...
@@ -349,6 +349,7 @@ A preview is available in the tab itself, and the report can be generated, saved
349 349
 The functionality to display the report preview is based on `knit2html`, and some elements such as `DataTable` objects might not render correctly. 
350 350
 To render them correctly, please install the PhantomJS executable before launching the app. 
351 351
 This can be done by using the `r CRANpkg("webshot")` package and calling `webshot::install_phantomjs()` - HTML widgets will be rendered automatically as screenshots.
352
+Alternatively, the more recent `r BiocStyle::CRANpkg("webshot2")` package uses the headless Chrome browser (via the `r BiocStyle::CRANpkg("chromote")` package, requiring Google Chrome or other Chromium-based browser).
352 353
 Keep in mind that the fully rendered report (the one you can obtain with the "Generate & Save" button) is not affected by this, since it uses `rmarkdown::render()`.
353 354
 
354 355
 ## About
... ...
@@ -204,6 +204,7 @@ knitr::include_graphics("unr_99_editreport.png")
204 204
 The functionality to display the report preview is based on `knit2html`, and some elements such as `DataTable` objects might not render correctly. 
205 205
 To render them correctly, please install the PhantomJS executable before launching the app. 
206 206
 This can be done by using the `r CRANpkg("webshot")` package and calling `webshot::install_phantomjs()` - HTML widgets will be rendered automatically as screenshots.
207
+Alternatively, the more recent `r BiocStyle::CRANpkg("webshot2")` package uses the headless Chrome browser (via the `r BiocStyle::CRANpkg("chromote")` package, requiring Google Chrome or other Chromium-based browser).
207 208
 Keep in mind that the fully rendered report (the one you can obtain with the "Generate & Save" button) is not affected by this, since it uses `rmarkdown::render()`.
208 209
 
209 210
 # Session Info {.unnumbered}