Push Project to Server
formr_api_push_project.RdUploads local project files (surveys, assets, settings) to the formr server. Optionally monitors the directory for subsequent changes (Watcher mode).
Usage
formr_api_push_project(
run_name,
dir = NULL,
watch = FALSE,
background = TRUE,
interval = 2,
verbose = TRUE
)Arguments
- run_name
Name of the run.
- dir
Local directory to push from. Defaults to
formr_default_dir(); set that (or passdir) since formr never writes to the working directory by default.- watch
Logical. If TRUE, keeps the connection open and uploads changes immediately when files are saved.
- background
Logical. If TRUE (default), launches watcher as an RStudio Job.
- interval
Seconds between checks (default 2).
- verbose
Logical. If TRUE (default), reports progress via
message().