-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
189 changed files
with
1,256 additions
and
1,771 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,3 +25,4 @@ issues | |
^CRAN-RELEASE$ | ||
^codemeta\.json$ | ||
^CRAN-SUBMISSION$ | ||
.markdownlint.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
# R-hub's generic GitHub Actions workflow file. It's canonical location is at | ||
# https://github.com/r-hub/actions/blob/v1/workflows/rhub.yaml | ||
# You can update this file to a newer version using the rhub2 package: | ||
# | ||
# rhub::rhub_setup() | ||
# | ||
# It is unlikely that you need to modify this file manually. | ||
|
||
name: R-hub | ||
run-name: "${{ github.event.inputs.id }}: ${{ github.event.inputs.name || format('Manually run by {0}', github.triggering_actor) }}" | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
config: | ||
description: "A comma separated list of R-hub platforms to use." | ||
type: string | ||
default: "linux,windows,macos" | ||
name: | ||
description: "Run name. You can leave this empty now." | ||
type: string | ||
id: | ||
description: "Unique ID. You can leave this empty now." | ||
type: string | ||
|
||
jobs: | ||
setup: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
containers: ${{ steps.rhub-setup.outputs.containers }} | ||
platforms: ${{ steps.rhub-setup.outputs.platforms }} | ||
|
||
steps: | ||
# NO NEED TO CHECKOUT HERE | ||
- uses: r-hub/actions/setup@v1 | ||
with: | ||
config: ${{ github.event.inputs.config }} | ||
id: rhub-setup | ||
|
||
linux-containers: | ||
needs: setup | ||
if: ${{ needs.setup.outputs.containers != '[]' }} | ||
runs-on: ubuntu-latest | ||
name: ${{ matrix.config.label }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
config: ${{ fromJson(needs.setup.outputs.containers) }} | ||
container: | ||
image: ${{ matrix.config.container }} | ||
|
||
steps: | ||
- uses: r-hub/actions/checkout@v1 | ||
- uses: r-hub/actions/platform-info@v1 | ||
with: | ||
token: ${{ secrets.RHUB_TOKEN }} | ||
job-config: ${{ matrix.config.job-config }} | ||
- uses: r-hub/actions/setup-deps@v1 | ||
with: | ||
token: ${{ secrets.RHUB_TOKEN }} | ||
job-config: ${{ matrix.config.job-config }} | ||
- uses: r-hub/actions/run-check@v1 | ||
with: | ||
token: ${{ secrets.RHUB_TOKEN }} | ||
job-config: ${{ matrix.config.job-config }} | ||
|
||
other-platforms: | ||
needs: setup | ||
if: ${{ needs.setup.outputs.platforms != '[]' }} | ||
runs-on: ${{ matrix.config.os }} | ||
name: ${{ matrix.config.label }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
config: ${{ fromJson(needs.setup.outputs.platforms) }} | ||
|
||
steps: | ||
- uses: r-hub/actions/checkout@v1 | ||
- uses: r-hub/actions/setup-r@v1 | ||
with: | ||
job-config: ${{ matrix.config.job-config }} | ||
token: ${{ secrets.RHUB_TOKEN }} | ||
- uses: r-hub/actions/platform-info@v1 | ||
with: | ||
token: ${{ secrets.RHUB_TOKEN }} | ||
job-config: ${{ matrix.config.job-config }} | ||
- uses: r-hub/actions/setup-deps@v1 | ||
with: | ||
job-config: ${{ matrix.config.job-config }} | ||
token: ${{ secrets.RHUB_TOKEN }} | ||
- uses: r-hub/actions/run-check@v1 | ||
with: | ||
job-config: ${{ matrix.config.job-config }} | ||
token: ${{ secrets.RHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# https://github.com/DavidAnson/markdownlint/blob/v0.32.1/schema/.markdownlint.yaml | ||
MD013: false | ||
MD025: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Package: gsw | ||
Version: 1.1-1 | ||
Version: 1.2-0 | ||
Title: Gibbs Sea Water Functions | ||
Authors@R: c( | ||
person(given="Dan", | ||
|
@@ -16,7 +16,7 @@ Authors@R: c( | |
family="SCOR/IAPSO", | ||
role=c("aut","cph"), | ||
comment="Original 'Matlab' and derived code")) | ||
Copyright: Original algorithms and 'Matlab'/C library (c) 2015-2022 WG127 SCOR/IAPSO (Scientific Committee on Oceanic Research / International Association for the Physical Sciences of the Oceans, Working Group 127); C wrapper code and R code (c) 2015-2021 Dan Kelley and Clark Richards | ||
Copyright: Original algorithms and 'Matlab'/C library (c) 2015-2023 WG127 SCOR/IAPSO (Scientific Committee on Oceanic Research / International Association for the Physical Sciences of the Oceans, Working Group 127); C wrapper code and R code (c) 2015-2023 Dan Kelley and Clark Richards | ||
Maintainer: Dan Kelley <[email protected]> | ||
Depends: | ||
R (>= 3.5.0), | ||
|
@@ -32,6 +32,6 @@ LazyLoad: yes | |
LazyData: no | ||
Packaged: Dan Kelley | ||
Encoding: UTF-8 | ||
RoxygenNote: 7.2.1 | ||
RoxygenNote: 7.3.2 | ||
BuildVignettes: true | ||
VignetteBuilder: knitr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#install.packages("codemetar") | ||
# install.packages("codemetar") | ||
requireNamespace(c("codemetar", "devtools", "urlchecker", "rhub", "revdepcheck")) | ||
# codemeta changes a timestamp, so requiring a commit after every call. That is | ||
# senseless, so I only run the false part of the following conditional in the | ||
|
@@ -14,14 +14,13 @@ urlchecker::url_check() | |
devtools::check_win_release() | ||
devtools::check_win_devel() | ||
devtools::check_win_oldrelease() | ||
# rhub was broken in 2022 June/July but seen to work again on Aug 16 | ||
rhub::check_for_cran(email="[email protected]", show_status=FALSE) | ||
rhub::check(platform="debian-clang-devel", show_status=FALSE) | ||
#> rhub::platforms() | ||
#debian-clang-devel: | ||
# Debian Linux, R-devel, clang, ISO-8859-15 locale | ||
#> rhub::check_rhub() | ||
|
||
# 2024-08-19 DEK: rhub has been replaced by rhub2, so the following no longer | ||
# work. The new system is complicated, and has the disadvantage that it only | ||
# works on code that has been pushed to github ... so I will just use a github | ||
# action instead, I think. | ||
# rhub::check_for_cran(email = "[email protected]", show_status = FALSE) | ||
# rhub::check(platform = "debian-clang-devel", show_status = FALSE) | ||
remotes::install_github("r-lib/revdepcheck") | ||
revdepcheck::revdep_reset() | ||
revdepcheck::revdep_check(num_workers=4) | ||
|
||
revdepcheck::revdep_check(num_workers = 4) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.