Browse Source

Fix CRAN check notes

- missing closing parenthesis in an example
- DT URL reported changed
- remove pander from Imports
tags/0.2.0^2
Maxime Wack 2 years ago
parent
commit
ec5315bdf7
3 changed files with 2 additions and 3 deletions
  1. +0
    -1
      DESCRIPTION
  2. +1
    -1
      R/build.R
  3. +1
    -1
      R/output.R

+ 0
- 1
DESCRIPTION View File

@@ -20,7 +20,6 @@ Imports:
dplyr,
DT,
htmltools,
pander,
rlang
Suggests:
knitr,


+ 1
- 1
R/build.R View File

@@ -145,7 +145,7 @@ varColumn <- function(data, labels = NULL) {
#' "Mean" = ~ if (is.normal(.)) mean(.),
#' "sd" = ~ if (is.normal(.)) sd(.),
#' "Med" = stats::median,
#' "IQR" = ~ if(!is.factor(.)) IQR(.))
#' "IQR" = ~ if(!is.factor(.)) IQR(.)))
#'
#' # With labels
#' mtcars %>% desctable(labels = c(hp = "Horse Power",


+ 1
- 1
R/output.R View File

@@ -79,7 +79,7 @@ pander.desctable <- function(x = NULL,
#' @note
#' You are recommended to escape the table content for security reasons (e.g. XSS attacks) when using this function in Shiny or any other dynamic web applications.
#' @references
#' See \url{https://rstudio.github.io/DT} for the full documentation.
#' See \url{https://rstudio.github.io/DT/} for the full documentation.
#' @examples
#' library(DT)
#'


Loading…
Cancel
Save