osofr / simcausal

Simulating Longitudinal and Network Data with Causal Inference Applications
64 stars 11 forks source link

Fixed problem with categorical nodes. #16

Closed fkgruber closed 1 year ago

fkgruber commented 1 year ago

It appears the current version of R sends error if the argument of a "if" function is a vector. This was causing an error when building the vignette. In fact In the current version it is not possible to set a DAG with categorical node.

fkgruber commented 1 year ago

I also fixed some latex configuration that were causing a fail in the devtools::check(). Now the package should pass the test and hopefully also the CRAN check.