solution: solution for dates

View source: R/fun-solution.R

solutionR Documentation

solution for dates

Description

Reproduce a result for exercises 8-11 created by me for comparison.

Usage

solution(skip = NULL, end = NULL, weekdays = FALSE)

Arguments

skip

character vector of dates to skip

end

character string of date to end on

weekdays

logical flag whether to add weekdays

Value

A character vector of dates in the format "25th February 2020 Tuesday". The week day is added depending on the weekdays argument. Particular days can be skipped and the whole vector can end at a specific date.

See Also

solution.check


olobiolo/Rdlazer documentation built on Aug. 6, 2022, 11:37 a.m.