Generate a Loading Script for Development Packages
Writes a script file that contains code that loads a given development package.
load_all_file(path = path.package(package), package, dest = NULL)
path |
a character string that contains the path to the development package. |
package |
the name of the package for which the loading script must be generated. It must be a package that has already been loaded with devtools::load_all in the current session, so that its path can be retrieved. |
dest |
the path to script file to create (as a character string).
If not provided, then the script is written in a temporary .R file with prefix
|
This is useful when we want to load a development package in batchtools
registries:
library(devtools) library(batchtools) load_all("path/to/pkgA") makeRegistry(..., source = load_all_file("pkgA"))
a character string that contains the path to the script file.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.