List files associated with a container and machine exist in `dbfiles` table
Source:R/dbfiles.R
dbfile.check.RdList files associated with a container and machine exist in `dbfiles` table
Usage
dbfile.check(
type,
container.id,
con,
hostname = PEcAn.remote::fqdn(),
machine.check = TRUE,
return.all = FALSE
)Arguments
- type
The type of `dbfile`, as a character. Must be either "Input", "Posterior", or "Model".
- container.id
the ID of container type. E.g. if `type` is "Input", this will correspond to the `id` column from the `inputs` table.
- con
database connection object
- hostname
the name of the host where the file is stored, this will default to the name of the current machine
- machine.check
setting to check for file on named host, otherwise will check for any file given container id
- return.all
(Logical) If `TRUE`, return all files. If `FALSE`, return only the most recent files.