diff --git a/R/app-driver.R b/R/app-driver.R index b6e0af77..715b2ce9 100644 --- a/R/app-driver.R +++ b/R/app-driver.R @@ -994,8 +994,8 @@ AppDriver <- R6Class( # nolint #' snapshot, and return either `TRUE` or `FALSE`. #' #' `compare` defaults to a function that wraps around - #' [`compare_screenshot_threshold(old, new, threshold = threshold, - #' kernel_size = kernel_size, quiet = quiet)`]. Note: if `threshold` is + #' `compare_screenshot_threshold(old, new, threshold = threshold, + #' kernel_size = kernel_size, quiet = quiet)`. Note: if `threshold` is #' `NULL` (default), `compare` will behave as if #' [`testthat::compare_file_binary()`] was provided, comparing the two #' images byte-by-byte. diff --git a/man/AppDriver.Rd b/man/AppDriver.Rd index 4fcb94ed..389008c4 100644 --- a/man/AppDriver.Rd +++ b/man/AppDriver.Rd @@ -2210,8 +2210,7 @@ The function should take two inputs, the paths to the \code{old} and \code{new} snapshot, and return either \code{TRUE} or \code{FALSE}. \code{compare} defaults to a function that wraps around -\code{\link[=compare_screenshot_threshold(old, new, threshold = threshold, -kernel_size = kernel_size, quiet = quiet)]{compare_screenshot_threshold(old, new, threshold = threshold, kernel_size = kernel_size, quiet = quiet)}}. Note: if \code{threshold} is +\code{compare_screenshot_threshold(old, new, threshold = threshold, kernel_size = kernel_size, quiet = quiet)}. Note: if \code{threshold} is \code{NULL} (default), \code{compare} will behave as if \code{\link[testthat:expect_snapshot_file]{testthat::compare_file_binary()}} was provided, comparing the two images byte-by-byte.}