Skip to content

Commit

Permalink
minor edits to vignettes
Browse files Browse the repository at this point in the history
- add session info
- add end vignette
- suppress startup messages
- ensure httptest loaded first so that context defaults to metabolomicsWorkbenchR::context and not testthat::context
  • Loading branch information
grlloyd committed Sep 22, 2023
1 parent 3364352 commit 9d4e856
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
4 changes: 4 additions & 0 deletions vignettes/Introduction_to_metabolomicsWorkbenchR.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -262,3 +262,7 @@ output_item$summary
```{r,echo=FALSE}
sessionInfo()
```

```{r, include=FALSE}
end_vignette()
```
12 changes: 9 additions & 3 deletions vignettes/example_using_structToolbox.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ vignette: >
---

```{r echo = FALSE,include=FALSE}
suppressPackageStartupMessages(library(structToolbox))
suppressPackageStartupMessages(library(httptest))
suppressPackageStartupMessages(library(metabolomicsWorkbenchR))
library(structToolbox)
library(httptest)
httptest::start_vignette('structToolbox_example')
```

Expand Down Expand Up @@ -144,8 +144,14 @@ C = pca_scores_plot(factor_name=c('FCS'))
chart_plot(C,M[length(M)])
```

# Session Info
```{r,echo=FALSE}
sessionInfo()
```


```{r, include=FALSE}
end_vignette()
```



Expand Down

0 comments on commit 9d4e856

Please sign in to comment.