MD-Anderson-Bioinformatics / NGCHM-R

An R library for creating Next-Generation Clustered Heat Maps (NG-CHM)
http://bioinformatics.mdanderson.org/main/NG-CHM-V2:Overview
7 stars 3 forks source link

Address warnings in vignettes #56

Open marohrdanz opened 1 month ago

marohrdanz commented 1 month ago

Vignettes that include htmltools::includeHTML() now show warnings such as the following on our documentation website:

library('htmltools')
filePath = paste(getwd(),'/tcga-brca.html',sep='')
htmltools::includeHTML(filePath)
#> Warning: `includeHTML()` was provided a `path` that appears to be a complete HTML document.
#> ✖ Path: /Users/runner/work/NGCHM-R/NGCHM-R/vignettes/tcga-brca.html
#> ℹ Use `tags$iframe()` to include an HTML document. You can either ensure `path` is accessible in your app or document (see e.g. `shiny::addResourcePath()`) and pass the relative path to the `src` argument. Or you can read the contents of `path` and pass the contents to `srcdoc`.

Address these so the either go away, or are not displayed on the rendered vignette.

Affected vignette pages:

Note: vignettes are NOT uploaded to CRAN. So if desired, we can fix this w/o making a new CRAN release.