Skip to content

Commit

Permalink
yet another typo; use mardown; few enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
espinielli committed May 10, 2023
1 parent 1207250 commit 0112812
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 10 deletions.
5 changes: 4 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ BugReports: https://github.com/eurocontrol/airac/issues
Imports:
lubridate (>= 1.1.0)
Suggests:
testthat (>= 3.0.0)
testthat (>= 3.0.0),
roxygen2
Config/testthat/edition: 3
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.2.3
Roxygen: list(markdown = TRUE)

5 changes: 3 additions & 2 deletions R/airac.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ airac_epoch <- function() {

#' Return the ICAO AIRAC id for a date
#'
#' @param date a date (or a ymd representation of it)
#' @param date a date (or a representation of it understood by [lubridate::ymd()])
#'
#' @return the ICAO AIRCA id
#' @return the ICAO AIRAC id
#' @family airac
#' @export
#'
Expand Down Expand Up @@ -46,6 +46,7 @@ airac <- function(date) {
#'
#' @examples
#' airac_year_epoch(2018)
#'
airac_year_epoch <- function(year) {
y_beg <- lubridate::ymd(paste0(year, "-01-01"), tz = "UTC")
# days since last effective date
Expand Down
4 changes: 2 additions & 2 deletions man/airac.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/airac_epoch.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/airac_interval.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions man/airac_year_epoch.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0112812

Please sign in to comment.