The functions of R that instrument_base_r() leaves as they are by default,
as R's own checks (make check-all) inspect their code, so they fail if it
counts what runs:
Details
stats::pbinom(): a regression test reads the name of its native routine from its body.base::simplify2array(): a regression test compares itsdump()anddput().methods:::rematchDefinition(): it builds the body of rematched S4 methods from its own code, whichisRematched()checks.The functions of base that the byte-code compiler inlines (
compiler:::safeBaseInternals), whose tests check that they only call.Internal(). As they are inlined, they rarely run anyway.The internal generics of base (
.internalGenerics), which the tests of tools check call.Internal().
See also
Other base R coverage:
base_r_code_coverage(),
base_r_compiled_coverage(),
instrument_base_r(),
uninstrument_base_r()
