From 0385108f92cdd07dfb00581a7977b9beb73f2f89 Mon Sep 17 00:00:00 2001 From: hrbrmstr Date: Sun, 16 Sep 2018 14:53:25 -0400 Subject: [PATCH] pre-cran flight check --- R/get-content-type.R | 2 +- R/guess-content-type.R | 2 +- man/get_content_type.Rd | 2 +- man/guess_content_type.Rd | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/R/get-content-type.R b/R/get-content-type.R index cad1721..baf7661 100644 --- a/R/get-content-type.R +++ b/R/get-content-type.R @@ -14,7 +14,7 @@ #' @return character vector #' @export #' @examples -#' get_content_type(system.file("extdat", "test.pdf", package="simplemagic")) +#' get_content_type(system.file("extdat", "test.pdf", package="wand")) get_content_type <- function(path) { path <- path.expand(path) diff --git a/R/guess-content-type.R b/R/guess-content-type.R index ef58e2c..836f5a3 100644 --- a/R/guess-content-type.R +++ b/R/guess-content-type.R @@ -15,7 +15,7 @@ #' @return character vector #' @export #' @examples -#' guess_content_type(system.file("extdat", "test.pdf", package="simplemagic")) +#' guess_content_type(system.file("extdat", "test.pdf", package="wand")) guess_content_type <- function(path) { path <- path.expand(path) diff --git a/man/get_content_type.Rd b/man/get_content_type.Rd index ccef273..f46020b 100644 --- a/man/get_content_type.Rd +++ b/man/get_content_type.Rd @@ -23,5 +23,5 @@ Initial in-R header mapping logic borrowed from \code{MimeTypes.java} from \href{https://github.com/Servoy/servoy-client}{servoy-client} } \examples{ -get_content_type(system.file("extdat", "test.pdf", package="simplemagic")) +get_content_type(system.file("extdat", "test.pdf", package="wand")) } diff --git a/man/guess_content_type.Rd b/man/guess_content_type.Rd index 2193c9d..f921388 100644 --- a/man/guess_content_type.Rd +++ b/man/guess_content_type.Rd @@ -24,5 +24,5 @@ Incorporates standard IANA MIME extension mappings and those from \href{https://s-randomfiles.s3.amazonaws.com/mime/allMimeTypes.json}{allMimeTypes.json}. } \examples{ -guess_content_type(system.file("extdat", "test.pdf", package="simplemagic")) +guess_content_type(system.file("extdat", "test.pdf", package="wand")) }