Skip to content

Commit

Permalink
add miniUI and future to suggests
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHWade committed Aug 31, 2024
1 parent c90a94f commit dee7541
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ Imports:
yaml
Suggests:
AzureRMR,
future,
grDevices,
knitr,
miniUI,
mockr,
promises,
rmarkdown,
Expand Down
1 change: 1 addition & 0 deletions R/addin_chatgpt.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#' gptstudio_chat()
#' }
gptstudio_chat <- function(host = getOption("shiny.host", "127.0.0.1")) {
check_installed(c("miniUI", "future"))
rstudioapi::verifyAvailable()

port <- find_available_port()
Expand Down
1 change: 1 addition & 0 deletions R/run_chatgpt_app.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ gptstudio_run_chat_app <- function(ide_colors = get_ide_theme_info(),
code_theme_url = get_highlightjs_theme(),
host = getOption("shiny.host", "127.0.0.1"),
port = getOption("shiny.port")) {
check_installed("future")
ui <- mod_app_ui("app", ide_colors, code_theme_url)

server <- function(input, output, session) {
Expand Down

0 comments on commit dee7541

Please sign in to comment.