source_package: Source all files in a package.
Description
This is a simple attempt to load code in a package used by
roxygenize
. It will work with simple packages, but fail if
there are compiled files, data files, etc. In that case, it's better to
use document()
.Usage
source_package(path)
Value
an environment, in to which all R files in the directory were
sourced.