Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
needs: website

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}
run: make pkgdown
shell: bash

- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ lint:
Rscript -e "library(tinytest); pkgload::load_all(); lintr::lint_package()"

pkgdown: NAMESPACE
Rscript -e "library(pkgdown); pkgdown::build_site()"
Rscript -e "library(pkgdown); pkgdown::build_site_github_pages(new_process=FALSE, install=FALSE)"

README:
Rscript -e "pkgload::load_all(); rmarkdown::render(input='README.Rmd', output_format='md_document')"
1 change: 1 addition & 0 deletions R/GOF_model_simulator.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ GOF_lm_sim_param <- R6::R6Class( # nolint
##'
##' @param n number of random variables to be generated
##' @return vector of values following the Rademacher distribution
##' @keywords internal
rrademacher <- function(n) {
ret <- 2 * stats::rbinom(n = n, size = 1, prob = 0.5) - 1
return(ret)
Expand Down
4 changes: 2 additions & 2 deletions R/GOF_model_trainer.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
##'
##' @description R6 does not offer interfaces. Hence all methods
##' are considered as abstract.
##' @importFrom R6 R6Class
##' According to https://roxygen2.r-lib.org/articles/namespace.html#imports
##' the above R6Class import is not necessary but we need it to
##' the R6Class import below is not necessary but we need it to
##' get rid of a warning from the CRAN check :-(
##' @importFrom R6 R6Class
##' @export
GOF_model_trainer <- R6::R6Class( # nolint
classname = "GOF_model_trainer",
Expand Down
3 changes: 1 addition & 2 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ destination: docs
title: bootGOF
url: http://MarselScheer.github.io/bootGOF
template:
params:
bootswatch: flatly
bootstrap: 5
reference:
- title: "GOF-tests"
- desc: >
Expand Down
Loading