Clear cached test results¶
Source: R/performance.R ยท Help: ?clearTestCache
Removes every result from the cache of cachedTest(), which
runHeteroTests() also uses for each test with use_cache = TRUE, so that
later calls compute them again.
Usage¶
Value¶
NULL, invisibly.
Details¶
The cache is bounded and holds no test that draws random numbers (see
cachedTest()), so clearing it is needed neither to bound the memory of a
long session nor to draw new replicates with another seed. It is needed
after a change the key does not see, such as a function or a variable of
the environment of a model's formula; call clearAnalysisCache() then too,
since the cache of whole calls of runHeteroTests() keeps the results of
such a model as well.
See also¶
cachedTest() for invoking diagnostics with memoisation.