diff --git a/R/plotly_data.R b/R/plotly_data.R index e31288096c..38dcb8c780 100644 --- a/R/plotly_data.R +++ b/R/plotly_data.R @@ -87,17 +87,17 @@ print.plotly_data <- function(x, ...) { #' Highlight/query data based on primary key #' -#' This function simply creates an object of class -#' [`crosstalk::SharedData`][crosstalk::SharedData]. The reason it exists is to -#' make it easier to teach others how to leverage its functionality in plotly. -#' It also makes it more discoverable if one is already aware of [highlight()]. +#' This function simply creates an object of class [`crosstalk::SharedData`]. +#' The reason it exists is to make it easier to teach others how to leverage its +#' functionality in plotly. It also makes it more discoverable if one is already +#' aware of [highlight()]. #' #' @param x a plotly visualization or a `data.frame`. #' @param ... arguments passed to #' [`crosstalk::SharedData$new()`][crosstalk::SharedData]. #' @export #' @author Carson Sievert -#' @return An object of class [`crosstalk::SharedData`][crosstalk::SharedData]. +#' @return An object of class [`crosstalk::SharedData`]. #' @seealso [highlight] highlight_key <- function(x, ...) { UseMethod("highlight_key") diff --git a/man/highlight_key.Rd b/man/highlight_key.Rd index a7c5c6f089..079921cd34 100644 --- a/man/highlight_key.Rd +++ b/man/highlight_key.Rd @@ -16,10 +16,10 @@ highlight_key(x, ...) An object of class \code{\link[crosstalk:SharedData]{crosstalk::SharedData}}. } \description{ -This function simply creates an object of class -\code{\link[crosstalk:SharedData]{crosstalk::SharedData}}. The reason it exists is to -make it easier to teach others how to leverage its functionality in plotly. -It also makes it more discoverable if one is already aware of \code{\link[=highlight]{highlight()}}. +This function simply creates an object of class \code{\link[crosstalk:SharedData]{crosstalk::SharedData}}. +The reason it exists is to make it easier to teach others how to leverage its +functionality in plotly. It also makes it more discoverable if one is already +aware of \code{\link[=highlight]{highlight()}}. } \seealso{ \link{highlight}