Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion R/get_planes.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#' @inheritParams anyflights
#'
#' @inheritParams get_airlines
#'
#' @param year The argument will be ignored and is present only for backward-compatibility
#'
#' @return A data frame with ~3500 rows and 9 variables:
#' \describe{
Expand Down Expand Up @@ -44,7 +46,7 @@
#' to a data-only package.
#'
#' @export
get_planes <- function(year, dir = NULL, flights_data = NULL) {
get_planes <- function(year = NULL, dir = NULL, flights_data = NULL) {

# check user inputs
check_arguments(year = year,
Expand Down