If there are no live/running jobs, the registry will be closed and all of its files will be removed from the file system. If there are live/running jobs, an informative error is generated. The default is to prompt the user for confirmation.
removeRegistry(reg, ask = c("yes", "no"))
[Registry
]
Registry.
[character(1)
]
If "yes"
the user is prompted to confirm the action.
If trying to prompt the user this way in a non-interactive
session, then an informative error is generated.
If "no"
, the registry will be removed without
further confirmation.
[logical[1]
]