Skip to content

Commit

Permalink
0.5.6 release candidate (#394)
Browse files Browse the repository at this point in the history
Co-authored-by: cpsievert <[email protected]>
  • Loading branch information
cpsievert and cpsievert authored Aug 11, 2023
1 parent 9338b7f commit 3fab22f
Show file tree
Hide file tree
Showing 7 changed files with 143 additions and 31 deletions.
16 changes: 8 additions & 8 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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 = "[email protected]"),
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:
Expand Down
12 changes: 8 additions & 4 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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
14 changes: 7 additions & 7 deletions man/htmltools-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion revdep/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Revdeps

## Failed to check (9)
## Failed to check (12)

|package |version |error |warning |note |
|:-------|:-------|:-----|:-------|:----|
Expand All @@ -13,4 +13,7 @@
|NA |? | | | |
|NA |? | | | |
|NA |? | | | |
|NA |? | | | |
|NA |? | | | |
|NA |? | | | |

2 changes: 1 addition & 1 deletion revdep/cran.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
119 changes: 112 additions & 7 deletions revdep/failures.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,11 @@ Run `revdepcheck::cloud_details(, "NA")` for more info

<details>

* 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

Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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

<details>

* Version: NA
* GitHub: NA
* Source code: https://github.com/cran/NA
* Number of recursive dependencies: 0

Run `revdepcheck::cloud_details(, "NA")` for more info

</details>

## Error before installation

### Devel

```
```
### CRAN

```
```
# NA

<details>

* Version: NA
* GitHub: NA
* Source code: https://github.com/cran/NA
* Number of recursive dependencies: 0

Run `revdepcheck::cloud_details(, "NA")` for more info

</details>

## Error before installation

### Devel

```
```
### CRAN

```
```
# NA

<details>

* Version: NA
* GitHub: NA
* Source code: https://github.com/cran/NA
* Number of recursive dependencies: 0

Run `revdepcheck::cloud_details(, "NA")` for more info

</details>

## Error before installation

### Devel

```
```
### CRAN

```
Expand Down

0 comments on commit 3fab22f

Please sign in to comment.