mirror of
https://github.com/rstudio/shiny.git
synced 2026-04-29 03:00:45 -04:00
Suppress staticdocs test when run on a built package
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
context("staticdocs")
|
||||
|
||||
test_that("All man pages have an entry in staticdocs/index.R", {
|
||||
|
||||
if (!all(file.exists(c('../../staticdocs', '../../man')))) {
|
||||
# This test works only when run against a package directory
|
||||
return()
|
||||
}
|
||||
# Known not to be indexed
|
||||
known_unindexed <- c("shiny-package")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user