From 3fab22f300f4f441837f39e68a29283baddfcf69 Mon Sep 17 00:00:00 2001 From: Carson Sievert Date: Fri, 11 Aug 2023 09:35:58 -0500 Subject: [PATCH] 0.5.6 release candidate (#394) Co-authored-by: cpsievert --- DESCRIPTION | 16 +++--- NEWS.md | 12 ++-- README.md | 6 +- man/htmltools-package.Rd | 14 ++--- revdep/README.md | 5 +- revdep/cran.md | 2 +- revdep/failures.md | 119 ++++++++++++++++++++++++++++++++++++--- 7 files changed, 143 insertions(+), 31 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 8f455f12..f4d99792 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,15 +1,15 @@ Package: htmltools Type: Package Title: Tools for HTML -Version: 0.5.5.9000 +Version: 0.5.6 Authors@R: c( - person("Joe", "Cheng", role = "aut", email = "joe@rstudio.com"), - person("Carson", "Sievert", role = c("aut", "cre"), email = "carson@rstudio.com", comment = c(ORCID = "0000-0002-4958-2844")), - person("Barret", "Schloerke", role = "aut", email = "barret@rstudio.com", comment = c(ORCID = "0000-0001-9986-114X")), - person("Winston", "Chang", role = "aut", email = "winston@rstudio.com", comment = c(ORCID = "0000-0002-1576-2126")), - person("Yihui", "Xie", role = "aut", email = "yihui@rstudio.com"), - person("Jeff", "Allen", role = "aut", email = "jeff@rstudio.com"), - person(family = "RStudio", role = "cph") + person("Joe", "Cheng", role = "aut", email = "joe@posit.co"), + person("Carson", "Sievert", role = c("aut", "cre"), email = "carson@posit.co", comment = c(ORCID = "0000-0002-4958-2844")), + person("Barret", "Schloerke", role = "aut", email = "barret@posit.co", comment = c(ORCID = "0000-0001-9986-114X")), + person("Winston", "Chang", role = "aut", email = "winston@posit.co", comment = c(ORCID = "0000-0002-1576-2126")), + person("Yihui", "Xie", role = "aut", email = "yihui@posit.co"), + person("Jeff", "Allen", role = "aut"), + person("Posit Software, PBC", role = c("cph", "fnd")) ) Description: Tools for HTML generation and output. Depends: diff --git a/NEWS.md b/NEWS.md index 49a62b53..f9bcc2b7 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,13 +1,17 @@ -# htmltools 0.5.5.9000 +# htmltools 0.5.6 -* Closed #375: calling `htmlDependency()` or a function that returns an `htmlDependency()` object (e.g., `fontawesome::fa_html_dependency()`) in an R chunk in an R Markdown or knitr-powered Quarto document will now include the dependency rather than printing the object structure. If you want to print the object structure, you can use `print()` or `str()`. (#376) - -* Closed #124: `includeHTML()` will now issue a warning if it detects that the file passed to it contains a complete HTML document. `includeHTML()` is designed to include HTML fragments where the contents of the file can be written directly into the current app or document, but subtle errors can occur when the file contains a complete HTML document. In most cases, you should instead use `tags$iframe()` to embed external documents. (#382) +## Possibly breaking changes * Closed #386: Fillable containers no longer set `overflow: auto` by default. Instead, they set `min-width` and `min-height` to `0` to ensure that fill items a constrained in the fillable container without clipping their direct children. (#387) * Closed #370: Non-fill items in fillable containers no longer grow or shrink and instead respect their intrinsic size. Use `height` to control the height of non-fill items in fillable containers and `min-height` and `max-height` on fill items to limit how much they are allowed to grow or shrink within a fillable container. (#391) +## Minor improvements + +* Closed #375: calling `htmlDependency()` or a function that returns an `htmlDependency()` object (e.g., `fontawesome::fa_html_dependency()`) in an R chunk in an R Markdown or knitr-powered Quarto document will now include the dependency rather than printing the object structure. If you want to print the object structure, you can use `print()` or `str()`. (#376) + +* Closed #124: `includeHTML()` will now issue a warning if it detects that the file passed to it contains a complete HTML document. `includeHTML()` is designed to include HTML fragments where the contents of the file can be written directly into the current app or document, but subtle errors can occur when the file contains a complete HTML document. In most cases, you should instead use `tags$iframe()` to embed external documents. (#382) + # htmltools 0.5.5 ## Bug fixes diff --git a/README.md b/README.md index 916534d9..e7affb7e 100644 --- a/README.md +++ b/README.md @@ -27,9 +27,9 @@ remotes::install_github("rstudio/htmltools") ## Quick overview -`{htmltools}` makes it easy to customize the user interface (UI) of any [Shiny](https://shiny.rstudio.com/) or [R Markdown](https://rmarkdown.rstudio.com/) project by using R code to generate custom HTML (including JavaScript and CSS). +`{htmltools}` makes it easy to customize the user interface (UI) of any [Shiny](https://shiny.posit.co/) or [R Markdown](https://rmarkdown.rstudio.com/) project by using R code to generate custom HTML (including JavaScript and CSS). -[This Shiny article](https://shiny.rstudio.com/articles/html-tags.html) provides a great introduction to `{htmltools}` (even if you're not interested in Shiny). As you'll learn in that article, the general foundation that `{htmltools}` provides allows other R packages (e.g., [`{htmlwidgets}`](http://www.htmlwidgets.org/), [`{crosstalk}`](https://rstudio.github.io/crosstalk/), etc.) to provide "HTML components" in R that users can manipulate and combine in ways the component authors didn't foresee. +[This Shiny article](https://shiny.posit.co/articles/html-tags.html) provides a great introduction to `{htmltools}` (even if you're not interested in Shiny). As you'll learn in that article, the general foundation that `{htmltools}` provides allows other R packages (e.g., [`{htmlwidgets}`](http://www.htmlwidgets.org/), [`{crosstalk}`](https://rstudio.github.io/crosstalk/), etc.) to provide "HTML components" in R that users can manipulate and combine in ways the component authors didn't foresee. For example, as described in depth [here](https://plotly-r.com/arranging-views.html#arranging-htmlwidgets), `{htmltools}` makes it fairly easy to arrange numerous `{htmlwidgets}` (e.g., `{plotly}` graphs) into a single static HTML webpage: @@ -52,6 +52,6 @@ Also, thanks to `tagQuery()`, it is fairly easy to query and manipulate the unde If you're looking to learn how to build more custom user interfaces by writing custom HTML/JavaScript/CSS, we recommend the following resource: -* Shiny's [UI](https://shiny.rstudio.com/articles/#user-interface) and [extensions](https://shiny.rstudio.com/articles/#extensions) articles +* Shiny's [UI](https://shiny.posit.co/articles/#user-interface) and [extensions](https://shiny.posit.co/articles/#extensions) articles * [Outstanding UI with Shiny](https://unleash-shiny.rinterface.com/) by David Granjon * [JavaScript for R](https://book.javascript-for-r.com/) by John Coene diff --git a/man/htmltools-package.Rd b/man/htmltools-package.Rd index 75df013a..c651ae5a 100644 --- a/man/htmltools-package.Rd +++ b/man/htmltools-package.Rd @@ -20,20 +20,20 @@ Useful links: } \author{ -\strong{Maintainer}: Carson Sievert \email{carson@rstudio.com} (\href{https://orcid.org/0000-0002-4958-2844}{ORCID}) +\strong{Maintainer}: Carson Sievert \email{carson@posit.co} (\href{https://orcid.org/0000-0002-4958-2844}{ORCID}) Authors: \itemize{ - \item Joe Cheng \email{joe@rstudio.com} - \item Barret Schloerke \email{barret@rstudio.com} (\href{https://orcid.org/0000-0001-9986-114X}{ORCID}) - \item Winston Chang \email{winston@rstudio.com} (\href{https://orcid.org/0000-0002-1576-2126}{ORCID}) - \item Yihui Xie \email{yihui@rstudio.com} - \item Jeff Allen \email{jeff@rstudio.com} + \item Joe Cheng \email{joe@posit.co} + \item Barret Schloerke \email{barret@posit.co} (\href{https://orcid.org/0000-0001-9986-114X}{ORCID}) + \item Winston Chang \email{winston@posit.co} (\href{https://orcid.org/0000-0002-1576-2126}{ORCID}) + \item Yihui Xie \email{yihui@posit.co} + \item Jeff Allen } Other contributors: \itemize{ - \item RStudio [copyright holder] + \item Posit Software, PBC [copyright holder, funder] } } diff --git a/revdep/README.md b/revdep/README.md index f8f0f541..05dfc5ed 100644 --- a/revdep/README.md +++ b/revdep/README.md @@ -1,6 +1,6 @@ # Revdeps -## Failed to check (9) +## Failed to check (12) |package |version |error |warning |note | |:-------|:-------|:-----|:-------|:----| @@ -13,4 +13,7 @@ |NA |? | | | | |NA |? | | | | |NA |? | | | | +|NA |? | | | | +|NA |? | | | | +|NA |? | | | | diff --git a/revdep/cran.md b/revdep/cran.md index 1b956ee2..b779d489 100644 --- a/revdep/cran.md +++ b/revdep/cran.md @@ -1,6 +1,6 @@ ## revdepcheck results -We checked 442 reverse dependencies (434 from CRAN + 8 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package. +We checked 467 reverse dependencies (456 from CRAN + 11 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package. * We saw 0 new problems * We failed to check 1 packages diff --git a/revdep/failures.md b/revdep/failures.md index 60d490a8..2c941918 100644 --- a/revdep/failures.md +++ b/revdep/failures.md @@ -107,11 +107,11 @@ Run `revdepcheck::cloud_details(, "NA")` for more info
-* Version: 0.2.0 +* Version: 0.2.2 * GitHub: https://github.com/erhard-lab/grandR * Source code: https://github.com/cran/grandR -* Date/Publication: 2022-09-20 07:56:10 UTC -* Number of recursive dependencies: 250 +* Date/Publication: 2023-04-20 21:22:30 UTC +* Number of recursive dependencies: 261 Run `revdepcheck::cloud_details(, "grandR")` for more info @@ -128,7 +128,7 @@ Run `revdepcheck::cloud_details(, "grandR")` for more info * using session charset: UTF-8 * using option ‘--no-manual’ * checking for file ‘grandR/DESCRIPTION’ ... OK -* this is package ‘grandR’ version ‘0.2.0’ +* this is package ‘grandR’ version ‘0.2.2’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... NOTE @@ -142,7 +142,7 @@ Run `revdepcheck::cloud_details(, "grandR")` for more info ‘getting-started.Rmd’ using ‘UTF-8’... OK * checking re-building of vignette outputs ... OK * DONE -Status: 3 NOTEs +Status: 2 NOTEs @@ -158,7 +158,7 @@ Status: 3 NOTEs * using session charset: UTF-8 * using option ‘--no-manual’ * checking for file ‘grandR/DESCRIPTION’ ... OK -* this is package ‘grandR’ version ‘0.2.0’ +* this is package ‘grandR’ version ‘0.2.2’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... NOTE @@ -172,7 +172,112 @@ Status: 3 NOTEs ‘getting-started.Rmd’ using ‘UTF-8’... OK * checking re-building of vignette outputs ... OK * DONE -Status: 3 NOTEs +Status: 2 NOTEs + + + + + +``` +# NA + +
+ +* Version: NA +* GitHub: NA +* Source code: https://github.com/cran/NA +* Number of recursive dependencies: 0 + +Run `revdepcheck::cloud_details(, "NA")` for more info + +
+ +## Error before installation + +### Devel + +``` + + + + + + +``` +### CRAN + +``` + + + + + + +``` +# NA + +
+ +* Version: NA +* GitHub: NA +* Source code: https://github.com/cran/NA +* Number of recursive dependencies: 0 + +Run `revdepcheck::cloud_details(, "NA")` for more info + +
+ +## Error before installation + +### Devel + +``` + + + + + + +``` +### CRAN + +``` + + + + + + +``` +# NA + +
+ +* Version: NA +* GitHub: NA +* Source code: https://github.com/cran/NA +* Number of recursive dependencies: 0 + +Run `revdepcheck::cloud_details(, "NA")` for more info + +
+ +## Error before installation + +### Devel + +``` + + + + + + +``` +### CRAN + +``` +