jtextor / dagitty

Graphical analysis of structural causal models / graphical causal models.
GNU General Public License v2.0
282 stars 46 forks source link

Error: object of type 'closure' is not subsettable #40

Closed Westendline closed 3 years ago

Westendline commented 4 years ago

I'm unable to use 'dagitty' as every time I attempt to parse a DAG I receive the error "object of type 'closure' is not subsettable", even if I run an example from the documentation like: dagitty("dag{y <- z -> x}")

Seems I'm not the only one with this issue, as someone posted the same problem on Stack Overflow 04/2020. I'm running R 3.6.2, and have tried installing 'dagitty' version "0.1-9" and this has not resolved the issue.

jtextor commented 4 years ago

Dear user, I cannot reproduce your error unfortunately. As you can see from the CRAN checks the package runs fine on a variety of platforms (https://cran.r-project.org/web/checks/check_results_dagitty.html). I am using R 3.6.1 myself and have no issues.

The latest version of the package is 0.3-0, which you can install directly from CRAN. If it doesn't work using that version, please post the output of sessionInfo() here so I can see more details on your system.

jtextor commented 3 years ago

I haven't heard back on this issue unfortunately, so I can't be of any help I'm afraid