Get the random number generator seed of the target currently running.
tar_seed(default = 1L)
Integer, value to return if
Integer of length 1. If invoked inside a
the return value is the seed of the target currently running,
which is a deterministic function of the target name. Otherwise,
the return value is
A target's random number generator seed
is a deterministic function of its name. In this way,
each target runs with a reproducible seed so someone else
running the same pipeline should get the same results,
and no two targets in the same pipeline share the same seed.
(Even dynamic branches have different names and thus different seeds.)
You can retrieve the seed of a completed target
set.seed() on the result to locally
recreate the target's initial RNG state.
tar_seed()#>  1tar_seed(default = 123L)#>  123