Error(s) in re-building vignettes:
--- re-building ‘simcausal_vignette.Rnw’ using knitr
...automatically assigning order attribute to some nodes...
node race, order:1
node W1, order:2
node W2, order:3
node W3, order:4
node Anode, order:5
node Y, order:6
using the following vertex attributes: 
120.8NAdarkbluenone0
using the following edge attributes: 
0.50.40.8black1
!!! Error: Ghostscript exited with error code 127!
Warning in system2("pdfcrop", shQuote(c(x, x)), stdout = if (quiet) FALSE else "") :
  error in running command
simulating observed dataset from the DAG object
simulating action-specific datasets for action(s): A1 A0
data not specified, simulating full data
no actions specified, sampling full data for ALL actions from the DAG
evaluating the target on 1000 simulated samples per action
data not specified, simulating full data
no actions specified, sampling full data for ALL actions from the DAG
evaluating the target on 1000 simulated samples per action
MSM: fitting glm to full data
All custom distributions defined in SimCausal:

...automatically assigning order attribute to some nodes...
node W, order:1
node Anode, order:2
node Y, order:3
existing node Y was modified
...automatically assigning order attribute to some nodes...
node W, order:1
node Anode, order:2
node Y, order:3
existing node Y was modified
...automatically assigning order attribute to some nodes...
node W, order:1
node Anode, order:2
node Y, order:3
...automatically assigning order attribute to some nodes...
node W1, order:1
node W2, order:2
node W3, order:3
...automatically assigning order attribute to some nodes...
node W1, order:1
node W2, order:2
node W3, order:3
...automatically assigning order attribute to some nodes...
node W1, order:1
node W2, order:2
...automatically assigning order attribute to some nodes...
node W1, order:1
node W2, order:2
!!! Error: Ghostscript exited with error code 127!
Warning in system2("pdfcrop", shQuote(c(x, x)), stdout = if (quiet) FALSE else "") :
  error in running command
!!! Error: Ghostscript exited with error code 127!
Warning in system2("pdfcrop", shQuote(c(x, x)), stdout = if (quiet) FALSE else "") :
  error in running command
!!! Error: Ghostscript exited with error code 127!
Warning in system2("pdfcrop", shQuote(c(x, x)), stdout = if (quiet) FALSE else "") :
  error in running command
Warning in setAction(actname = name, inputDAG = attr(DAG, "actions")[[name]],  :
  
Action: A1_th0; Attribute: theta.
Scalar attribute value is overwritten by a vector of time-varying values.
!!! Error: Ghostscript exited with error code 127!
Warning in system2("pdfcrop", shQuote(c(x, x)), stdout = if (quiet) FALSE else "") :
  error in running command

Attaching package: 'ggplot2'

The following object is masked _by_ '.GlobalEnv':

    %+%

Loading required package: lattice
Loading required package: survival
Loading required package: Formula

Attaching package: 'Hmisc'

The following objects are masked from 'package:base':

    format.pval, units

Error: processing vignette 'simcausal_vignette.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'simcausal_vignette.tex' failed.
LaTeX errors:
! Undefined control sequence.
<template> ...@setup \CT@row@color \CT@cell@color 
                                                  \CT@do@color \endgroup \@t...
l.179 \begin{document}
                      
! Emergency stop.
<template> ...@setup \CT@row@color \CT@cell@color 
                                                  \CT@do@color \endgroup \@t...
l.179 \begin{document}
                      
!  ==> Fatal error occurred, no output PDF file produced!
--- failed re-building ‘simcausal_vignette.Rnw’

SUMMARY: processing the following file failed:
  ‘simcausal_vignette.Rnw’

Error: Vignette re-building failed.
Execution halted