From 096a1b9ac6a910a7daa89e8a7df390198616b5c6 Mon Sep 17 00:00:00 2001 From: hrbrmstr Date: Sat, 27 Jul 2019 08:08:04 -0400 Subject: [PATCH] parameter docs --- R/guess-content-type.R | 2 +- man/guess_content_type.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/guess-content-type.R b/R/guess-content-type.R index 51b975c..04bcb94 100644 --- a/R/guess-content-type.R +++ b/R/guess-content-type.R @@ -8,7 +8,7 @@ #' @param path path to file #' @param not_found MIME type to use when the content cannot be guessed by #' file type. -#' @param custom_dbs a single data frames each with two columns: +#' @param custom_db a single data frames each with two columns: #' `mime_type` and `extension`. These sources will be used along with #' the built-in sources and will take priority over the built-in sources. #' Note that the `extension`s should be lower case as they are in the diff --git a/man/guess_content_type.Rd b/man/guess_content_type.Rd index 65845ca..f96d2d7 100644 --- a/man/guess_content_type.Rd +++ b/man/guess_content_type.Rd @@ -12,7 +12,7 @@ guess_content_type(path, not_found = "???", custom_db = NULL) \item{not_found}{MIME type to use when the content cannot be guessed by file type.} -\item{custom_dbs}{a single data frames each with two columns: +\item{custom_db}{a single data frames each with two columns: \code{mime_type} and \code{extension}. These sources will be used along with the built-in sources and will take priority over the built-in sources. Note that the \code{extension}s should be lower case as they are in the