diff --git a/DESCRIPTION b/DESCRIPTION index 79b479b8f..64552c5ab 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -55,7 +55,6 @@ Imports: teal.widgets (>= 0.4.3), utils Suggests: - DT (>= 0.3.0), knitr (>= 1.42), MultiAssayExperiment, rmarkdown (>= 2.23), diff --git a/vignettes/teal-slice.Rmd b/vignettes/teal-slice.Rmd index e7f13d85d..d9992cc9f 100644 --- a/vignettes/teal-slice.Rmd +++ b/vignettes/teal-slice.Rmd @@ -53,17 +53,12 @@ It also contains `shiny` modules (both UI and server functions) that make up the In a `teal` application the `FilteredData` object (`datasets`) is created automatically by `teal`'s `init` function and filter panel components are automatically placed on the right-hand side of the page. -Note that this example uses `shiny::dataTableOutput` and `shiny::renderDataTable`. -This can lead to issues with Bootstrap, especially version 4. -We recommend using `DT::dataTableOutput` and `DT::renderDataTable` if possible. See the `shiny` and `DT` documentation for more information. - To facilitate communication with `FilteredData`, we provide the filter panel API. The example below uses the `set_filter_state` function to set state and the state is specified with `teal_slices` and `teal_slice` functions. For details please see the *Filter panel for developers* vignette. -```{r warning=FALSE, message=FALSE, eval=requireNamespace("DT", quietly = TRUE)} +```{r warning=FALSE, message=FALSE} library(shiny) -library(DT) library(teal.slice) # create a FilteredData object