mirror of
https://github.com/rstudio/shiny.git
synced 2026-01-14 01:18:07 -05:00
* Sassify shiny.css (& make it themable); gut json2 dependency (was there for IE8 support) * Always serve a compressed bundle; remove shiny.css * Use getCurrentTheme() and make sure shinyDependencies is a function * Make sure we have sass/rprojroot before running checkBuilt.sh * Need repos set * Compare against bleeding edge of sass * Perform built check with testthat (copying the approach taken for pkgdown checks) * Update tests/testthat/test-built-files.R Co-authored-by: Winston Chang <winston@stdout.org> Co-authored-by: Winston Chang <winston@stdout.org>
15 lines
413 B
R
15 lines
413 B
R
|
|
test_that("pkgdown works", {
|
|
skip_on_cran()
|
|
skip_if_not_installed("rprojroot")
|
|
|
|
# These tests can only be run when we have access to the source
|
|
# (i.e., they are skipped with `R CMD check`)
|
|
pkgdown_file <- "../../tools/documentation/checkPkgdown.R"
|
|
if (file.exists(pkgdown_file)) {
|
|
source(pkgdown_file)
|
|
} else {
|
|
skip("Not able to verify whether the pkgdown reference is up-to-date")
|
|
}
|
|
})
|