diff --git a/DESCRIPTION b/DESCRIPTION index e38afba..746b668 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,9 +1,9 @@ Package: ximage Title: Draw Images of Raster Data and Related Adornments -Version: 0.0.0.9012 +Version: 0.0.0.9013 Authors@R: c(person("Michael D.", "Sumner", , "mdsumner@gmail.com", role = c("aut", "cre")), - person("Chrsi", "Toney", role = "ctb")) + person("Chris", "Toney", role = "ctb")) Description: Draw images easily and as if doing that was considered desirable or even essential to be able to do. Set up a plot with an image, specify where that image should be placed. Image plot by default @@ -18,6 +18,6 @@ Roxygen: list(markdown = TRUE) Depends: R (>= 2.10) LazyData: true -RoxygenNote: 7.3.0 +RoxygenNote: 7.3.2 Imports: palr diff --git a/R/ximage.R b/R/ximage.R index 8741bfb..a822bff 100644 --- a/R/ximage.R +++ b/R/ximage.R @@ -275,7 +275,8 @@ ximage.default <- function(x, extent = NULL, zlim = NULL, add = FALSE, ..., xlab } if (!add) plot(extent[1:2], extent[3:4], type = "n", ..., xaxs = "i", yaxs = "i", xlab = xlab, ylab = ylab) - if (anyNA(x)) x[is.na(x)] <- 1 + #if (anyNA(x)) x[is.na(x)] <- 1 + #browser() graphics::rasterImage(x, extent[1], extent[3], extent[2], extent[4], interpolate = FALSE) invisible(list(x = x, extent = extent)) } diff --git a/man/ximage-package.Rd b/man/ximage-package.Rd index be374ef..d7140ae 100644 --- a/man/ximage-package.Rd +++ b/man/ximage-package.Rd @@ -12,7 +12,7 @@ Draw images easily and as if doing that was considered desirable or even essenti Other contributors: \itemize{ - \item Chrsi Toney [contributor] + \item Chris Toney [contributor] } }