diff_requires_run_roxygenize: Check if we should run roxygen.
Description
This is the case if a new or replaced/removed line contains a roxygen2
comment in a file that is staged.
This function is only exported for use in hook scripts, but it's not intended
to be called by the end-user directly.