Get file for dparser arguments
dpGetFile(file, fileext = "", envir = parent.frame(1))
- File to handle. This file can be:
an actual file.
a character string. In this case, a temporary file is created with the character string.
A bracket {}
enclosed R expression. In this case
the contents of the expressions is put into a temporary file.
A function. In this case the contents of the function body are put into the temporary file.
file extension of temporary file to create
Environment to deparse variables
a list of three elements:
file
The file name of either the temporary file or the real file
use_file_name
If the file name was used (TRUE
), or a temporary file was created(FALSE
)
md5
md5 of the model