Skip to content

Commit 24eb8e2

Browse files
committed
Disable more examples because winbuilder is so slow
1 parent 706426f commit 24eb8e2

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

R/fx.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@
1414
#' @family image
1515
#' @param expression string with an [fx expression](https://www.imagemagick.org/script/fx.php)
1616
#' @examples # Show image_fx() expression
17-
#' if(magick_config()$version > "6.8.8"){
1817
#' img <- image_convert(logo, colorspace = "Gray")
19-
#' image_fx(img, expression = "pow(p, 0.5)")
20-
#' #image_fx(img, expression = "rand()")
21-
#'
2218
#' gradient_x <- image_convolve(img, kernel = "Prewitt")
2319
#' gradient_y <- image_convolve(img, kernel = "Prewitt:90")
2420
#' gradient <- c(image_fx(gradient_x, expression = "p^2"),
2521
#' image_fx(gradient_y, expression = "p^2"))
2622
#' gradient <- image_flatten(gradient, operator = "Plus")
2723
#' #gradient <- image_fx(gradient, expression = "sqrt(p)")
2824
#' gradient
25+
#'
26+
#' \donttest{
27+
#' image_fx(img, expression = "pow(p, 0.5)")
28+
#' image_fx(img, expression = "rand()")
2929
#' }
3030
image_fx <- function(image, expression = "p", channel = NULL){
3131
assert_image(image)

man/fx.Rd

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)