Skip to content

Commit ed0c1cb

Browse files
authored
later v1.3.0 (#153)
1 parent 729a008 commit ed0c1cb

File tree

11 files changed

+269
-26
lines changed

11 files changed

+269
-26
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@
1111
^\.github$
1212
^cran-comments\.md$
1313
^LICENSE\.md$
14+
^revdep$

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

Lines changed: 49 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -17,28 +17,49 @@ on:
1717
name: R-CMD-check
1818

1919
jobs:
20+
21+
rversions:
22+
name: R Versions
23+
runs-on: ubuntu-latest
24+
outputs:
25+
devel: ${{ steps.devel.outputs.installed-r-version }}
26+
release: ${{ steps.release.outputs.installed-r-version }}
27+
oldrel1: ${{ steps.oldrel1.outputs.installed-r-version }}
28+
oldrel2: ${{ steps.oldrel2.outputs.installed-r-version }}
29+
oldrel3: ${{ steps.oldrel3.outputs.installed-r-version }}
30+
oldrel4: ${{ steps.oldrel4.outputs.installed-r-version }}
31+
steps:
32+
- { name: devel, uses: r-lib/actions/setup-r@master, id: devel, with: { r-version: devel, install-r: false }}
33+
- { name: release, uses: r-lib/actions/setup-r@master, id: release, with: { r-version: release, install-r: false }}
34+
- { name: oldrel/1, uses: r-lib/actions/setup-r@master, id: oldrel1, with: { r-version: oldrel/1, install-r: false }}
35+
- { name: oldrel/2, uses: r-lib/actions/setup-r@master, id: oldrel2, with: { r-version: oldrel/2, install-r: false }}
36+
- { name: oldrel/3, uses: r-lib/actions/setup-r@master, id: oldrel3, with: { r-version: oldrel/3, install-r: false }}
37+
- { name: oldrel/4, uses: r-lib/actions/setup-r@master, id: oldrel4, with: { r-version: oldrel/4, install-r: false }}
38+
39+
2040
R-CMD-check:
2141
runs-on: ${{ matrix.config.os }}
2242

2343
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
2444

45+
needs:
46+
- rversions
2547
strategy:
2648
fail-fast: false
2749
matrix:
2850
config:
29-
- {os: macOS-latest, r: 'devel'}
30-
- {os: macOS-latest, r: 'release'}
31-
- {os: windows-latest, r: 'release'}
51+
- {os: macOS-latest, r: '${{ needs.rversions.outputs.devel }}'}
52+
- {os: macOS-latest, r: '${{ needs.rversions.outputs.release }}'}
53+
- {os: windows-latest, r: '${{ needs.rversions.outputs.release }}'}
3254
- {os: windows-latest, r: '3.6'}
33-
- {os: ubuntu-16.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest", http-user-agent: "R/4.0.0 (ubuntu-16.04) R (4.0.0 x86_64-pc-linux-gnu x86_64 linux-gnu) on GitHub Actions" }
34-
- {os: ubuntu-16.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
35-
- {os: ubuntu-16.04, r: 'oldrel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
36-
- {os: ubuntu-16.04, r: '3.5', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
37-
- {os: ubuntu-16.04, r: '3.4', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
38-
- {os: ubuntu-16.04, r: '3.3', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
55+
- {os: ubuntu-20.04, r: '${{ needs.rversions.outputs.devel }}', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest", http-user-agent: "release" }
56+
- {os: ubuntu-20.04, r: '${{ needs.rversions.outputs.release }}', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
57+
- {os: ubuntu-20.04, r: '${{ needs.rversions.outputs.oldrel1 }}', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
58+
- {os: ubuntu-20.04, r: '${{ needs.rversions.outputs.oldrel2 }}', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
59+
- {os: ubuntu-20.04, r: '${{ needs.rversions.outputs.oldrel3 }}', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
60+
- {os: ubuntu-20.04, r: '${{ needs.rversions.outputs.oldrel4 }}', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
3961

4062
env:
41-
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
4263
RSPM: ${{ matrix.config.rspm }}
4364
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
4465

@@ -56,19 +77,24 @@ jobs:
5677
- name: Install pak and query dependencies
5778
run: |
5879
install.packages("pak", repos = "https://r-lib.github.io/p/pak/dev/")
59-
saveRDS(pak::pkg_deps_tree("local::.", dependencies = TRUE), ".github/r-depends.rds")
80+
saveRDS(pak::pkg_deps("local::.", dependencies = TRUE), ".github/r-depends.rds")
6081
shell: Rscript {0}
6182

62-
- name: Cache R packages
83+
- name: Restore R package cache
6384
uses: actions/cache@v2
6485
with:
65-
path: ${{ env.R_LIBS_USER }}
66-
key: ${{ runner.os }}-${{ steps.install-r.outputs.installed-r-version }}-1-${{ hashFiles('.github/r-depends.rds') }}
67-
restore-keys: ${{ runner.os }}-${{ steps.install-r.outputs.installed-r-version }}-1-
86+
path: |
87+
${{ env.R_LIBS_USER }}/*
88+
!${{ env.R_LIBS_USER }}/pak
89+
key: ${{ matrix.config.os }}-${{ steps.install-r.outputs.installed-r-version }}-1-${{ hashFiles('.github/r-depends.rds') }}
90+
restore-keys: ${{ matrix.config.os }}-${{ steps.install-r.outputs.installed-r-version }}-1-
6891

6992
- name: Install system dependencies
7093
if: runner.os == 'Linux'
71-
run: Rscript -e 'pak::local_system_requirements(execute = TRUE)'
94+
run: |
95+
pak::local_system_requirements(execute = TRUE)
96+
pak::pkg_system_requirements("rcmdcheck", execute = TRUE)
97+
shell: Rscript {0}
7298

7399
- name: Install dependencies
74100
run: |
@@ -86,7 +112,9 @@ jobs:
86112
- name: Check
87113
env:
88114
_R_CHECK_CRAN_INCOMING_: false
89-
run: rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"), error_on = "warning", check_dir = "check")
115+
run: |
116+
options(crayon.enabled = TRUE)
117+
rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"), error_on = "warning", check_dir = "check")
90118
shell: Rscript {0}
91119

92120
- name: Show testthat output
@@ -98,13 +126,10 @@ jobs:
98126
if: failure()
99127
uses: actions/upload-artifact@main
100128
with:
101-
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
129+
name: ${{ matrix.config.os }}-r${{ matrix.config.r }}-results
102130
path: check
103131

104-
- name: Fix path for Windows caching
105-
if: runner.os == 'Windows'
106-
# This is needed because if you use the default tar at this stage,
107-
# C:/Rtools/bin/tar.exe, it will say that it can't find gzip.exe. So
108-
# we'll just set the path so that the original tar that would be
109-
# found, will be found.
132+
- name: Don't use tar from old Rtools to store the cache
133+
if: ${{ runner.os == 'Windows' && startsWith(steps.install-r.outputs.installed-r-version, '3.6' ) }}
134+
shell: bash
110135
run: echo "C:/Program Files/Git/usr/bin" >> $GITHUB_PATH

DESCRIPTION

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: later
22
Type: Package
33
Title: Utilities for Scheduling Functions to Execute Later with Event Loops
4-
Version: 1.2.0.9000
4+
Version: 1.3.0
55
Authors@R: c(
66
person("Winston", "Chang", role = c("aut", "cre"), email = "[email protected]"),
77
person("Joe", "Cheng", role = c("aut"), email = "[email protected]"),
@@ -27,3 +27,4 @@ Suggests:
2727
rmarkdown,
2828
testthat (>= 2.1.0)
2929
VignetteBuilder: knitr
30+
Encoding: UTF-8

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## later 1.2.0.9000
1+
# later 1.3.0
22

33
* Closed #148: When later was attached, `parallel::makeForkCluster()` would fail. (#149)
44

cran-comments.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
## Comments
2+
3+
#### 2021-8-17
4+
5+
Couple of bug fixes.
6+
7+
Please let me know if there is anything else I can provide.
8+
9+
Thank you,
10+
Winston
11+
12+
13+
14+
## Test environments
15+
16+
* local macOS, R 4.0.2
17+
* GitHub Actions
18+
* macOS
19+
* devel, release
20+
* windows
21+
* release, 3.6
22+
* ubuntu20
23+
* devel, release, oldrel/1, oldrel/2, oldrel/3, oldrel/4
24+
* devtools::
25+
* check_win_devel()
26+
* check_win_release()
27+
* check_win_oldrelease()
28+
29+
0 errors ✔ | 0 warnings ✔ | 0 notes ✔
30+
31+
32+
## revdepcheck results
33+
34+
We checked 20 reverse dependencies (19 from CRAN + 1 from BioConductor), comparing R CMD check results across CRAN and dev versions of this package.
35+
36+
* We saw 0 new problems
37+
* We failed to check 0 packages

revdep/.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
checks
2+
library
3+
checks.noindex
4+
library.noindex
5+
cloud.noindex
6+
data.sqlite
7+
*.html

revdep/README.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Platform
2+
3+
|field |value |
4+
|:--------|:----------------------------|
5+
|version |R version 4.0.2 (2020-06-22) |
6+
|os |macOS 10.16 |
7+
|system |x86_64, darwin17.0 |
8+
|ui |X11 |
9+
|language |(EN) |
10+
|collate |en_US.UTF-8 |
11+
|ctype |en_US.UTF-8 |
12+
|tz |America/New_York |
13+
|date |2021-08-17 |
14+
15+
# Dependencies
16+
17+
|package |old |new |Δ |
18+
|:-------|:-----|:-----|:--|
19+
|later |1.2.0 |1.3.0 |* |
20+
21+
# Revdeps
22+
23+
## All (20)
24+
25+
|package |version |error |warning |note |
26+
|:--------------------------------------------|:-------|:-----|:-------|:----|
27+
|blogdown |1.4 | | | |
28+
|coro |1.0.1 | | | |
29+
|fiery |1.1.3 | | | |
30+
|httpgd |1.1.1 | | | |
31+
|[httpuv](problems.md#httpuv) |1.6.1 | | |1 |
32+
|IsoplotRgui |4.1 | | | |
33+
|mapview |2.10.0 | | | |
34+
|pagedown |0.15 | | | |
35+
|plumber |1.1.0 | | | |
36+
|[plumbertableau](problems.md#plumbertableau) |0.1.0 | | |1 |
37+
|pool |0.1.6 | | | |
38+
|promises |1.2.0.1 | | | |
39+
|[Prostar](problems.md#prostar) |1.20.0 |1 | | |
40+
|quarto |1.0 | | | |
41+
|raveio |0.0.4 | | | |
42+
|retry |0.1.0 | | | |
43+
|rRofex |2.0.6 | | | |
44+
|servr |0.23 | | | |
45+
|[shiny](problems.md#shiny) |1.6.0 | | |1 |
46+
|[websocket](problems.md#websocket) |1.4.0 | | |1 |
47+

revdep/cran.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## revdepcheck results
2+
3+
We checked 20 reverse dependencies (19 from CRAN + 1 from BioConductor), comparing R CMD check results across CRAN and dev versions of this package.
4+
5+
* We saw 0 new problems
6+
* We failed to check 0 packages
7+

revdep/failures.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*Wow, no problems at all. :)*

revdep/problems.md

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
# httpuv
2+
3+
<details>
4+
5+
* Version: 1.6.1
6+
* GitHub: https://github.com/rstudio/httpuv
7+
* Source code: https://github.com/cran/httpuv
8+
* Date/Publication: 2021-05-07 04:50:02 UTC
9+
* Number of recursive dependencies: 38
10+
11+
Run `revdep_details(, "httpuv")` for more info
12+
13+
</details>
14+
15+
## In both
16+
17+
* checking for GNU extensions in Makefiles ... NOTE
18+
```
19+
GNU make is a SystemRequirements.
20+
```
21+
22+
# plumbertableau
23+
24+
<details>
25+
26+
* Version: 0.1.0
27+
* GitHub: https://github.com/rstudio/plumbertableau
28+
* Source code: https://github.com/cran/plumbertableau
29+
* Date/Publication: 2021-08-06 08:00:02 UTC
30+
* Number of recursive dependencies: 62
31+
32+
Run `revdep_details(, "plumbertableau")` for more info
33+
34+
</details>
35+
36+
## In both
37+
38+
* checking dependencies in R code ... NOTE
39+
```
40+
Namespace in Imports field not imported from: ‘glue’
41+
All declared Imports should be used.
42+
```
43+
44+
# Prostar
45+
46+
<details>
47+
48+
* Version: 1.20.0
49+
* GitHub: NA
50+
* Source code: https://github.com/cran/Prostar
51+
* Date/Publication: 2020-04-27
52+
* Number of recursive dependencies: 154
53+
54+
Run `revdep_details(, "Prostar")` for more info
55+
56+
</details>
57+
58+
## In both
59+
60+
* checking package dependencies ... ERROR
61+
```
62+
Package required but not available: ‘DAPAR’
63+
64+
See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
65+
manual.
66+
```
67+
68+
# shiny
69+
70+
<details>
71+
72+
* Version: 1.6.0
73+
* GitHub: https://github.com/rstudio/shiny
74+
* Source code: https://github.com/cran/shiny
75+
* Date/Publication: 2021-01-25 21:50:02 UTC
76+
* Number of recursive dependencies: 104
77+
78+
Run `revdep_details(, "shiny")` for more info
79+
80+
</details>
81+
82+
## In both
83+
84+
* checking installed package size ... NOTE
85+
```
86+
installed size is 12.1Mb
87+
sub-directories of 1Mb or more:
88+
R 2.0Mb
89+
www 8.8Mb
90+
```
91+
92+
# websocket
93+
94+
<details>
95+
96+
* Version: 1.4.0
97+
* GitHub: NA
98+
* Source code: https://github.com/cran/websocket
99+
* Date/Publication: 2021-04-23 20:30:02 UTC
100+
* Number of recursive dependencies: 49
101+
102+
Run `revdep_details(, "websocket")` for more info
103+
104+
</details>
105+
106+
## In both
107+
108+
* checking for GNU extensions in Makefiles ... NOTE
109+
```
110+
GNU make is a SystemRequirements.
111+
```
112+

0 commit comments

Comments
 (0)