| tar_watch_server {targets} | R Documentation | 
Shiny module server for tar_watch()
Description
Use tar_watch_ui() and tar_watch_server()
to include tar_watch() as a Shiny module in an app.
Usage
tar_watch_server(
  id,
  height = "650px",
  exclude = ".Random.seed",
  config = Sys.getenv("TAR_CONFIG", "_targets.yaml"),
  project = Sys.getenv("TAR_PROJECT", "main")
)
Arguments
| id | Character of length 1, ID corresponding to the UI function
of the module. | 
| height | Character of length 1,
height of the visNetworkwidget and branches table. | 
| exclude | Character vector of nodes to omit from the graph. | 
| config | Character of length 1, file path of the YAML
configuration file with targetsproject settings.
Theconfigargument specifies which YAML configuration
file thattar_config_get()reads from ortar_config_set()writes to in a single function call.
It does not globally change which configuration file is used
in subsequent function calls. The default file path of the YAML
file is always_targets.yamlunless you set another
default path using theTAR_CONFIGenvironment variable,
e.g.Sys.setenv(TAR_CONFIG = "custom.yaml"). This also has the
effect of temporarily modifying the default arguments to other functions
such astar_make()because the default arguments
to those functions are controlled bytar_config_get(). | 
| project | Character of length 1, name of the current
targetsproject. Thanks to theconfigR package,targetsYAML configuration files can store multiple
sets of configuration settings, with each set corresponding
to its own project. Theprojectargument allows you to
set or get a configuration setting for a specific project
for a given call totar_config_set()ortar_config_get().
The default project is always called"main"unless you set another
default project using theTAR_PROJECTenvironment variable,
e.g.Sys.setenv(tar_project = "custom"). This also has the
effect of temporarily modifying the default arguments to other functions
such astar_make()because the default arguments
to those functions are controlled bytar_config_get(). | 
Value
A Shiny module server.
See Also
Other progress: 
tar_canceled(),
tar_completed(),
tar_dispatched(),
tar_errored(),
tar_poll(),
tar_progress(),
tar_progress_branches(),
tar_progress_summary(),
tar_skipped(),
tar_watch(),
tar_watch_ui()
[Package 
targets version 1.7.1 
Index]