diff --git a/R/images.R b/R/images.R index fe51ac3..c753653 100644 --- a/R/images.R +++ b/R/images.R @@ -18,6 +18,7 @@ #' @examples \dontrun{ #' curl::curl_download('https://jeroen.github.io/images/blackbear.mp4', 'blackbear.mp4') #' av_video_images('blackbear.mp4', fps = 1, trim = "10:20") +#' stop("This should error") #' } av_video_images <- function(video, destdir = tempfile(), format = 'jpg', fps = NULL, trim = NULL){ stopifnot(length(video) == 1) diff --git a/man/av_video_images.Rd b/man/av_video_images.Rd index e17e231..aa53ac0 100644 --- a/man/av_video_images.Rd +++ b/man/av_video_images.Rd @@ -38,5 +38,6 @@ will output one image for every 5 sec of video. \dontrun{ curl::curl_download('https://jeroen.github.io/images/blackbear.mp4', 'blackbear.mp4') av_video_images('blackbear.mp4', fps = 1, trim = "10:20") +stop("This should error") } }