Skip to content

Commit

Permalink
Fixed documentation following NOTE on latest builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Luque committed Nov 9, 2022
1 parent 7a71a91 commit e1d7031
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 5 deletions.
69 changes: 69 additions & 0 deletions .github/workflows/build_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Build on supported Pythons
#
# Closely watch version references for actions!

name: R build and check

on: [push, pull_request]

jobs:
R_CMD_check:
name: ${{ matrix.config_os }} (${{ matrix.config.r }})
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
config:
- {os: macOS-latest, r: "release"}
- {os: windows-latest, r: "release"}
- {os: ubuntu-latest, r: "devel", http-user-agent: "release"}
- {os: ubuntu-latest, r: "release"}
- {os: ubuntu-latest, r: "oldrel-1"}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup pandoc
uses: r-lib/actions/setup-pandoc@v2

- name: Setup R
uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- name: Install required R packages
uses: r-lib/actions/setup-r-dependencies@v1
with:
extra-packages: |
knitr
lattice
pander
rmarkdown
tinytest
geosphere
KernSmooth
plotly
quantreg
uniReg
rcmdcheck
- name: Check package
uses: r-lib/actions/check-r-package@v2

- name: Show testthat output
if: always()
run: find check -name 'testthat.Rout*' -exec cat '{}' \; || true
shell: bash

- name: Upload check results
if: failure()
uses: actions/upload-artifact@v3
with:
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
path: check
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: diveMove
Type: Package
Title: Dive Analysis and Calibration
Version: 1.6.0
Version: 1.6.1
Depends: R (>= 3.5.0), methods, stats4
Suggests: knitr, lattice, pander, rmarkdown, tinytest
Imports: geosphere, KernSmooth, plotly, quantreg, uniReg
Expand Down
8 changes: 4 additions & 4 deletions man/labDive-internal.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
object, non NA depths, and numeric vector representing
\code{\link{POSIXct}} times.}

\item{dive.model, smooth.par, knot.factor, sigmasq, g, ordpen,
descent.crit.q, ascent.crit.q}{Passed from \code{calibrateDepth}.}
\item{dive.model, smooth.par, knot.factor, descent.crit.q,
ascent.crit.q}{Passed from \code{calibrateDepth}.}

\item{g, ordpen}{default arguments for \code{\link{unireg}}, so only
relevant for \code{divemodel="unimodal"}.}
\item{sigmasq, g, ordpen}{default arguments for \code{\link{unireg}}, so
only relevant for \code{divemodel="unimodal"}.}

\item{act}{factor with values to label.}

Expand Down

0 comments on commit e1d7031

Please sign in to comment.