devtools::document() give: Error in importIntoEnv(pkgenv, exports, nsenv, exports) : cannot add bindings to a locked environment

Great. Please mark the solution for the benefit of those to follow.

1 Like