powered by
create an environment by inserting the value val with names taken from x
val
x
vec_to_env_true(x, val = TRUE, env = new.env(hash = TRUE, parent = baseenv()))