For reference, there is also an issue in testthat for this question
Please follow the cross post policy