Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fix arguments description for `when` parameter #13

Merged
merged 1 commit into from Dec 9, 2015
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
View
@@ -17,7 +17,7 @@ top_url <- paste0(base_url, "top/")
#' 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.
-#' @param when \code{last_day}, \code{last_week} or \code{last_month}.
+#' @param when \code{last-day}, \code{last-week} or \code{last-month}.
#' If this is given, then \code{from} and \code{to} are ignored.
#' @param from Start date, in \code{yyyy-mm-dd} format, or
#' \code{last-day}. It is ignored if \code{when} is given.