Skip to content

Instantly share code, notes, and snippets.

@retorquere
Created June 22, 2020 20:37
Show Gist options
  • Save retorquere/b76fe910922ec31ba668f6f9c1386c45 to your computer and use it in GitHub Desktop.
Save retorquere/b76fe910922ec31ba668f6f9c1386c45 to your computer and use it in GitHub Desktop.
---
title: "plantuml test"
author: "Rainer M Krug"
date: "6/17/2020"
output: html_document
---
```{r setup, include=FALSE}
library(plantuml)
knitr::knit_engines$set(plantuml = plantuml::plantuml_knit_engine)
```
## R Markdown
```{plantuml tut, plantuml.preview=TRUE}
@startuml
start
''''''''''''
:= Install and load the `dmdScheme` package in R
..R..
""install.packages("dmdScheme")""
""library("dmdScheme")""|
:= Start the included shiny app
..R..
""run_app()""|
''''''''''''
:= Select scheme
..BROWSER..
""Availabe dmdSchemes"";
''''''''''''
:= Download New Scheme
..BROWSER..;
''''''''''''
repeat
:= Enter / Edit metadata in downloaded xlsx
..Excel, Pages, Libre Office, Google Docs, etc..;
:= Upload Spreadsheet containig Metadata
..BROWSER..|
:= Upload Datafiles
..BROWSER..|
:= Validate metadata and create report
..BROWSER..;
repeat while (errors or warnings?) is (yes)
-> no;
''''''''''''
:= Export Uploaded Spreadsheet to xml
..BROWSER..;
''''''''''''
stop
@enduml
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment