Skip to content

Commit

Permalink
fix namespace open_conn
Browse files Browse the repository at this point in the history
  • Loading branch information
gogonzo committed Oct 30, 2023
1 parent c334a76 commit 3eaf0b6
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 15 deletions.
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ S3method(ui_nested_tabs,teal_modules)
export("%>%")
export(TealReportCard)
export(as.teal_slices)
export(close_conn)
export(ddl)
export(ddl_run)
export(example_module)
Expand All @@ -30,6 +31,7 @@ export(landing_popup_module)
export(module)
export(modules)
export(new_tdata)
export(open_conn)
export(report_card_template)
export(reporter_previewer_module)
export(show_rcode_modal)
Expand Down
5 changes: 2 additions & 3 deletions R/ddl.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@
#' - `join_keys` (`JoinKeys`) object
#' `...` can be handled automatically by [ddl_run()] but
#'
#' @param join_keys (`JoinKeys`)\cr
#' object
#'
#' @param input_mask (`list` named)\cr
#' arguments to be substituted in the `code`. These
#' argument are going to replace arguments set through
Expand Down Expand Up @@ -162,9 +159,11 @@ submit_button_server <- function(id, ...) {
}

# todo: to remove -------------
#' @export
open_conn <- function(username, password) {
if (password != "pass") stop("Invalid credentials. 'pass' is the password") else TRUE
}
#' @export
close_conn <- function(conn) {
message("closed")
return(NULL)
Expand Down
11 changes: 9 additions & 2 deletions man/ddl.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 0 additions & 9 deletions man/get_join_keys.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/submit_button_module.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3eaf0b6

Please sign in to comment.