https://github.com/r-lib/cpp11/pull/440 implements this to avoid the need to document the C++ functions by separate.