Skip to content

Commit

Permalink
Remove vignette note (#290)
Browse files Browse the repository at this point in the history
# Pull Request

<!--- Replace `#nnn` with your issue link for reference. -->

[CI checks are
failing](https://github.com/r-universe/pharmaverse/actions/runs/11851042359/job/33026981747)
due to the vignettes not being created.

There is a note about using a Rmd as childe file in the vignettes. This
file is recognized as a vignette.
We can a) move it to a different folder like what it is done for
articles, something like `vignettes/child`? or b) move the code chunk
into the vignette.
As it was only used once, I moved the code chunk into the file directly.
This made this error disappear. 

There were errors due to some code moving from rtables to
rtables.office. I think this should be taken care now that
rtables.office is
[fixed](insightsengineering/rtables.officer#21)
and building well.
  • Loading branch information
llrs-roche authored Nov 27, 2024
1 parent 7c10666 commit bf5e305
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ vignettes/*.html
vignettes/*.md
tests/testthat/_snaps/**/*.new.md
tests/testthat/_snaps/**/*.new.svg
/doc/
/Meta/
10 changes: 0 additions & 10 deletions vignettes/_setup.Rmd

This file was deleted.

11 changes: 10 additions & 1 deletion vignettes/teal-reporter-blocks-overview.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,17 @@ along with descriptions and usage examples:
These blocks form the building blocks of a `ReportCard`, each serving a specific function that contributes to the overall layout and content of the report. The `ReportCard` object utilizes `append_*` methods to integrate various blocks such as `TextBlock`, `PictureBlock`, `RcodeBlock`, and `TableBlock`.

The following diagram illustrates the inheritance relationship between the different blocks:
```{r, child="_setup.Rmd"}

```{css mermaid, echo=FALSE}
pre.mermaid {
background: transparent;
}
```

```{r load_mermaid, echo=FALSE}
shiny::tags$script(type = "module", "import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid/+esm'")
```

```{r actors_mermaid2, echo=FALSE}
shiny::pre(
class = "mermaid",
Expand Down

0 comments on commit bf5e305

Please sign in to comment.