There are 3 objects, v1, df1 and df2 as below:
v1 <- seq(1,5,by=1)
df1 <- tibble(a = v1, b = a * 10)
df2 <- tibble(x = df1$b*10)
df1 uses values of v1 and df2 uses column value of df1.
Now suppose the value of v1 gets changed:
v1 <- seq(10,50,by=10)
Whenever, v1 changes its value, how can the values of df1 and df2 be recomputed automatically and kept it in sync with v1?