From 6aa638797c4f282c5d25e00631fa0b77ca2bb24c Mon Sep 17 00:00:00 2001 From: Michael Sumner Date: Wed, 8 May 2024 20:57:38 +1000 Subject: [PATCH] dev.capture() not dev.cap() (#43) --- R/native.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/native.R b/R/native.R index 80f371c..e44e6ca 100644 --- a/R/native.R +++ b/R/native.R @@ -5,7 +5,7 @@ #' red, green, blue, and alpha, so that each get 8 bit, equivalent to 256 #' values. It is very seldom that an R user is subjected to this representation, #' but it is present in the `nativeRaster` format which can be obtained from -#' e.g. capturing the content of a graphic device (using `dev.cap()`) or reading +#' e.g. capturing the content of a graphic device (using `dev.capture()`) or reading #' in PNG files using `png::readPNG(native = TRUE)`. It is very rare that you #' might need to convert back and forth between this format, but it is provided #' here for completeness. @@ -50,4 +50,4 @@ encode_native_c <- function(colour) { } decode_native_c <- function(colour) { .Call(`farver_decode_native_c`, as.integer(colour)) -} \ No newline at end of file +}