Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
VISOR
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AG Seifert
VISOR
Commits
679ba3df
Verified
Commit
679ba3df
authored
1 year ago
by
Gärber, Florian
Browse files
Options
Downloads
Patches
Plain Diff
ci: R CMD CHECK & pkgdown
parent
fe36bc2d
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/R-CMD-check.yml
+42
-0
42 additions, 0 deletions
.github/workflows/R-CMD-check.yml
.github/workflows/pkgdown.yml
+46
-0
46 additions, 0 deletions
.github/workflows/pkgdown.yml
with
88 additions
and
0 deletions
.github/workflows/R-CMD-check.yml
0 → 100644
+
42
−
0
View file @
679ba3df
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on
:
push
:
branches
:
[
main
]
pull_request
:
branches
:
[
main
]
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
:
ubuntu-latest
r
:
release
env
:
GITHUB_PAT
:
${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE
:
yes
steps
:
-
uses
:
actions/checkout@v3
-
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
:
any::rcmdcheck
needs
:
check
-
uses
:
r-lib/actions/check-r-package@v2
This diff is collapsed.
Click to expand it.
.github/workflows/pkgdown.yml
0 → 100644
+
46
−
0
View file @
679ba3df
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on
:
push
:
branches
:
[
main
]
pull_request
:
branches
:
[
main
]
release
:
types
:
[
published
]
workflow_dispatch
:
name
:
pkgdown
jobs
:
pkgdown
:
runs-on
:
ubuntu-latest
# Only restrict concurrency for non-PR jobs
concurrency
:
group
:
pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
env
:
GITHUB_PAT
:
${{ secrets.GITHUB_TOKEN }}
steps
:
-
uses
:
actions/checkout@v3
-
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
:
pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell
:
Rscript {0}
-
name
:
Deploy to GitHub pages 🚀
if
:
github.event_name != 'pull_request'
uses
:
JamesIves/github-pages-deploy-action@v4.4.1
with
:
clean
:
false
branch
:
gh-pages
folder
:
docs
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment