Skip to content

Commit

Permalink
scripts: Fix failure to find logo file.
Browse files Browse the repository at this point in the history
This is necessary due to a breaking change in knitr 0.39.
  • Loading branch information
rekado committed Jun 1, 2022
1 parent 8128912 commit e2c1361
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/runDeseqReport.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# Copyright © 2017 Bora Uyar <[email protected]>
# Copyright © 2018 Jonathan Ronen <[email protected]>
# Copyright © 2018 Ricardo Wurmus <[email protected]>
# Copyright © 2018, 2022 Ricardo Wurmus <[email protected]>
#
# This file is part of the PiGx RNAseq Pipeline.
#
Expand Down Expand Up @@ -74,7 +74,10 @@ runReport <- function(reportFile,
logo,
selfContained = TRUE,
quiet = FALSE) {


# knitr 0.39 changed the default behavior.
options(knitr.graphics.rel_path = FALSE)

outFile <- paste0(prefix, '.deseq.report.html')

htmlwidgets::setWidgetIdSeed(1234)
Expand Down

0 comments on commit e2c1361

Please sign in to comment.