I am hoping to create a markdown script that can decide intelligently whether to run quarterly versions of scripts or monthly versions. To that end, I have different scripts that correspond to whether it should be quarterly or monthly.
My question to the group here is whether it is possible to have R decide on its own if it is a quarter or month end and then, based on that, run chunks selectively (i.e. it can turn eval = TRUE into eval = FALSE).
Has anyone ever attempted to do this before?