~hrbrmstr/wand

0385108f92cdd07dfb00581a7977b9beb73f2f89 — hrbrmstr 2 years ago 14c4c32
pre-cran flight check
4 files changed, 4 insertions(+), 4 deletions(-)

M R/get-content-type.R
M R/guess-content-type.R
M man/get_content_type.Rd
M man/guess_content_type.Rd
M R/get-content-type.R => R/get-content-type.R +1 -1
@@ 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)

M R/guess-content-type.R => R/guess-content-type.R +1 -1
@@ 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)

M man/get_content_type.Rd => man/get_content_type.Rd +1 -1
@@ 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"))
}

M man/guess_content_type.Rd => man/guess_content_type.Rd +1 -1
@@ 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"))
}