Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion editbl/R/eDT.R
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ eDTOutput <- function(id,...) {
#' @details All arguments except 'id' and 'env' can be normal objects or reactive objects.
#'
#' @param id `character(1)` module id
#' @param data `tbl`. The function will automatically cast to tbl if needed.
#' @param data `tbl`. When using non-standard tibble objects, install the required package implementing specific methods.
#' (`data.table`: dtplyr, spark: sparklyr, generic database: dbplyr,...).
#' While other tabular objects like `data.frame` are supported, explicitly casting to `tbl` is recommended.
#' @inheritParams DT::datatable
#' @param keys `character`. Defaults to all columns under the assumption that at least every row is unique.
#' @param format function accepting and returning a \code{\link[DT]{datatable}}
Expand Down
1 change: 1 addition & 0 deletions editbl/R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ castToTbl <- function(data){
if(dplyr::is.tbl(data)){
result <- data
} else if(inherits(data, 'data.table')){
requireNamespace('dtplyr')
result <- dtplyr::lazy_dt(data)
} else {
result <- dplyr::as_tibble(data)
Expand Down
33 changes: 14 additions & 19 deletions editbl/man/eDT.Rd

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

8 changes: 4 additions & 4 deletions editbl/man/standardizeArgument_colnames.Rd

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

13 changes: 6 additions & 7 deletions editbl/man/standardizeArgument_editable.Rd

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

Loading