Upgrade to roxygen2 4.0.1
Add enclosing env function