#' @title Don't use
#' @description Don't use this function.
#' @details This function simply call an `rgdal` function, so to be able to
#' include package `rgdal` among imported dependencies.
#' This is necessary since using `raster` without having `rgdal` installed
#' causes troublings in R 4.
#' @importFrom rgdal GDALinfo
#' @return NULL
dontuse <- function() {
suppressWarnings(GDALinfo(
system.file("tif/lc.tif", package="stars")
))
message("Disobedient.")
invisible(NULL)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.