-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from jhrcook/0.1.4
Minor changes to address issues on CRAN servers
- Loading branch information
Showing
34 changed files
with
567 additions
and
1,741 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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
name: test-coverage | ||
|
||
# Increment this version when we want to clear cache | ||
env: | ||
cache-version: v1 | ||
|
||
jobs: | ||
test-coverage: | ||
runs-on: ubuntu-18.04 | ||
env: | ||
RSPM: https://packagemanager.rstudio.com/cran/__linux__/bionic/latest | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: r-lib/actions/setup-r@v1 | ||
id: install-r | ||
|
||
- name: Install pak and query dependencies | ||
run: | | ||
install.packages("pak", repos = "https://r-lib.github.io/p/pak/dev/") | ||
saveRDS(pak::pkg_deps("local::.", dependencies = TRUE), ".github/r-depends.rds") | ||
shell: Rscript {0} | ||
|
||
- name: Restore R package cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
${{ env.R_LIBS_USER }}/* | ||
!${{ env.R_LIBS_USER }}/pak | ||
key: ubuntu-18.04-${{ steps.install-r.outputs.installed-r-version }}-${{ env.cache-version }}-${{ hashFiles('.github/r-depends.rds') }} | ||
restore-keys: ubuntu-18.04-${{ steps.install-r.outputs.installed-r-version }}-${{ env.cache-version }}- | ||
|
||
- name: Install system dependencies | ||
if: runner.os == 'Linux' | ||
run: | | ||
pak::local_system_requirements(execute = TRUE) | ||
pak::pkg_system_requirements("covr", execute = TRUE) | ||
shell: Rscript {0} | ||
|
||
- name: Install dependencies | ||
run: | | ||
pak::local_install_dev_deps(upgrade = TRUE) | ||
pak::pkg_install("covr") | ||
shell: Rscript {0} | ||
|
||
- name: Test coverage | ||
run: covr::codecov() | ||
shell: Rscript {0} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -12,10 +12,14 @@ Authors@R: | |
family = "Briggs", | ||
role = c("ctb"), | ||
email = "[email protected]"), | ||
person(given = "Vinay", | ||
family = "Viswanadham", | ||
role = c("ctb"), | ||
email = "[email protected]")) | ||
person(given = "Vinay", | ||
family = "Viswanadham", | ||
role = c("ctb"), | ||
email = "[email protected]"), | ||
person(given = "Travers", | ||
family = "Ching", | ||
role = c("ctb"), | ||
email = "[email protected]")) | ||
Description: A simple system for saving and loading objects in | ||
R. Long running computations can be stashed after the first run and | ||
then reloaded the next time. Dependencies can be added to ensure that | ||
|
@@ -42,5 +46,4 @@ VignetteBuilder: | |
knitr | ||
Encoding: UTF-8 | ||
Language: en-US | ||
LazyData: true | ||
RoxygenNote: 7.1.1 |
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
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 was deleted.
Oops, something went wrong.
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,22 +1,39 @@ | ||
# mustashe | ||
# 'mustashe' 0.1.4 | ||
|
||
## Bug fix and minor version release | ||
May 15, 2021 | ||
|
||
Brian Ripley reported that the tests for this package failed on the CRAN macOS servers. | ||
I was unable to reproduce this on my machine running macOS 10.15.2, and it seems like this problem only occured on versions of macOS 10.12 and older. | ||
We were able able to correct the problem without changing any of the tests or package as it was caused by how the time of last modification was reported for files written and read by the `stash()` function. | ||
## Test environments | ||
|
||
This is also a minor version release because we have switched to using the 'qs: Quick Serialization of R Objects' package for reading and writing files instead of using RDS files. | ||
- (developed on) macOS Catalina 10.15.2, 4.0.5 | ||
- macOS x86_64-apple-darwin15.6.0 (64-bit) (on GitHub Actions), R 3.6.3 | ||
- macOS x86_64-apple-darwin15.6.0 (64-bit) (on GitHub Actions), R 4.0.5 | ||
- Ubuntu 16.04 (on GitHub Actions), R 3.5.3 | ||
- Ubuntu 16.04 (on GitHub Actions), R 3.6.3 | ||
- Ubuntu 16.04 (on GitHub Actions), R 4.0.5 | ||
- Microsoft Windows Server 2019 (on GitHub Actions), R 3.6.3 | ||
- Microsoft Windows Server 2019 (on GitHub Actions), R 4.0.5 | ||
|
||
## Test environments | ||
## `R CMD check --as-cran` results | ||
|
||
There were no ERRORs nor WARNINGs. There was 1 NOTE about how this package has previously been archived: | ||
|
||
``` | ||
* checking CRAN incoming feasibility ... NOTE | ||
Maintainer: ‘Joshua H Cook <[email protected]>’ | ||
New submission | ||
Package was archived on CRAN | ||
CRAN repository db overrides: | ||
X-CRAN-Comment: Archived on 2021-04-28 as check problems were not | ||
corrected in time. | ||
- local macOS Catalina v10.15.2 | ||
- R version 3.6.1 (2019-07-05) | ||
- Ubuntu 16.04.6 LTS | ||
- R version 3.6.2 (2017-01-27) | ||
- Windows Server 2012 R2 x64 (build 9600) | ||
- R version 3.6.3 Patched (2020-03-11 r78011) | ||
Suggests: packages not used conditionally. | ||
``` | ||
|
||
## R CMD check results | ||
## Changes | ||
|
||
There were no ERRORs, WARNINGs, or NOTES | ||
This update to 'mustashe' addresses issues on CRAN serves. | ||
This package was previously archived, but I believe the issues have been fixed. | ||
No new features. |
Oops, something went wrong.