Skip to content

Commit

Permalink
explicitly export get_dates
Browse files Browse the repository at this point in the history
  • Loading branch information
zkamvar committed Aug 24, 2018
1 parent bffcb44 commit 9afb575
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ S3method(print,projections)
S3method(subset,projections)
export(add_projections)
export(build_projections)
export(get_dates)
export(project)
importFrom(graphics,plot)
importFrom(incidence,cumulate)
Expand Down
3 changes: 2 additions & 1 deletion R/accessors.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#'
#' @author Thibaut Jombart \email{thibautjombart@@gmail.com}
#'
#' @export
#'
#' @param x A \code{projections} object.
#'
Expand Down Expand Up @@ -44,6 +43,8 @@
#' @aliases get_dates.projections
#' @aliases get_dates
#' @importFrom incidence get_dates
#' @export get_dates
#' @export
get_dates.projections <- function(x, ...) {
attr(x, "dates")
}
Expand Down

0 comments on commit 9afb575

Please sign in to comment.