## To get start, end and sequence of next weeks
nextweek <- next_week()
## Get next week with start on Sunday
nextweeksun <- next_week(week_start = 7)
## To get vector of date sequences
next_week(part = "sequence")
next_week()$sequence
seq(nextweek)
## Get number of days of next 2 weeks
day_nums <- next_week(part = "length")
next_week()$length
length(nextweek)
Run the code above in your browser using DataLab