Skip to content

Commit f4e999f

Browse files
committed
refactor: simplify roxygen2 syntax
1 parent 5d6c288 commit f4e999f

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

R/plotly_data.R

+5-5
Original file line numberDiff line numberDiff line change
@@ -87,17 +87,17 @@ print.plotly_data <- function(x, ...) {
8787

8888
#' Highlight/query data based on primary key
8989
#'
90-
#' This function simply creates an object of class
91-
#' [`crosstalk::SharedData`][crosstalk::SharedData]. The reason it exists is to
92-
#' make it easier to teach others how to leverage its functionality in plotly.
93-
#' It also makes it more discoverable if one is already aware of [highlight()].
90+
#' This function simply creates an object of class [`crosstalk::SharedData`].
91+
#' The reason it exists is to make it easier to teach others how to leverage its
92+
#' functionality in plotly. It also makes it more discoverable if one is already
93+
#' aware of [highlight()].
9494
#'
9595
#' @param x a plotly visualization or a `data.frame`.
9696
#' @param ... arguments passed to
9797
#' [`crosstalk::SharedData$new()`][crosstalk::SharedData].
9898
#' @export
9999
#' @author Carson Sievert
100-
#' @return An object of class [`crosstalk::SharedData`][crosstalk::SharedData].
100+
#' @return An object of class [`crosstalk::SharedData`].
101101
#' @seealso [highlight]
102102
highlight_key <- function(x, ...) {
103103
UseMethod("highlight_key")

man/highlight_key.Rd

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)