File tree Expand file tree Collapse file tree 3 files changed +28
-4
lines changed Expand file tree Collapse file tree 3 files changed +28
-4
lines changed Original file line number Diff line number Diff line change 11# # tic GitHub Actions template: linux-macos-windows-deploy
22# # revision date: 2020-08-06
3+ # [Custom header]
34on :
45 workflow_dispatch :
56 push :
7+ branches :
8+ - master
69 pull_request :
710 # for now, CRON jobs only run on the default branch of the repo (i.e. usually on master)
811 schedule :
2225 matrix :
2326 config :
2427 # use a different tic template type if you do not want to build on all listed platforms
25- - { os: windows-latest, r: "release" }
26- - { os: macOS-latest, r: "release", pkgdown: "true", latex: "true" }
2728 - { os: ubuntu-latest, r: "devel" }
28- - { os: ubuntu-latest, r: "release" }
29+ - { os: ubuntu-latest, r: "release", pkgdown: true, latex: true }
2930
3031 env :
3132 # otherwise remotes::fun() errors cause the build to fail. Example: Unavailability of binaries
Original file line number Diff line number Diff line change @@ -5,5 +5,6 @@ linters: with_defaults(
55 object_name_linter = object_name_linter(c("snake_case", "CamelCase")), # only allow snake case and camel case object names
66 cyclocomp_linter = NULL, # do not check function complexity
77 commented_code_linter = NULL, # allow code in comments
8- line_length_linter = line_length_linter(100 )
8+ line_length_linter = line_length_linter(120 )
99 )
10+
Original file line number Diff line number Diff line change 1+ # OS ---------------------------------------------------------------------------
2+ os : linux
3+
4+ # meta -------------------------------------------------------------------------
5+ language : r
6+ cache : packages
7+ latex : false
8+ branches :
9+ only :
10+ - master
11+
12+ # Stages -----------------------------------------------------------------------
13+
14+ install : true
15+ script :
16+ - Rscript -e 'if (!requireNamespace("lintr")) install.packages("lintr")'
17+ - Rscript -e 'if (!requireNamespace("remotes")) install.packages("remotes")'
18+ - Rscript -e 'remotes::install_deps()'
19+ - R CMD build .
20+ - R CMD INSTALL *.tar.gz
21+ - Rscript -e 'lintr::lint_package()'
22+
You can’t perform that action at this time.
0 commit comments