Skip to content

Commit 7718778

Browse files
authored
Initial commit
0 parents  commit 7718778

24 files changed

+1046
-0
lines changed

.Rbuildignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
^.*\.Rproj$
2+
^\.Rproj\.user$
3+
^workshop-materials$
4+
^LICENSE\.md$
5+
^_pkgdown\.yml$
6+
^docs$
7+
^pkgdown$
8+
^.lintr$
9+
^.github$
10+
^dev$
11+
^doc$
12+
^Meta$
13+
^codecov\.yml$
14+
^\.github$

.github/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.html

.github/workflows/check.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2+
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
name: R-CMD-check
10+
11+
jobs:
12+
R-CMD-check:
13+
runs-on: ${{ matrix.os }}
14+
15+
name: ${{ matrix.os }} (${{ matrix.r }})
16+
17+
strategy:
18+
fail-fast: true
19+
matrix:
20+
os: [ubuntu-latest, windows-latest]
21+
r: ['release']
22+
env:
23+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
24+
R_KEEP_PKG_SOURCE: yes
25+
26+
steps:
27+
- uses: actions/checkout@v2
28+
29+
- uses: r-lib/actions/setup-pandoc@v2
30+
31+
- uses: r-lib/actions/setup-r@v2
32+
with:
33+
r-version: ${{ matrix.r }}
34+
http-user-agent: ${{ matrix.http-user-agent }}
35+
use-public-rspm: true
36+
37+
- uses: r-lib/actions/setup-r-dependencies@v2
38+
with:
39+
extra-packages: any::rcmdcheck
40+
needs: check
41+
42+
- uses: r-lib/actions/check-r-package@v2
43+
with:
44+
upload-snapshots: true
45+
args: 'c("--no-manual", "--as-cran")'

.github/workflows/lint.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2+
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
name: lint
10+
11+
jobs:
12+
lint:
13+
runs-on: ubuntu-latest
14+
env:
15+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
16+
steps:
17+
- uses: actions/checkout@v2
18+
19+
- uses: r-lib/actions/setup-r@v2
20+
with:
21+
use-public-rspm: true
22+
23+
- uses: r-lib/actions/setup-r-dependencies@v2
24+
with:
25+
extra-packages: any::lintr, local::.
26+
needs: lint
27+
28+
- name: Lint
29+
run: tmp <- lintr::lint_package(); if (length(tmp) > 0) {print(tmp); stop("linter found problems")}
30+
shell: Rscript {0}
31+

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.Rproj.user
2+
.Rhistory
3+
.RData
4+
.Ruserdata
5+
docs
6+
inst/doc
7+
dev
8+
/doc/
9+
/Meta/

.lintr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
linters: linters_with_defaults(
2+
object_usage_linter = NULL) # see vignette("lintr")
3+
encoding: "UTF-8"

.project

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>simulatr</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.statet.r.resourceProjects.RBuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.statet.docmlet.resourceProjects.WikitextBuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
</buildSpec>
19+
<natures>
20+
<nature>org.eclipse.statet.ide.resourceProjects.Statet</nature>
21+
<nature>org.eclipse.statet.r.resourceProjects.R</nature>
22+
<nature>org.eclipse.statet.r.resourceProjects.RPkg</nature>
23+
<nature>org.eclipse.statet.docmlet.resourceProjects.Wikitext</nature>
24+
</natures>
25+
</projectDescription>

DESCRIPTION

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
Package: simulatr
2+
Type: Package
3+
Title: Generator for Reproducible Fake Data
4+
Version: 0.1.0.9001
5+
Date: 2023-02-10
6+
Authors@R: c(
7+
person("Friedrich", "Pahlke", , "friedrich.pahlke@rpact.com", role = c("aut", "cre")),
8+
person("Daniel", "Sabanes Bove", , "daniel.sabanes_bove@roche.com", role = "aut"),
9+
person("Kevin", "Kunzmann", , "kevin.kunzmann@boehringer-ingelheim.com", role = "aut")
10+
)
11+
Description: An example package for learning about software development
12+
best-practices for R packages.
13+
License: CC BY 4.0
14+
Encoding: UTF-8
15+
LazyData: true
16+
Language: en-US
17+
Roxygen: list(markdown = TRUE)
18+
RoxygenNote: 7.2.3
19+
Depends:
20+
R (>= 3.5.0)
21+
Imports:
22+
methods,
23+
stats,
24+
utils,
25+
graphics,
26+
tools,
27+
rlang,
28+
checkmate (>= 2.0.0)
29+
Suggests:
30+
knitr,
31+
rmarkdown,
32+
glue (>= 1.6.0),
33+
ggplot2 (>= 3.0.0),
34+
httr (>= 1.4.0),
35+
dplyr (>= 1.0.0),
36+
testthat (>= 3.0.0),
37+
covr
38+
Config/testthat/edition: 3
39+
VignetteBuilder: knitr

0 commit comments

Comments
 (0)