Skip to content

Commit

Permalink
CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
vnijs committed Mar 21, 2019
1 parent 21396c7 commit 1dfa3c9
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build/build_radiant.R
Expand Up @@ -6,6 +6,14 @@ setwd(rstudioapi::getActiveProject())
curr <- getwd()
pkg <- basename(curr)


## see commit for an application
## https://github.com/hrbrmstr/hrbraddins/commit/9cbd162def065593d4850c387ce581b8f911cf03
# fvec <- list.files(".", pattern = "(*.R$|*.r)", recursive = TRUE)
# for (f in fvec) {
# tools::showNonASCIIfile(f)
# }

## building shinyAce packages for mac and windows
rv <- R.Version()
rv <- paste0(rv$major, ".", strsplit(rv$minor, ".", fixed = TRUE)[[1]][1])
Expand Down
17 changes: 17 additions & 0 deletions inst/app/global.R
Expand Up @@ -421,6 +421,23 @@ knit_print.data.frame <- function(x, ...) {
# knitr::asis_output(res)
# }

# registerS3method("knitknit_print", "datatables", knit_print.datatables)
# knit_print.datatables <- function(x, ...) {
# # res <- shiny::knit_print.shiny.render.function(
# # shiny::knit_print.shiny.render.function(
# DT::renderDataTable(x)
# # )
# # knitr::asis_output(res)
# }

# knit_print.datatables <- function(x, ...) {
# # shiny::knit_print.shiny.render.function(
# res <- shiny::knit_print.shiny.render.function(
# DT::renderDataTable(x)
# )
# knitr::asis_output(res)
# }

options(
radiant.nav_ui =
list(
Expand Down

0 comments on commit 1dfa3c9

Please sign in to comment.