Skip to content

Commit 6918768

Browse files
committed
Remove curl from example
1 parent 1312aa3 commit 6918768

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

R/edit.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555
#' par(ask=FALSE)
5656
#' plot(raster)
5757
#'
58-
#' # Read bitmap arrays from from other image packages
59-
#' curl::curl_download("https://jeroen.github.io/images/example.webp", "example.webp")
58+
#' # Read bitmap arrays from other image packages
59+
#' download.file("https://jeroen.github.io/images/example.webp", "example.webp", mode = 'wb')
6060
#' if(require(webp)) image_read(webp::read_webp("example.webp"))
6161
#' unlink(c("example.webp", "output.png"))
6262
image_read <- function(path, density = NULL, depth = NULL, strip = FALSE, coalesce = TRUE, defines = NULL){

man/editing.Rd

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

0 commit comments

Comments
 (0)