Skip to content

Commit d179a72

Browse files
committed
updated to CRAN version 1.1.6 and replaced .tic with .pkgdown
1 parent b892865 commit d179a72

File tree

19 files changed

+199
-182
lines changed

19 files changed

+199
-182
lines changed

.github/.gitignore

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

.github/ISSUE_TEMPLATE/issue_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ Please include a minimal reproducible example
99

1010
Please give a brief description of the problem
1111

12-
Please add your Operating System (e.g., Windows10, Macintosh, Linux) and the R version that you use (e.g., 3.6.2)
12+
Please add your Operating System (e.g., Windows10, Macintosh, Linux) and the R version that you use (e.g., 4.0.2)

.github/dependabot.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
version: 2
2+
updates:
3+
# Monitor Docker dependencies
4+
- package-ecosystem: "docker"
5+
directory: "/"
6+
schedule:
7+
interval: "monthly"
8+
open-pull-requests-limit: 3
9+
reviewers:
10+
- "mlampros"
11+
assignees:
12+
- "mlampros"
13+
labels:
14+
- "dependencies"
15+
- "docker"
16+
commit-message:
17+
prefix: "docker"
18+
include: "scope"
19+
20+
# Monitor GitHub Actions (if you have any workflows)
21+
- package-ecosystem: "github-actions"
22+
directory: "/"
23+
schedule:
24+
interval: "monthly"
25+
open-pull-requests-limit: 5
26+
reviewers:
27+
- "mlampros"
28+
assignees:
29+
- "mlampros"
30+
labels:
31+
- "dependencies"
32+
- "github-actions"
33+
commit-message:
34+
prefix: "ci"
35+
include: "scope"

.github/workflows/R-CMD-check.yaml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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, master]
6+
pull_request:
7+
8+
name: R-CMD-check.yaml
9+
10+
permissions: read-all
11+
12+
jobs:
13+
R-CMD-check:
14+
runs-on: ${{ matrix.config.os }}
15+
16+
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
17+
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
config:
22+
- {os: macos-latest, r: 'release'}
23+
- {os: windows-latest, r: 'release'}
24+
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
25+
- {os: ubuntu-latest, r: 'release'}
26+
- {os: ubuntu-latest, r: 'oldrel-1'}
27+
28+
env:
29+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
30+
R_KEEP_PKG_SOURCE: yes
31+
32+
steps:
33+
- uses: actions/checkout@v5
34+
35+
- uses: r-lib/actions/setup-pandoc@v2
36+
37+
- uses: r-lib/actions/setup-r@v2
38+
with:
39+
r-version: ${{ matrix.config.r }}
40+
http-user-agent: ${{ matrix.config.http-user-agent }}
41+
use-public-rspm: true
42+
43+
- uses: r-lib/actions/setup-r-dependencies@v2
44+
with:
45+
extra-packages: any::rcmdcheck
46+
needs: check
47+
48+
- uses: r-lib/actions/check-r-package@v2
49+
with:
50+
upload-snapshots: true
51+
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'

.github/workflows/docker-image.yml

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# build, push and cache the docker image. I have to adjust the following in case of a different repository:
44
# - I have to add the 'BUILD_DATE' arg in the Dockerfile
55
# - I have to create a DOCKER_PASSWORD (use the docker token) in the 'Settings' tab of the repository
6+
# - This github action also updates the dockerhub readme file
67
# References:
78
# - https://github.com/mlampros/IceSat2R/blob/master/.github/workflows/docker_image.yml
89
# - https://github.com/orgs/community/discussions/25768#discussioncomment-3249184
@@ -21,25 +22,26 @@ jobs:
2122
runs-on: ubuntu-latest
2223

2324
steps:
25+
- name: Check Out Repo
26+
uses: actions/checkout@v5
27+
2428
- id: string
25-
uses: ASzc/change-string-case-action@v1
29+
uses: ASzc/change-string-case-action@v6
2630
with:
2731
string: ${{ github.event.repository.name }}
2832

29-
- name: Check Out Repo
30-
uses: actions/checkout@v2
31-
3233
- name: Login to Docker Hub
33-
uses: docker/login-action@v2
34+
uses: docker/login-action@v3
3435
with:
3536
username: ${{ github.repository_owner }}
3637
password: ${{ secrets.DOCKER_PASSWORD }}
3738

3839
- name: Set up Docker Buildx
39-
uses: docker/setup-buildx-action@v1
40+
id: buildx
41+
uses: docker/setup-buildx-action@v3
4042

4143
- name: Build and push
42-
uses: docker/build-push-action@v2
44+
uses: docker/build-push-action@v6
4345
with:
4446
context: ./
4547
build-args: BUILD_DATE="$(date -u +'%Y-%m-%dT%H:%M:%SZ')"
@@ -49,3 +51,12 @@ jobs:
4951
tags: ${{ github.repository_owner }}/${{ steps.string.outputs.lowercase }}:rstudiodev
5052
cache-from: type=registry,ref=${{ github.repository_owner }}/${{ steps.string.outputs.lowercase }}:buildcache
5153
cache-to: type=registry,ref=${{ github.repository_owner }}/${{ steps.string.outputs.lowercase }}:buildcache,mode=max
54+
55+
- name: Update Docker Hub Description
56+
uses: peter-evans/dockerhub-description@v4
57+
with:
58+
username: ${{ github.repository_owner }}
59+
password: ${{ secrets.DOCKER_PASSWORD }}
60+
repository: ${{ github.repository_owner }}/${{ steps.string.outputs.lowercase }}
61+
short-description: ${{ github.event.repository.description }}
62+
readme-filepath: ./README.md

.github/workflows/issue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: Renato66/auto-label@v2
12+
- uses: Renato66/auto-label@v3
1313
with:
1414
repo-token: ${{ secrets.GITHUB_TOKEN }}
1515
ignore-comments: true

.github/workflows/pkgdown.yaml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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, master]
6+
pull_request:
7+
release:
8+
types: [published]
9+
workflow_dispatch:
10+
11+
name: pkgdown.yaml
12+
13+
permissions: read-all
14+
15+
jobs:
16+
pkgdown:
17+
runs-on: ubuntu-latest
18+
# Only restrict concurrency for non-PR jobs
19+
concurrency:
20+
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
21+
env:
22+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
23+
permissions:
24+
contents: write
25+
steps:
26+
- uses: actions/checkout@v5
27+
28+
- uses: r-lib/actions/setup-pandoc@v2
29+
30+
- uses: r-lib/actions/setup-r@v2
31+
with:
32+
use-public-rspm: true
33+
34+
- uses: r-lib/actions/setup-r-dependencies@v2
35+
with:
36+
extra-packages: any::pkgdown, local::.
37+
needs: website
38+
39+
- name: Build site
40+
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
41+
shell: Rscript {0}
42+
43+
- name: Deploy to GitHub pages 🚀
44+
if: github.event_name != 'pull_request'
45+
uses: JamesIves/[email protected]
46+
with:
47+
clean: false
48+
branch: gh-pages
49+
folder: docs

.github/workflows/stale-actions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
stale:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/stale@v3
13+
- uses: actions/stale@v10
1414
with:
1515
repo-token: ${{ secrets.GITHUB_TOKEN }}
1616
days-before-stale: 12

.github/workflows/tic.yml

Lines changed: 0 additions & 133 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
docs/
22
.Rbuildignore
33
.Rhistory
4+
docs

0 commit comments

Comments
 (0)