From b67243a7a66909f6cba52952c27d76349732566e Mon Sep 17 00:00:00 2001 From: Eric Dean Watt Date: Sun, 14 Aug 2016 23:54:15 -0400 Subject: [PATCH] Updated documentation replacing 'last_' with 'last-' --- R/cranlogs.R | 2 +- man/cran_downloads.Rd | 2 +- man/cran_top_downloads.Rd | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/R/cranlogs.R b/R/cranlogs.R index dc7156c..d8ae327 100644 --- a/R/cranlogs.R +++ b/R/cranlogs.R @@ -142,7 +142,7 @@ fill_in_dates <- function(df, start, end) { #' Top downloaded packages from the RStudio CRAN mirror #' -#' @param when \code{last_day}, \code{last_week} or \code{last_month}. +#' @param when \code{last-day}, \code{last-week} or \code{last-month}. #' @param count Number of packages to list. Note that the DB server #' lists only at most 100 packages. This number might change in the #' future. diff --git a/man/cran_downloads.Rd b/man/cran_downloads.Rd index 8606e9c..f1b96c5 100644 --- a/man/cran_downloads.Rd +++ b/man/cran_downloads.Rd @@ -13,7 +13,7 @@ or \code{NULL} for a sum of downloads for all packages. Alternatively, it can also be \code{"R"}, to query downloads of R itself. \code{"R"} cannot be mixed with packages.} -\item{when}{\code{last_day}, \code{last_week} or \code{last_month}. +\item{when}{\code{last-day}, \code{last-week} or \code{last-month}. If this is given, then \code{from} and \code{to} are ignored.} \item{from}{Start date, in \code{yyyy-mm-dd} format, or diff --git a/man/cran_top_downloads.Rd b/man/cran_top_downloads.Rd index 51f7c88..8522371 100644 --- a/man/cran_top_downloads.Rd +++ b/man/cran_top_downloads.Rd @@ -8,7 +8,7 @@ cran_top_downloads(when = c("last-day", "last-week", "last-month"), count = 10) } \arguments{ -\item{when}{\code{last_day}, \code{last_week} or \code{last_month}.} +\item{when}{\code{last-day}, \code{last-week} or \code{last-month}.} \item{count}{Number of packages to list. Note that the DB server lists only at most 100 packages. This number might change in the