Skip to content

Commit

Permalink
fix #104 - force chromote args inside Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
mvarewyck committed Sep 13, 2024
1 parent d180451 commit de6ee24
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions alienSpecies/inst/app/www/reportSpecies.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ knitr::opts_chunk$set(
fig.height = 8
)
# allow webshot2 on ECR
# https://github.com/rstudio/chromote/blob/00c3509dcd1d27266ba4164a4324e49e0b9ef4a2/R/chromote.R#L663
chromote::set_chrome_args("--headless --no-sandbox")
gewestNames <- sapply(input$species_gewest, function(x)
translate(data = results$translations, id = x)$title)
Expand Down

0 comments on commit de6ee24

Please sign in to comment.