Skip to content

Commit 93ed1d1

Browse files
committed
make cran checks happy
1 parent 304df91 commit 93ed1d1

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

DESCRIPTION

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Imports:
2222
htmlwidgets (>= 0.6),
2323
jsonlite,
2424
magrittr,
25+
methods,
2526
rmarkdown,
2627
shiny
2728
Suggests:

R/api.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ callJS <- function() {
77
# initialization of the widget, so keep track of the desired function call
88
# by adding it to a list of functions that should be performed when the widget
99
# is ready
10-
if (is(message$id, "timevis")) {
10+
if (methods::is(message$id, "timevis")) {
1111
widget <- message$id
1212
message$id <- NULL
1313
widget$x$api

R/timevis.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
#' setSelection("3") %>%
180180
#' fitWindow(list(animation = FALSE))
181181
#'
182-
#' #----------------------- Items can be a single point or a range, and can contain HTML -----------------
182+
#' #------- Items can be a single point or a range, and can contain HTML -------
183183
#' timevis(
184184
#' data.frame(id = 1:2,
185185
#' content = c("one", "two<br><h3>HTML is supported</h3>"),

man/timevis.Rd

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

0 commit comments

Comments
 (0)