Skip to content

Commit

Permalink
added DiagrammeR to the list of suggest due to vignette use
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-navarro committed Mar 19, 2024
1 parent cb50049 commit a7e82a8
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
^revdep$
^cran-comments\.md$
^CRAN-SUBMISSION$
^Dockerfile
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ Suggests:
knitr,
rmarkdown,
spelling,
testthat (>= 3.0.0)
testthat (>= 3.0.0),
DiagrammeR
VignetteBuilder:
knitr
Config/testthat/edition: 3
Expand Down
2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ articles:
RW1972: RW1972.html
SM2007: SM2007.html
using_time_models: using_time_models.html
last_built: 2024-03-19T15:36Z
last_built: 2024-03-19T15:55Z
urls:
reference: https://victornavarro.org/calmr/reference
article: https://victornavarro.org/calmr/articles
Expand Down
2 changes: 1 addition & 1 deletion docs/search.json

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions vignettes/ANCCR.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,13 @@ which can then be mapped onto probabilities via a softmax function^[The implemen

#### A diagram

The diagram below shows the dependencies in the model. I am excluding the indicator functions and parameters for simplicity.
The diagram below shows the dependencies in the model. I am excluding the indicator functions and parameters for
simplicity.^[If nothing appears below, try rebuilding this vignette after install `DiagrammeR`]


```{r echo = FALSE, message=FALSE}
DiagrammeR::mermaid("graph LR;
if (requireNamespace("DiagrammeR", quietly = TRUE)) {
DiagrammeR::mermaid("graph LR;
E_i-->M_i;
E_j-->M_j;
M_j-->SRC;
Expand All @@ -183,6 +185,7 @@ DiagrammeR::mermaid("graph LR;
CW-->Q;
SRC-->Q;
", width = "100%")
}
```

#### Note
Expand Down

0 comments on commit a7e82a8

Please sign in to comment.