Skip to content
Snippets Groups Projects
Commit 4fe2caab authored by Ruben Heinrich's avatar Ruben Heinrich
Browse files

Fixed a bug caused by not escaping dollar sign

parent 43e83c6b
No related branches found
No related tags found
Loading
......@@ -28,7 +28,7 @@ as_node.default <- function(x, ...){
node_name <- ""
params <- list(...)
if(any(grep("$", deparse(substitute(x))))){
if(any(grep("\\$", deparse(substitute(x))))){
node_name <- strsplit(deparse(substitute(x)), "$", fixed = TRUE)[[2]]
}else if(length(params) > 0){
assertthat::assert_that(assertthat::is.string(params[[1]]))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment