Skip to content

Commit

Permalink
v0.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
gagolews committed May 15, 2023
1 parent abc09e5 commit ea09ef9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 39 deletions.
46 changes: 7 additions & 39 deletions .github/workflows/r-check-other.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,51 +27,19 @@ jobs:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-r@v1
- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}

- uses: r-lib/actions/setup-pandoc@v1

- name: Query dependencies
run: |
install.packages('remotes')
saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2)
writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version")
shell: Rscript {0}

- name: Cache R packages
if: runner.os != 'Windows'
uses: actions/cache@v2
- uses: r-lib/actions/setup-r-dependencies@v2
with:
path: ${{ env.R_LIBS_USER }}
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}
restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-

- name: Install system dependencies
if: runner.os == 'Linux'
run: |
while read -r cmd
do
eval sudo $cmd
done < <(Rscript -e 'writeLines(remotes::system_requirements("ubuntu", "16.04"))')
- name: Install dependencies
run: |
remotes::install_deps(dependencies = TRUE)
remotes::install_cran("rcmdcheck")
install.packages(c("realtest"))
shell: Rscript {0}

- name: Session info
run: |
options(width = 100)
pkgs <- installed.packages()[, "Package"]
sessioninfo::session_info(pkgs, include_base = TRUE)
shell: Rscript {0}
extra-packages: any::rcmdcheck
needs: check

- name: Install
run: |
Expand Down
1 change: 1 addition & 0 deletions inst/realtest/strptime-all.R
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ E(
E(
strftime(2021),
bad=P(error="'origin' must be supplied"), # more specific - list first - LANGUAGE="en" only though
bad="1970-01-01T00:33:41+0000",
bad="1970-01-01T01:33:41+0100",
bad="1970-01-01T02:33:41+0200",
bad="1970-01-01T03:33:41+0300",
Expand Down

0 comments on commit ea09ef9

Please sign in to comment.