-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #460 from Appsilon/pre-release-changes-0.5.1
Pre release changes 0.5.1
- Loading branch information
Showing
5 changed files
with
58 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Type: Package | ||
Package: shiny.semantic | ||
Title: Semantic UI Support for Shiny | ||
Version: 0.5.0.9003 | ||
Version: 0.5.1 | ||
Authors@R: c(person("Filip", "Stachura", email = "[email protected]", role = "aut"), | ||
person("Dominik", "Krzeminski", role = "aut"), | ||
person("Krystian", "Igras", role = "aut"), | ||
|
@@ -10,6 +10,7 @@ Authors@R: c(person("Filip", "Stachura", email = "[email protected]", role = "a | |
person("Jakub", "Chojna", email = "[email protected]", role = "aut"), | ||
person("Olga", "Mierzwa-Sulima", email = "[email protected]", role = "aut"), | ||
person("Jakub", "Nowicki", email = "[email protected]", role = c("aut", "cre")), | ||
person("Tymoteusz", "Makowski", email = "[email protected]", role = "aut"), | ||
person("Ashley", "Baldry", role = "ctb"), | ||
person("Pedro", "Manuel Coutinho da Silva", email = "[email protected]", role = "ctb"), | ||
person("Kamil", "Żyła", email = "[email protected]", role = "ctb"), | ||
|
@@ -39,6 +40,7 @@ Imports: | |
stats | ||
Suggests: | ||
covr, | ||
chromote, | ||
dplyr, | ||
DT, | ||
gapminder, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#' Semantic UI wrapper for Shiny | ||
#' | ||
#' | ||
#' @description With this library it’s easy to wrap Shiny with Semantic UI | ||
#' components. Add a few simple lines of code and some CSS classes to give | ||
#' your UI a fresh, modern and highly interactive look. | ||
#' | ||
#' @section Options: | ||
#' There are a number of global options that affect shiny.semantic as well as | ||
#' Shiny behavior.The options can be set globally with `options()` | ||
#' \describe{ | ||
#' \item{shiny.custom.semantic.cdn (defaults to `NULL`)}{This controls from where the css | ||
#' and javascripts will be downloaded.} | ||
#' \item{shiny.custom.semantic (defaults to `NULL`)}{This allows to set custom local path | ||
#' to semantic dependencies.} | ||
#' \item{shiny.minified (defaults to `TRUE`)}{Defines including JavaScript as a minified or | ||
#' un-minified file.} | ||
#' } | ||
#' | ||
#' @keywords internal | ||
"_PACKAGE" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# ❯ checking for detritus in the temp directory ... NOTE | ||
# Found the following files/directories: | ||
# ‘Crashpad’ | ||
# | ||
# 0 errors ✔ | 0 warnings ✔ | 1 note ✖ | ||
# Error: Error: R CMD check found NOTEs | ||
# Flavors: ubuntu-22.04 (devel), ubuntu-22.04 (release), ubuntu-22.04 (oldrel) | ||
|
||
# References (shinytest2 github): | ||
# 1. https://github.com/rstudio/shinytest2/blob/main/cran-comments.md | ||
# 2. https://github.com/rstudio/shinytest2/blob/main/tests/testthat/setup-disable-crashpad.R | ||
|
||
# Disable crash reporting on CRAN machines. (Can't get the report anyways) | ||
chromote::set_chrome_args(c( | ||
# https://peter.sh/experiments/chromium-command-line-switches/#disable-crash-reporter | ||
#> Disable crash reporter for headless. It is enabled by default in official builds | ||
"--disable-crash-reporter", | ||
chromote::default_chrome_args() | ||
)) | ||
|
||
# Make sure the temp folder is removed when testing is complete | ||
withr::defer({ | ||
|
||
# Clean up chromote sessions | ||
gc() # Run R6 finalizer methods | ||
Sys.sleep(2) # Wait for any supervisors to exit | ||
|
||
# Delete the Crashpad folder if it exists | ||
unlink(file.path(tempdir(), "Crashpad"), recursive = TRUE) | ||
}, envir = testthat::teardown_env()) |