Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
bf4d341
Merge pull request #6 from MarselScheer/release/v0.1.0
MarselScheer Sep 2, 2021
1f0b885
update version number and news for next dev-cycle
MarselScheer Sep 2, 2021
5df5eeb
all tests are realized with tinytest
MarselScheer Sep 2, 2021
f9c6c6c
add Makefile and LICENSE
MarselScheer Sep 2, 2021
e34278c
correct linting errors
MarselScheer Sep 2, 2021
4bb4397
add Dockerfile from Rpkgtemplate
MarselScheer Sep 2, 2021
b448022
update badges in README and describe how to run tests after installation
MarselScheer Sep 2, 2021
89e196a
add gh-actions from Rpkgtemplate
MarselScheer Sep 2, 2021
308f93b
pkgdown site is build by CI
MarselScheer Sep 2, 2021
d2bbe5e
update R-version in renv.lock
MarselScheer Sep 4, 2021
cf37a2d
Merge pull request #7 from MarselScheer/feature/apply_rpkgtemplate_st…
MarselScheer Sep 4, 2021
7fd430b
use covr to calculate percentage in ci. add manual covr-call to makefile
MarselScheer Sep 6, 2021
d1e4b93
rd-files are generated by roxygen
MarselScheer Sep 6, 2021
d5f9716
Merge pull request #8 from MarselScheer/feature/calc_coverage
MarselScheer Sep 7, 2021
44aea70
update packages and docker container to reproduce error from cran
MarselScheer Aug 20, 2025
7da82c2
update versions of action in CI (except for pkgdown wf)
MarselScheer Aug 21, 2025
09f8421
deactivate linting for now
MarselScheer Aug 21, 2025
3427369
fix cran warning/note
MarselScheer Aug 21, 2025
162a1c4
fix pkgdown upfront because few month ago this also had to be done fo…
MarselScheer Aug 21, 2025
c95829e
update news
MarselScheer Aug 21, 2025
f1325d9
Merge pull request #9 from MarselScheer/feature/fix-cran-warning
MarselScheer Aug 22, 2025
41a4990
solve misc problems with creating pkgdown
MarselScheer Aug 22, 2025
8f6dce2
Merge pull request #10 from MarselScheer/feature/fix-pkgdown
MarselScheer Aug 22, 2025
2cd8009
update version in DESCRIPTION and NEWS
MarselScheer Aug 25, 2025
4c12455
correct link to coverage report
MarselScheer Aug 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
^.*\.Rproj$
^\.Rproj\.user$
^renv$
^renv\.lock$
^bootGOF\.Rproj$
^\.Rproj\.user$
^_pkgdown\.yml$
^docs$
^pkgdown$
^docker$
^README\.Rmd$
README.Rmd
Makefile
LICENSE
design.plantuml
^\.github$
_pkgdown.yml
docs/
docker/
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
70 changes: 70 additions & 0 deletions .github/workflows/Features.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [feature/**]
paths: [DESCRIPTION, .Rbuildignore, R/**, tests/**, inst/**, .github/**]


name: Feature-branch-checks

jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})

strategy:
fail-fast: true
matrix:
config:
- {os: ubuntu-latest, r: 'release'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

steps:
- uses: actions/checkout@v5

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: rcmdcheck, covr, tinytest, lintr

# - name: Lint
# run: |
# library(tinytest)
# out <- lintr::lint_dir()
# if (0 < length(out)) stop("Linting failure") else print("Linting successful")
# shell: Rscript {0}

- name: Coverage
run: |
library(tinytest)
roxygen2::roxygenize()
test_covr <- covr::percent_coverage(covr::package_coverage())
if (test_covr < 100) stop(sprintf("Coverage of %s (<100) too low", lowest_covr_value))
shell: Rscript {0}

- name: Check
env:
_R_CHECK_CRAN_INCOMING_: false
run: |
options(crayon.enabled = TRUE)
rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"), error_on = "warning", check_dir = "check")
shell: Rscript {0}

- name: Upload check results
if: failure()
uses: actions/upload-artifact@main
with:
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
path: check
60 changes: 60 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [master, develop]
paths: [DESCRIPTION, .Rbuildignore, R/**, tests/**, inst/**, .github/**]
pull_request:
branches: [master, develop]
paths: [DESCRIPTION, .Rbuildignore, R/**, tests/**, inst/**, .github/**]

name: R-CMD-check

jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})

strategy:
fail-fast: false
matrix:
config:
- {os: macOS-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v5

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: rcmdcheck

- name: Check
env:
_R_CHECK_CRAN_INCOMING_: false
run: |
options(crayon.enabled = TRUE)
roxygen2::roxygenize()
rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"), error_on = "warning", check_dir = "check")
shell: Rscript {0}

- name: Upload check results
if: failure()
uses: actions/upload-artifact@main
with:
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
path: check
46 changes: 46 additions & 0 deletions .github/workflows/Test-coverage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [master, develop]
paths: [DESCRIPTION, .Rbuildignore, R/**, tests/**, inst/**, .github/**]

name: Test coverage

jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})

strategy:
fail-fast: true
matrix:
config:
- {os: ubuntu-latest, r: 'release'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

steps:
- uses: actions/checkout@v5

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: covr, tinytest

- name: Coverage
run: |
library(tinytest)
roxygen2::roxygenize()
covr::codecov()
shell: Rscript {0}
37 changes: 37 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Workflow copied from simTool (which copied it from dplyr)
on:
push:
branches: [develop]

name: pkgdown

jobs:
pkgdown:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v5

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
needs: website

- name: Build site
run: make pkgdown
shell: bash

- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
clean: false
branch: gh-pages
folder: docs
45 changes: 43 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,46 @@
.Rproj.user
# History files
.Rhistory
.Rapp.history

# Session Data files
.RData

# User-specific files
.Ruserdata
inst/doc

# Example code in package build process
*-Ex.R

# Output files from R CMD build
/*.tar.gz

# Output files from R CMD check
/*.Rcheck/

# RStudio files
.Rproj.user/

# produced vignettes
vignettes/*.html
vignettes/*.pdf

# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3
.httr-oauth

# knitr and R markdown default cache directories
*_cache/
/cache/

# Temporary files created by R markdown
*.utf8.md
*.knit.md

# R Environment Variables
.Renviron

# Roxygen generated files
NAMESPACE
man/

# pkgdown generated files
docs/
6 changes: 2 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: bootGOF
Title: Bootstrap Based Goodness-of-Fit Tests
Version: 0.1.0
Version: 0.1.1
Authors@R:
c(person(given = "Marsel",
family = "Scheer",
Expand Down Expand Up @@ -28,15 +28,13 @@ Imports:
R6 (>= 2.4.1)
License: GPL-3
Encoding: UTF-8
RoxygenNote: 7.1.0
RoxygenNote: 7.3.2
URL: https://github.com/MarselScheer/bootGOF
BugReports: https://github.com/MarselScheer/bootGOF/issues
Suggests:
testthat,
covr,
roxygen2,
pkgdown,
devtools,
tinytest,
mockery,
knitr,
Expand Down
Loading
Loading