Hi Andreas, your upload doesn't fix the described issue. The problem is that check_real_version_of_package() in dh/R.pm[1] uses 'grep-aptavail'. As parse_depends() calls check_real_version_of_package() to build Depends/Suggests/Recommend they depends on the status of the APT cache.
Hope that helps for context Philip [1]https://salsa.debian.org/r-pkg-team/dh-r/-/blob/master/dh/R.pm?ref_type=heads#L147-L170
OpenPGP_signature.asc
Description: OpenPGP digital signature