Permalink
Browse files

Merge pull request #13 from jbkunst/patch-1

Fix arguments description for `when` parameter
  • Loading branch information...
2 parents a1c3e2a + d096071 commit f93b2686e016505f05d2b2d51854bae3bfdb7773 @gaborcsardi gaborcsardi 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 f93b268

Please sign in to comment.