Skip to content

Commit e11d2a8

Browse files
authored
v0.6.2 (#438)
1 parent f78f8f3 commit e11d2a8

File tree

16 files changed

+149
-150
lines changed

16 files changed

+149
-150
lines changed

.Rbuildignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ README.R?md
1212
revdep
1313
^pkgdown/*
1414
^_pkgdown\.yml$
15+
^cran-comments\.md$
16+
^CRAN-SUBMISSION$

.github/CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ representative at an online or offline event.
5959
## Enforcement
6060

6161
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62-
reported to the community leaders responsible for enforcement at codeofconduct@rstudio.com. All complaints will be reviewed and investigated promptly and fairly.
62+
reported to the community leaders responsible for enforcement at codeofconduct@posit.co. All complaints will be reviewed and investigated promptly and fairly.
6363

6464
All community leaders are obligated to respect the privacy and security of the
6565
reporter of any incident.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
.*.Rnb.cached
77
sandbox/
88
reference
9+
CRAN-SUBMISSION
10+

DESCRIPTION

Lines changed: 69 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,76 @@
1-
Package: flexdashboard
21
Type: Package
2+
Package: flexdashboard
33
Title: R Markdown Format for Flexible Dashboards
4-
Version: 0.6.1.9000
5-
Description: Format for converting an R Markdown document to a grid oriented
6-
dashboard. The dashboard flexibly adapts the size of it's components to the
7-
containing web page.
4+
Version: 0.6.2
85
Authors@R: c(
9-
person("Garrick", "Aden-Buie", role = c("aut", "cre"),
10-
email = "[email protected]", comment = c(ORCID = "0000-0002-7111-0077")),
11-
person("Carson", "Sievert", role = "aut",
12-
email = "[email protected]", comment = c(ORCID = "0000-0002-4958-2844")),
13-
person("Richard", "Iannone", role = "aut", email = "[email protected]",
14-
comment = c(ORCID = "0000-0003-3925-190X")),
15-
person("JJ", "Allaire", role = "aut", email = "[email protected]"),
16-
person("Barbara", "Borges", role = c("aut"), email = "[email protected]"),
17-
person(family = "RStudio", role = "cph"),
18-
person(family = "Keen IO", role = c("ctb", "cph"), comment = "Dashboard CSS"),
19-
person("Abdullah", "Almsaeed", role = c("ctb", "cph"), comment = "Dashboard CSS"),
20-
person("Jonas", "Mosbech", role = c("ctb", "cph"), comment = "StickyTableHeaders"),
21-
person("Noel", "Bossart", role = c("ctb", "cph"), comment = "Featherlight"),
22-
person("Lea", "Verou", role = c("ctb", "cph"), comment = "Prism"),
23-
person("Dmitry", "Baranovskiy", role = c("ctb", "cph"), comment = "Raphael.js"),
24-
person(family = "Sencha Labs", role = c("ctb", "cph"), comment = "Raphael.js"),
25-
person("Bojan", "Djuricic", role = c("ctb", "cph"), comment = "JustGage"),
26-
person("Tomas", "Sardyha", role = c("ctb", "cph"), comment = "Sly"),
27-
person("Bryan", "Lewis", role = c("ctb", "cph"), comment = "Examples"),
28-
person("Joshua", "Kunst", role = c("ctb", "cph"), comment = "Examples"),
29-
person("Ryan", "Hafen", role = c("ctb", "cph"), comment = "Examples"),
30-
person("Bob", "Rudis", role = c("ctb", "cph"), comment = "Examples"),
31-
person("Joe", "Cheng", role = c("ctb"), comment = "Examples")
6+
person("Garrick", "Aden-Buie", , "[email protected]", role = c("aut", "cre"),
7+
comment = c(ORCID = "0000-0002-7111-0077")),
8+
person("Carson", "Sievert", , "[email protected]", role = "aut",
9+
comment = c(ORCID = "0000-0002-4958-2844")),
10+
person("Richard", "Iannone", , "[email protected]", role = "aut",
11+
comment = c(ORCID = "0000-0003-3925-190X")),
12+
person("JJ", "Allaire", , "[email protected]", role = "aut"),
13+
person("Barbara", "Borges", , "[email protected]", role = "aut"),
14+
person("Posit Software, PBC", role = c("cph", "fnd")),
15+
person(, "Keen IO", role = c("ctb", "cph"),
16+
comment = "Dashboard CSS"),
17+
person("Abdullah", "Almsaeed", role = c("ctb", "cph"),
18+
comment = "Dashboard CSS"),
19+
person("Jonas", "Mosbech", role = c("ctb", "cph"),
20+
comment = "StickyTableHeaders"),
21+
person("Noel", "Bossart", role = c("ctb", "cph"),
22+
comment = "Featherlight"),
23+
person("Lea", "Verou", role = c("ctb", "cph"),
24+
comment = "Prism"),
25+
person("Dmitry", "Baranovskiy", role = c("ctb", "cph"),
26+
comment = "Raphael.js"),
27+
person(, "Sencha Labs", role = c("ctb", "cph"),
28+
comment = "Raphael.js"),
29+
person("Bojan", "Djuricic", role = c("ctb", "cph"),
30+
comment = "JustGage"),
31+
person("Tomas", "Sardyha", role = c("ctb", "cph"),
32+
comment = "Sly"),
33+
person("Bryan", "Lewis", role = c("ctb", "cph"),
34+
comment = "Examples"),
35+
person("Joshua", "Kunst", role = c("ctb", "cph"),
36+
comment = "Examples"),
37+
person("Ryan", "Hafen", role = c("ctb", "cph"),
38+
comment = "Examples"),
39+
person("Bob", "Rudis", role = c("ctb", "cph"),
40+
comment = "Examples"),
41+
person("Joe", "Cheng", role = "ctb",
42+
comment = "Examples")
3243
)
33-
URL: https://pkgs.rstudio.com/flexdashboard/, https://github.com/rstudio/flexdashboard/
44+
Description: Format for converting an R Markdown document to a grid
45+
oriented dashboard. The dashboard flexibly adapts the size of it's
46+
components to the containing web page.
47+
License: MIT + file LICENSE
48+
URL: https://pkgs.rstudio.com/flexdashboard/,
49+
https://github.com/rstudio/flexdashboard/
3450
BugReports: https://github.com/rstudio/flexdashboard/issues
35-
Encoding: UTF-8
36-
Depends: R (>= 3.0.2)
51+
Depends:
52+
R (>= 3.0.2)
3753
Imports:
38-
grDevices,
39-
tools,
40-
utils,
41-
jsonlite,
42-
htmltools (>= 0.5.1),
43-
knitr (>= 1.30),
44-
htmlwidgets (>= 0.6),
45-
rmarkdown (>= 2.8),
46-
shiny (>= 0.13),
47-
scales,
48-
sass,
49-
bslib (>= 0.2.5)
50-
Suggests: testthat
51-
LazyData: TRUE
52-
License: MIT + file LICENSE
53-
RoxygenNote: 7.2.3
54-
Config/testthat/edition: 3
55-
Config/Needs/website:
56-
rstudio/quillt
57-
Config/Needs/deploy:
58-
dplyr,
59-
ggplot2,
60-
DT,
61-
talgalili/d3heatmap,
62-
plotly,
63-
plyr,
64-
biclust,
65-
webshot,
66-
bit,
67-
jcheng5/bubbles,
68-
digest,
69-
hadley/shinySignals,
70-
dygraphs,
71-
quantmod,
72-
forecast,
73-
highcharter,
74-
arules,
75-
treemap,
76-
viridisLite,
77-
leaflet,
78-
metricsgraphics,
79-
rbokeh,
80-
readr,
81-
tidyr,
54+
bslib (>= 0.2.5),
55+
grDevices,
56+
htmltools (>= 0.5.1),
57+
htmlwidgets (>= 0.6),
8258
jsonlite,
83-
maptools,
84-
purrr,
85-
maps,
86-
hexbin
59+
knitr (>= 1.30),
60+
rmarkdown (>= 2.8),
61+
sass,
62+
scales,
63+
shiny (>= 0.13),
64+
tools,
65+
utils
66+
Suggests:
67+
testthat
68+
Config/Needs/deploy: dplyr, ggplot2, DT, talgalili/d3heatmap, plotly,
69+
plyr, biclust, webshot, bit, jcheng5/bubbles, digest,
70+
hadley/shinySignals, dygraphs, quantmod, forecast, highcharter,
71+
arules, treemap, viridisLite, leaflet, metricsgraphics, rbokeh, readr,
72+
tidyr, jsonlite, maptools, purrr, maps, hexbin
73+
Config/Needs/website: rstudio/quillt
74+
Config/testthat/edition: 3
75+
Encoding: UTF-8
76+
RoxygenNote: 7.2.3

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
YEAR: 2008-2016
2-
COPYRIGHT HOLDER: RStudio; Keen IO; Abdullah Almsaeed; Jonas Mosbech; Noel Bossart; Lea Verou; Dmitry Baranovskiy; Sencha Labs; Bojan Djuricic; Bryan Lewis; Carson Sievert; Joshua Kunst; Ryan Hafen; Bob Rudis
1+
YEAR: 2008-2023
2+
COPYRIGHT HOLDER: Posit Software, PBC; flexdashboard authors; Keen IO; Abdullah Almsaeed; Jonas Mosbech; Noel Bossart; Lea Verou; Dmitry Baranovskiy; Sencha Labs; Bojan Djuricic; Bryan Lewis; Carson Sievert; Joshua Kunst; Ryan Hafen; Bob Rudis

NEWS.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
# flexdashboard 0.6.1.9000
1+
# flexdashboard 0.6.2
22

3-
* Fixed #411: Improved support for Bootstrap 5 to ensure correct handling of the active dashboard page. (#418)
3+
## New features
4+
5+
* flexdashboard now supports icons for navigation dropdown menus. Pages are created with level-1 headings and can be added to a dropdown menu with the `data-navmenu` attribute. You can now also assign an icon to this dropdown menu by providing a `data-navmenu-icon` attribute, using the same icon selections as described in [Page Icons](https://pkgs.rstudio.com/flexdashboard/articles/using.html#page-icons). (#419)
46

57
* Improved support for page selection in navigation dropdown menus in Bootstrap 5. (#421)
68

7-
* flexdashboard now supports icons for navigation dropdown menus. Pages are created with level-1 headings and can be added to a dropdown menu with the `data-navmenu` attribute. You can now also assign an icon to this dropdown menu by providing a `data-navmenu-icon` attribute, using the same icon selections as described in [Page Icons](https://pkgs.rstudio.com/flexdashboard/articles/using.html#page-icons). (#419)
9+
## Minor improvements and fixes
10+
11+
* Fixed #411: Improved support for Bootstrap 5 to ensure correct handling of the active dashboard page. (#418)
812

913
* Fixed #234: Use the correct social sharing link for Facebook.
1014

@@ -21,13 +25,13 @@ This release adds integration with the new [`{bslib}` package](https://rstudio.g
2125
### Possibly breaking changes
2226

2327
* The `smart` argument was removed from `flexdashboard::flex_dashboard` since it was removed in rmarkdown 2.2 (relatedly, we now require rmarkdown 2.2 or higher). (#301)
24-
* The `window.FlexDashboard.themeColor` JavaScript object property is no longer available. Resolving of theming accent colors should now be done server-side via `{bslib}`'s [dynamic theming tools](https://rstudio.github.io/bslib/articles/custom-components.html). (#305)
28+
* The `window.FlexDashboard.themeColor` JavaScript object property is no longer available. Resolving of theming accent colors should now be done server-side via `{bslib}`'s [dynamic theming tools](https://rstudio.github.io/bslib/articles/custom-components.html). (#305)
2529

2630
### Improvements & fixes
2731

28-
* Close #343: Fix an issue with order of dependencies with `shiny_prerendered` following previous changes in rmarkdown - rstudio/rmarkdown#2064. (#344)
32+
* Close #343: Fix an issue with order of dependencies with `shiny_prerendered` following previous changes in rmarkdown - rstudio/rmarkdown#2064. (#344)
2933

30-
* Closed #315, #321, and #286: `DT::datatable()` now fills its container correctly inside of `flexdashboard::flex_dashboard()`. (#322)
34+
* Closed #315, #321, and #286: `DT::datatable()` now fills its container correctly inside of `flexdashboard::flex_dashboard()`. (#322)
3135

3236
* Closed #310: An `.active` class may now be added to a particular `.tabset` tab to control which tab is shown by default. (#311)
3337

@@ -37,7 +41,7 @@ This release adds integration with the new [`{bslib}` package](https://rstudio.g
3741

3842
* Closed #300: When a custom `{bslib}` theme is provided to `flex_dashboard`, `gauge()` and `viewBox()` now generate default styles to match it. (#301, #305)
3943

40-
* Closed #227: Fixed a bug with `source_code: embed` producing errors because code wasn't being escaped before being included in HTML. (#228, thanks @cderv)
44+
* Closed #227: Fixed a bug with `source_code: embed` producing errors because code wasn't being escaped before being included in HTML. (#228, thanks @cderv)
4145

4246
* Added padding to the top of the sidebar. (#294)
4347

R/staticimports.R

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,19 @@ get_package_version <- function(pkg) {
3030

3131
is_installed <- function(pkg, version = NULL) {
3232
installed <- isNamespaceLoaded(pkg) || nzchar(system_file_cached(package = pkg))
33+
3334
if (is.null(version)) {
3435
return(installed)
3536
}
37+
38+
if (!is.character(version) && !inherits(version, "numeric_version")) {
39+
# Avoid https://bugs.r-project.org/show_bug.cgi?id=18548
40+
alert <- if (identical(Sys.getenv("TESTTHAT"), "true")) stop else warning
41+
alert("`version` must be a character string or a `package_version` or `numeric_version` object.")
42+
43+
version <- numeric_version(sprintf("%0.9g", version))
44+
}
45+
3646
installed && isTRUE(get_package_version(pkg) >= version)
3747
}
3848

README.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ The goal of **flexdashboard** is to make it easy to create interactive dashboard
2525

2626
* [Storyboard](https://pkgs.rstudio.com/flexdashboard/articles/using.html#storyboards-1) layouts for presenting sequences of visualizations and related commentary.
2727

28-
* Optionally use [Shiny](https://shiny.rstudio.com) to drive visualizations dynamically.
28+
* Optionally use [Shiny](https://shiny.posit.co/) to drive visualizations dynamically.
2929

3030
* Optionally use [bslib](https://rstudio.github.io/bslib/) to easily [customize main colors, fonts, and more](https://pkgs.rstudio.com/flexdashboard/articles/theme.html).
3131

3232
Learn more about **flexdashboard**: <https://pkgs.rstudio.com/flexdashboard>
3333

3434
## Examples
3535

36-
<a href="https://beta.rstudioconnect.com/jjallaire/htmlwidgets-d3heatmap/"><img src="https://pkgs.rstudio.com/flexdashboard/articles/images/htmlwidgets-d3heatmap.png" width=250 height=200 alt="example flexdashboard with d3 heatmap"></img></a>&nbsp;&nbsp;<a href="https://beta.rstudioconnect.com/jjallaire/htmlwidgets-ggplotly-geoms/"><img src="https://pkgs.rstudio.com/flexdashboard/articles/images/plotly.png" width=250 height=200 alt="example flexdashboard using ggplotly"></img></a>&nbsp;&nbsp;<a href="https://jjallaire.shinyapps.io/shiny-biclust/"><img src="https://pkgs.rstudio.com/flexdashboard/articles/images/shiny-biclust.png" width=250 height=200 alt="example flexdashboard using Shiny"></img></a>
36+
<a href="https://testing-apps.shinyapps.io/flexdashboard-d3heatmap/"><img src="https://pkgs.rstudio.com/flexdashboard/articles/images/htmlwidgets-d3heatmap.png" width=250 height=200 alt="example flexdashboard with d3 heatmap"></img></a>&nbsp;&nbsp;<a href="https://testing-apps.shinyapps.io/flexdashboard-ggplotly/"><img src="https://pkgs.rstudio.com/flexdashboard/articles/images/plotly.png" width=250 height=200 alt="example flexdashboard using ggplotly"></img></a>&nbsp;&nbsp;<a href="https://jjallaire.shinyapps.io/shiny-biclust/"><img src="https://pkgs.rstudio.com/flexdashboard/articles/images/shiny-biclust.png" width=250 height=200 alt="example flexdashboard using Shiny"></img></a>
3737

3838
View more examples [here](https://pkgs.rstudio.com/flexdashboard/articles/examples.html).
3939

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dashboards for R, using R Markdown.
2929
layouts for presenting sequences of visualizations and related
3030
commentary.
3131

32-
- Optionally use [Shiny](https://shiny.rstudio.com) to drive
32+
- Optionally use [Shiny](https://shiny.posit.co/) to drive
3333
visualizations dynamically.
3434

3535
- Optionally use [bslib](https://rstudio.github.io/bslib/) to easily
@@ -41,7 +41,7 @@ Learn more about **flexdashboard**:
4141

4242
## Examples
4343

44-
<a href="https://beta.rstudioconnect.com/jjallaire/htmlwidgets-d3heatmap/"><img src="https://pkgs.rstudio.com/flexdashboard/articles/images/htmlwidgets-d3heatmap.png" width=250 height=200 alt="example flexdashboard with d3 heatmap"></img></a>  <a href="https://beta.rstudioconnect.com/jjallaire/htmlwidgets-ggplotly-geoms/"><img src="https://pkgs.rstudio.com/flexdashboard/articles/images/plotly.png" width=250 height=200 alt="example flexdashboard using ggplotly"></img></a>  <a href="https://jjallaire.shinyapps.io/shiny-biclust/"><img src="https://pkgs.rstudio.com/flexdashboard/articles/images/shiny-biclust.png" width=250 height=200 alt="example flexdashboard using Shiny"></img></a>
44+
<a href="https://testing-apps.shinyapps.io/flexdashboard-d3heatmap/"><img src="https://pkgs.rstudio.com/flexdashboard/articles/images/htmlwidgets-d3heatmap.png" width=250 height=200 alt="example flexdashboard with d3 heatmap"></img></a>  <a href="https://testing-apps.shinyapps.io/flexdashboard-ggplotly/"><img src="https://pkgs.rstudio.com/flexdashboard/articles/images/plotly.png" width=250 height=200 alt="example flexdashboard using ggplotly"></img></a>  <a href="https://jjallaire.shinyapps.io/shiny-biclust/"><img src="https://pkgs.rstudio.com/flexdashboard/articles/images/shiny-biclust.png" width=250 height=200 alt="example flexdashboard using Shiny"></img></a>
4545

4646
View more examples
4747
[here](https://pkgs.rstudio.com/flexdashboard/articles/examples.html).

cran-comments.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## R CMD check results
2+
3+
0 errors | 0 warnings | 0 note
4+
5+
New Maintainer: Garrick Aden-Buie <[email protected]>
6+
7+
New maintainer:
8+
Garrick Aden-Buie <[email protected]>
9+
Old maintainer(s):
10+
Carson Sievert <[email protected]>
11+
12+
## revdepcheck results
13+
14+
We checked 14 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.
15+
16+
* We saw 0 new problems
17+
* We failed to check 0 packages
18+

0 commit comments

Comments
 (0)