From 5cd581b6607e094e6116dba6598f1b8246f1dc9d Mon Sep 17 00:00:00 2001 From: Dean Attali Date: Tue, 30 Jul 2024 14:40:40 -0400 Subject: [PATCH] small cran check fixes --- R/pageSpinner.R | 4 ++-- R/withSpinner.R | 2 +- man/showHidePage.Rd | 2 +- man/withSpinner.Rd | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/R/pageSpinner.R b/R/pageSpinner.R index 9d0ec13..b9e5eed 100644 --- a/R/pageSpinner.R +++ b/R/pageSpinner.R @@ -121,7 +121,7 @@ showPageSpinner <- function( #' @export #' @rdname showHidePage hidePageSpinner <- function() { - removeUI("#shinycssloaders-global-spinner", immediate = TRUE) - removeUI(".global-spinner-css", immediate = TRUE) + shiny::removeUI("#shinycssloaders-global-spinner", immediate = TRUE) + shiny::removeUI(".global-spinner-css", immediate = TRUE) invisible(NULL) } diff --git a/R/withSpinner.R b/R/withSpinner.R index 8664e8a..5f16f71 100644 --- a/R/withSpinner.R +++ b/R/withSpinner.R @@ -9,7 +9,7 @@ #' Use [showPageSpinner()] to show a spinner on the entire page instead of individual outputs. #' @param ui_element A UI element that should be wrapped with a spinner when the corresponding output is being calculated. #' @param type The type of spinner to use. Valid values are integers between 0-8 (0 means no spinner). Check out -#' \url{https://daattali.com/shiny/shinycssloaders-demo} to see the different types of spinners. +#' \url{https://daattali.com/shiny/shinycssloaders-demo/} to see the different types of spinners. #' You can also use your own custom image using the `image` parameter. #' @param color The color of the spinner in hex format. Ignored if `image` is used. #' @param size The size of the spinner, relative to its default size (default is 1, a size of 2 means twice as large). diff --git a/man/showHidePage.Rd b/man/showHidePage.Rd index a10bf12..e8fa7f9 100644 --- a/man/showHidePage.Rd +++ b/man/showHidePage.Rd @@ -33,7 +33,7 @@ in order to have the Shiny app visible in the background, eg. \code{"#FFFFFFD0"} \code{"rgba(0, 0, 0, 0.7)"}.} \item{type}{The type of spinner to use. Valid values are integers between 0-8 (0 means no spinner). Check out -\url{https://daattali.com/shiny/shinycssloaders-demo} to see the different types of spinners. +\url{https://daattali.com/shiny/shinycssloaders-demo/} to see the different types of spinners. You can also use your own custom image using the \code{image} parameter.} \item{color}{The color of the spinner in hex format. Ignored if \code{image} is used.} diff --git a/man/withSpinner.Rd b/man/withSpinner.Rd index e292659..9569d69 100644 --- a/man/withSpinner.Rd +++ b/man/withSpinner.Rd @@ -24,7 +24,7 @@ withSpinner( \item{ui_element}{A UI element that should be wrapped with a spinner when the corresponding output is being calculated.} \item{type}{The type of spinner to use. Valid values are integers between 0-8 (0 means no spinner). Check out -\url{https://daattali.com/shiny/shinycssloaders-demo} to see the different types of spinners. +\url{https://daattali.com/shiny/shinycssloaders-demo/} to see the different types of spinners. You can also use your own custom image using the \code{image} parameter.} \item{color}{The color of the spinner in hex format. Ignored if \code{image} is used.}