Skip to content

Commit 8ec45bc

Browse files
gadenbuiecpsievert
andauthored
is_shiny_runtime() is FALSE if knitr is not installed (#553)
Co-authored-by: gadenbuie <gadenbuie@users.noreply.github.com> Co-authored-by: Carson Sievert <cpsievert1@gmail.com>
1 parent dc27605 commit 8ec45bc

23 files changed

Lines changed: 10 additions & 5 deletions

R/sysdata.rda

1.53 KB
Binary file not shown.

R/utils.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ is_hosted_app <- function() {
4444
}
4545

4646
is_shiny_runtime <- function() {
47+
if (!is_installed("knitr")) return(FALSE)
4748
isTRUE(grepl("^shiny", knitr::opts_knit$get("rmarkdown.runtime")))
4849
}
4950

inst/css-precompiled/5/bootstrap.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
76 Bytes
Binary file not shown.
108 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)