Skip to content

Commit 31a0475

Browse files
authored
[FEAT] Initialize the project (#21)
1 parent 0d0c4f7 commit 31a0475

File tree

6 files changed

+103
-6
lines changed

6 files changed

+103
-6
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
# RStudio files
2121
.Rproj.user/
22+
*.Rproj
2223

2324
# produced vignettes
2425
vignettes/*.html
@@ -38,3 +39,4 @@ vignettes/*.pdf
3839
# R Environment Variables
3940
.Renviron
4041
/.idea/
42+
*.iml

DESCRIPTION

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Package: bpmnVisualization
2+
Type: Package
3+
Title: BPMN Visualization - R package
4+
Version: 1.0
5+
Date: 2021-08-25
6+
Authors@R: c(person("Céline Souchet", "Developer", role = c("aut", "cre"), email = "celine.souchet@bonitasoft.com"),
7+
person("Thomas Bouffard", "Developer", role = "aut"))
8+
Description: A R package which embeds BPMN Visualization
9+
License: Apache-2.0
10+
Copyright: Bonitasoft S.A.

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export(bpmnVisualization)

R/bpmnVisualization.R

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## import operator
2+
#' @importFrom data.table ":="
3+
NULL
4+
5+
#' @importFrom magrittr "%>%"
6+
NULL
7+
8+
####
9+
#' function bpmn visualization: entry point
10+
#'
11+
#' @return 'hello'
12+
#'
13+
bpmnVisualization <- function() {
14+
returnValue('hello')
15+
}

README.md

Lines changed: 39 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<h1 align="center">BPMN Visualization - R Package</h1>
22
<div align="center">
33
<p align="center">
4-
<a href="/process-analytics/bpmn-visualization-r/releases">
5-
<img alt="GitHub release (latest by date including pre-releases)" src="https://img.shields.io/github/v/release/process-analytics/bpmn-visualization-r?label=changelog&include_prereleases">
4+
<a href="/process-analytics/bpmn-visualization-R/releases">
5+
<img alt="GitHub release (latest by date including pre-releases)" src="https://img.shields.io/github/v/release/process-analytics/bpmn-visualization-R?label=changelog&include_prereleases">
66
</a>
7-
<a href="/process-analytics/bpmn-visualization-r/actions">
8-
<img alt="Build" src="https://github.com/process-analytics/bpmn-visualization-r/workflows/Build/badge.svg">
7+
<a href="/process-analytics/bpmn-visualization-R/actions">
8+
<img alt="Build" src="https://github.com/process-analytics/bpmn-visualization-R/workflows/Build/badge.svg">
99
</a>
1010
<br>
1111
<a href="CONTRIBUTING.md">
@@ -15,10 +15,43 @@
1515
<img alt="Contributor Covenant" src="https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg">
1616
</a>
1717
<a href="LICENSE">
18-
<img alt="License" src="https://img.shields.io/github/license/process-analytics/bpmn-visualization-r?color=blue">
18+
<img alt="License" src="https://img.shields.io/github/license/process-analytics/bpmn-visualization-R?color=blue">
1919
</a>
2020
</p>
2121
</div>
2222
<br>
2323

24-
A R package which embeds BPMN Visualization
24+
This project is an R interface to the [BPMN Visualization](https://github.com/process-analytics/bpmn-visualization-js) library.
25+
26+
## ♻️ Usage
27+
### Installation
28+
Install from GitHub:
29+
```r
30+
devtools::install_github("process-analytics/bpmn-visualization-R")
31+
library(bpmnVisualization)
32+
```
33+
34+
### Initialize the R package
35+
```r
36+
bpmnVisualization::bpmnVisualization()
37+
```
38+
39+
## 🔧 Contributing
40+
41+
To contribute to `bpmn-visualization-R`, fork and clone this repository locally and commit your code on a separate branch. \
42+
Please write tests for your code before opening a pull-request.
43+
44+
You can find more detail in our [Contributing guide](CONTRIBUTING.md). Participation in this open source project is subject to a [Code of Conduct](CODE_OF_CONDUCT.md).
45+
46+
✨ A BIG thanks to all our contributors 🙂
47+
48+
## ⚒️ Development
49+
### Installation
50+
```r
51+
devtools::install()
52+
```
53+
54+
## 📃 License
55+
56+
`bpmn-visualization-R` is released under the [Apache 2.0](LICENSE) license. \
57+
Copyright &copy; from 2021, Bonitasoft S.A.

man/bpmnVisualization-package.Rd

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
\name{bpmnVisualization-package}
2+
\alias{bpmnVisualization-package}
3+
\alias{bpmnVisualization}
4+
\docType{package}
5+
\title{
6+
\packageTitle{bpmnVisualization}
7+
}
8+
\description{
9+
\packageDescription{bpmnVisualization}
10+
}
11+
\details{
12+
13+
The DESCRIPTION file:
14+
\packageDESCRIPTION{bpmnVisualization}
15+
\packageIndices{bpmnVisualization}
16+
~~ An overview of how to use the package, including the most important ~~
17+
~~ functions ~~
18+
}
19+
\author{
20+
\packageAuthor{bpmnVisualization}
21+
22+
Maintainer: \packageMaintainer{bpmnVisualization}
23+
}
24+
\references{
25+
~~ Literature or other references for background information ~~
26+
}
27+
~~ Optionally other standard keywords, one per line, from file KEYWORDS in ~~
28+
~~ the R documentation directory ~~
29+
\keyword{ package }
30+
\seealso{
31+
~~ Optional links to other man pages, e.g. ~~
32+
~~ \code{\link[<pkg>:<pkg>-package]{<pkg>}} ~~
33+
}
34+
\examples{
35+
# simple examples of the most important functions
36+
}

0 commit comments

Comments
 (0)