From fe0fd619c5f9bfeaf58bd8bdc4471127f0ec26a3 Mon Sep 17 00:00:00 2001 From: dgrtwo Date: Mon, 16 May 2016 08:29:08 -0400 Subject: [PATCH] Added rights = NULL option to docs --- R/gutenberg_works.R | 3 ++- man/gutenberg_works.Rd | 6 ++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/R/gutenberg_works.R b/R/gutenberg_works.R index bcc14c0..a0170ad 100644 --- a/R/gutenberg_works.R +++ b/R/gutenberg_works.R @@ -14,7 +14,8 @@ #' without text (e.g. audiobooks) cannot be downloaded with #' \code{\link{gutenberg_download}} #' @param rights Values to allow in the \code{rights} field. By default allows -#' public domain in the US or "None", while excluding works under copyright +#' public domain in the US or "None", while excluding works under copyright. +#' NULL allows any value of Rights #' @param distinct Whether to return only one distinct combination of each #' title and gutenberg_author_id. If multiple occur (that fulfill the other #' conditions), it uses the one with the lowest ID diff --git a/man/gutenberg_works.Rd b/man/gutenberg_works.Rd index 9660596..60621cc 100644 --- a/man/gutenberg_works.Rd +++ b/man/gutenberg_works.Rd @@ -19,7 +19,8 @@ without text (e.g. audiobooks) cannot be downloaded with \code{\link{gutenberg_download}}} \item{rights}{Values to allow in the \code{rights} field. By default allows -public domain in the US or "None", while excluding works under copyright} +public domain in the US or "None", while excluding works under copyright. +NULL allows any value of Rights} \item{distinct}{Whether to return only one distinct combination of each title and gutenberg_author_id. If multiple occur (that fulfill the other @@ -65,9 +66,6 @@ gutenberg_works() # filter conditions gutenberg_works(author == "Shakespeare, William") -# changing default options -gutenberg_works(rights = NULL) - # language specifications gutenberg_works(languages = "es") \%>\%