-
Notifications
You must be signed in to change notification settings - Fork 238
Closed
Description
Using @templateVar doesn't assign to a variable named by the specified name; it assigns to a variable named templateVar (because the names in partitum are tag names and propagate through).
The solution is simple: set the names to the names they should be in template.R:
var_tags <- partitum[names(partitum) == "templateVar"]
vars <- lapply(var_tags, "[[", "description")
+ names(vars) <- sapply(var_tags, "[[", "name")
vars <- lapply(vars, type.convert, as.is = TRUE)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels