Skip to content

Commit

Permalink
v2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pvictor committed Sep 18, 2024
1 parent b9cd0a2 commit d24d8e2
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: esquisse
Type: Package
Title: Explore and Visualize Your Data Interactively
Version: 2.0.0.9100
Version: 2.0.1
Authors@R: c(person("Fanny", "Meyer", role = c("aut")),
person("Victor", "Perrier", email = "victor.perrier@dreamrs.fr", role = c("aut", "cre")),
person("Ian", "Carroll", comment = "Faceting support", role = "ctb"),
Expand Down
6 changes: 3 additions & 3 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
## Test environments
* local Ubuntu 22.04.1 LTS install, R 4.4.0
* ubuntu 20.04, Windows 10, macOS (on GitHub Actions), R 4.4.0
* local Ubuntu 22.04.1 LTS install, R 4.4.1
* ubuntu 20.04, Windows 10, macOS (on GitHub Actions), R 4.4.1
* win-builder (devel)

## R CMD check results

0 errors | 0 warnings | 0 note

* This release include new features.
* Bugs fixes.

Thanks,

Expand Down
41 changes: 41 additions & 0 deletions examples/thematic.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
library(shiny)
library(ggplot2)
library(thematic)
# In order for auto/custom fonts to work properly, you'll want
# either the ragg (or showtext) package installed
library(ragg)

# If you want `{ragg}` to handle the font rendering in a Shiny app
options(shiny.useragg = TRUE)

# Call thematic_shiny() prior to launching the app, to change
# R plot theming defaults for all the plots generated in the app
thematic_shiny(font = "auto")

ui <- fluidPage(
# bslib makes it easy to customize CSS styles for things
# rendered by the browser, like tabsetPanel()
# https://rstudio.github.io/bslib
theme = bslib::bs_theme(
bg = "#002B36", fg = "#EEE8D5", primary = "#2AA198",
# bslib also makes it easy to import CSS fonts
base_font = bslib::font_google("Pacifico")
),

esquisse_ui(
id = "esquisse",
header = FALSE,
container = esquisse_container(height = "700px")
)
)

server <- function(input, output) {

esquisse_server(
id = "esquisse",
data_rv = reactive(palmerpenguins::penguins)
)

}

shinyApp(ui, server)

0 comments on commit d24d8e2

Please sign in to comment.