Skip to contents

Mainly useful in tests, or after mutating a Calendar object in place (between-maps are memoised by calendar NAME).

Usage

clear_calendar_maps(registry = FALSE)

Arguments

registry

Also clear the maps registered with register_calendar_map() and register_calendar_map_between(). Default FALSE.

Value

Invisibly NULL.

Examples

clear_calendar_maps()                 # drop the memo cache only
clear_calendar_maps(registry = TRUE)  # ... and the registered maps