Permalink
Browse files

Fix arguments description for `when` parameter

`last_day` to `last-day` and so on. One fix at a time.
  • Loading branch information...
1 parent a1c3e2a commit d09607153027c0e1068b553083db500f25f5ff81 @jbkunst jbkunst committed Dec 9, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 R/cranlogs.R
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.

0 comments on commit d096071

Please sign in to comment.