Skip to content

Commit 9b219dd

Browse files
committed
Additional preparation for CRAN v1.0.1 release
* πŸ“ In 'cran-comments.md': added valid URLs, updated test environments, and OK'd author formatting * πŸ“„ Updated LICENSE year * πŸ“› Updated DOI badge * βœ… Added Rhub v2 checks
1 parent a608538 commit 9b219dd

4 files changed

Lines changed: 119 additions & 18 deletions

File tree

β€Ž.github/workflows/rhub.yamlβ€Ž

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
# R-hub's generic GitHub Actions workflow file. It's canonical location is at
2+
# https://github.com/r-hub/actions/blob/v1/workflows/rhub.yaml
3+
# You can update this file to a newer version using the rhub2 package:
4+
#
5+
# rhub::rhub_setup()
6+
#
7+
# It is unlikely that you need to modify this file manually.
8+
9+
name: R-hub
10+
run-name: "${{ github.event.inputs.id }}: ${{ github.event.inputs.name || format('Manually run by {0}', github.triggering_actor) }}"
11+
12+
on:
13+
workflow_dispatch:
14+
inputs:
15+
config:
16+
description: 'A comma separated list of R-hub platforms to use.'
17+
type: string
18+
default: 'linux,windows,macos'
19+
name:
20+
description: 'Run name. You can leave this empty now.'
21+
type: string
22+
id:
23+
description: 'Unique ID. You can leave this empty now.'
24+
type: string
25+
26+
jobs:
27+
28+
setup:
29+
runs-on: ubuntu-latest
30+
outputs:
31+
containers: ${{ steps.rhub-setup.outputs.containers }}
32+
platforms: ${{ steps.rhub-setup.outputs.platforms }}
33+
34+
steps:
35+
# NO NEED TO CHECKOUT HERE
36+
- uses: r-hub/actions/setup@v1
37+
with:
38+
config: ${{ github.event.inputs.config }}
39+
id: rhub-setup
40+
41+
linux-containers:
42+
needs: setup
43+
if: ${{ needs.setup.outputs.containers != '[]' }}
44+
runs-on: ubuntu-latest
45+
name: ${{ matrix.config.label }}
46+
strategy:
47+
fail-fast: false
48+
matrix:
49+
config: ${{ fromJson(needs.setup.outputs.containers) }}
50+
container:
51+
image: ${{ matrix.config.container }}
52+
env:
53+
DISPLAY: 99.0
54+
55+
steps:
56+
- uses: r-hub/actions/checkout@v1
57+
- uses: r-hub/actions/platform-info@v1
58+
with:
59+
token: ${{ secrets.RHUB_TOKEN }}
60+
job-config: ${{ matrix.config.job-config }}
61+
- uses: r-hub/actions/setup-deps@v1
62+
with:
63+
token: ${{ secrets.RHUB_TOKEN }}
64+
job-config: ${{ matrix.config.job-config }}
65+
- uses: r-hub/actions/run-check@v1
66+
with:
67+
token: ${{ secrets.RHUB_TOKEN }}
68+
job-config: ${{ matrix.config.job-config }}
69+
70+
other-platforms:
71+
needs: setup
72+
if: ${{ needs.setup.outputs.platforms != '[]' }}
73+
runs-on: ${{ matrix.config.os }}
74+
name: ${{ matrix.config.label }}
75+
strategy:
76+
fail-fast: false
77+
matrix:
78+
config: ${{ fromJson(needs.setup.outputs.platforms) }}
79+
80+
steps:
81+
- uses: r-hub/actions/checkout@v1
82+
- uses: r-hub/actions/setup-r@v1
83+
with:
84+
job-config: ${{ matrix.config.job-config }}
85+
token: ${{ secrets.RHUB_TOKEN }}
86+
- uses: r-hub/actions/platform-info@v1
87+
with:
88+
token: ${{ secrets.RHUB_TOKEN }}
89+
job-config: ${{ matrix.config.job-config }}
90+
- uses: r-hub/actions/setup-deps@v1
91+
with:
92+
job-config: ${{ matrix.config.job-config }}
93+
token: ${{ secrets.RHUB_TOKEN }}
94+
- uses: r-hub/actions/run-check@v1
95+
with:
96+
job-config: ${{ matrix.config.job-config }}
97+
token: ${{ secrets.RHUB_TOKEN }}

β€ŽDESCRIPTIONβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Package: envi
22
Type: Package
33
Title: Environmental Interpolation using Spatial Kernel Density Estimation
44
Version: 1.0.1
5-
Date: 2025-08-01
5+
Date: 2025-08-02
66
Authors@R:
77
c(person(given = "Ian D.",
88
family = "Buller",

β€ŽREADME.mdβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
[![CRAN RStudio mirror downloads monthly ](https://cranlogs.r-pkg.org/badges/envi)](https://www.r-pkg.org:443/pkg/envi)
1010
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/license/apache-2-0)
1111
![GitHub last commit](https://img.shields.io/github/last-commit/lance-waller-lab/envi)
12-
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5347826.svg)](https://doi.org/10.5281/zenodo.5347826)
12+
[![](https://img.shields.io/badge/DOI-10.32614/CRAN.package.envi-1f57b6?style=flat&link=https://doi.org/10.32614/CRAN.package.envi)](https://doi.org/10.32614/CRAN.package.envi)
1313
<!-- badges: end -->
1414

15-
**Date repository last updated**: August 01, 2025
15+
**Date repository last updated**: August 02, 2025
1616

1717
<h2 id='overview'>
1818

@@ -314,7 +314,7 @@ plot_perturb(
314314

315315
### Funding
316316

317-
This package was developed while the author was originally a doctoral student in the [Environmental Health Sciences doctoral program](https://sph.emory.edu/departments/eh/degree-programs/phd/index.html) at [Emory University](https://www.emory.edu/home/index.html) and later as a postdoctoral fellow supported by the [Cancer Prevention Fellowship Program](https://cpfp.cancer.gov/) at the [National Cancer Institute](https://www.cancer.gov/). Any modifications since December 05, 2022 were made while the author was an employee of [DLH, LLC](https://www.dlhcorp.com) (formerly Social & Scientific Systems, Inc.).
317+
This package was developed while the author was originally a doctoral student in the [Environmental Health Sciences doctoral program](https://sph.emory.edu/degrees-programs/phd/environmental-health-sciences) at [Emory University](https://www.emory.edu/home/index.html) and later as a postdoctoral fellow supported by the [Cancer Prevention Fellowship Program](https://cpfp.cancer.gov/) at the [National Cancer Institute](https://www.cancer.gov/). Any modifications since December 05, 2022 were made while the author was an employee of [DLH, LLC](https://www.dlhcorp.com) (formerly Social & Scientific Systems, Inc.).
318318

319319
### Acknowledgments
320320

β€Žcran-comments.mdβ€Ž

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,28 @@
22

33
* Updates since previous submission:
44
* Fixed Rd `\link{}` targets missing package in 'envi-package.Rd' and 'lrren.Rd'
5-
6-
* Documentation for "envi-package.Rd", "pval_correct.Rd", DESCRIPTION, and vignette references the following DOIs, which throws a NOTE but are valid URLs:
7-
* <https://doi.org/10.1002/sim.4780090616>
8-
* <https://doi.org/10.1002/sim.4780101112>
9-
* <https://doi.org/10.1002/sim.7577>
10-
* <https://doi.org/10.1111/j.2517-6161.1995.tb02031.x>
11-
* <https://doi.org/10.1111/j.1475-4991.2008.00309.x>
5+
6+
## Notes
7+
* Two links in NEWS.md throw a NOTE but are valid URLs:
8+
* <https://github.com/HenrikBengtsson/parallelly/issues/62#issuecomment-880665390>
9+
* <https://github.com/HenrikBengtsson/parallelly/issues/65>
10+
* The win-builder oldrelease throws a NOTE that "Author field differs from that derived from Authors@R". The behavior is OK because ORCID has different formatting but same information
1211

1312
## Test environments
1413
* local Windows install, R 4.5.1
1514
* win-builder, (devel, release, oldrelease)
16-
* Rhub
17-
* Fedora Linux, R-devel, clang, gfortran
18-
* Ubuntu Linux 20.04.1 LTS, R-release, GCC
19-
* Windows Server 2022, R-devel, 64 bit
20-
* Windows Server 2008 R2 SP1, R-release, 32⁄64 bit
21-
* Oracle Solaris 10, x86, 32 bit, R-release
22-
* macOS 10.13.6 High Sierra, R-release, CRAN's setup
15+
* R-CMD-check on GitHub
16+
* macos-latest (release)
17+
* windows-latest (release)
18+
* ubuntu-latest (devel)
19+
* ubuntu-latest (release)
20+
* ubuntu-latest (oldrel-1)
21+
* Rhub v2
22+
* macos-15 on GitHub, ASAN + UBSAN on macOS (`m1-san`)
23+
* macos-13 on GitHub(`macos`)
24+
* Fedora Linux 40 (Container Image) (`gcc-asan`)
25+
* Ubuntu 22.04.5 LTS (`ubuntu-clang`)
26+
* Ubuntu 22.04.5 LTS (`ubuntu-gcc12`)
2327

2428
## R CMD check results
2529
0 errors | 0 warnings | 0 notes

0 commit comments

Comments
Β (0)