dagitty icon indicating copy to clipboard operation
dagitty copied to clipboard

Error: SyntaxError: Invalid or unexpected token

Open zhengchencai opened this issue 10 months ago • 2 comments

Hello,

I was using dagitty and it was working well. After updating to 0.3.4, I got an error even for the simplest demo DAG. Could you please help? Thanks.

> packageVersion("dagitty")
[1] ‘0.3.4’
> dag <- dagitty::dagitty("dag {
+     y <- x <- z1 <- v -> z2 -> y
+     z1 <- w1 <-> w2 -> z2
+     x <- w1 -> y
+     x <- w2 -> y
+     x [exposure]
+     y [outcome]
+   }")
Error: SyntaxError: Invalid or unexpected token

zhengchencai avatar Apr 24 '24 13:04 zhengchencai