## To get start, end and sequence of next year
nextyear <- next_year()
## To get vector of date sequences
next_year(part = "sequence")
next_year()$sequence
seq(nextyear)
## Get number of days of next year
day_nums <- next_year(part = "length")
next_year()$length
length(nextyear)
Run the code above in your browser using DataLab