mirror of
https://github.com/msberends/AMR.git
synced 2025-01-24 05:44:34 +01:00
unit tests
This commit is contained in:
parent
5361c0b2a0
commit
268ec31d92
2
.github/workflows/check-old.yaml
vendored
2
.github/workflows/check-old.yaml
vendored
@ -129,7 +129,7 @@ jobs:
|
|||||||
R CMD check --as-cran --no-manual --run-donttest --run-dontrun AMR_*.tar.gz
|
R CMD check --as-cran --no-manual --run-donttest --run-dontrun AMR_*.tar.gz
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Show unit tests output
|
- name: Show tinytest output
|
||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
cd ../AMR.Rcheck
|
cd ../AMR.Rcheck
|
||||||
|
7
.github/workflows/check-recent.yaml
vendored
7
.github/workflows/check-recent.yaml
vendored
@ -96,3 +96,10 @@ jobs:
|
|||||||
# during 'R CMD check', R_LIBS_USER will be overwritten, so:
|
# during 'R CMD check', R_LIBS_USER will be overwritten, so:
|
||||||
R_LIBS_USER_GH_ACTIONS: ${{ env.R_LIBS_USER }}
|
R_LIBS_USER_GH_ACTIONS: ${{ env.R_LIBS_USER }}
|
||||||
R_RUN_TINYTEST: true
|
R_RUN_TINYTEST: true
|
||||||
|
|
||||||
|
- name: Show tinytest output
|
||||||
|
if: always()
|
||||||
|
run: |
|
||||||
|
cd ../AMR.Rcheck
|
||||||
|
find . -name 'tinytest.Rout*' -exec cat '{}' \; ||>
|
||||||
|
shell: bash
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Package: AMR
|
Package: AMR
|
||||||
Version: 1.8.2.9080
|
Version: 1.8.2.9081
|
||||||
Date: 2023-01-05
|
Date: 2023-01-05
|
||||||
Title: Antimicrobial Resistance Data Analysis
|
Title: Antimicrobial Resistance Data Analysis
|
||||||
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
|
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
|
||||||
|
2
NEWS.md
2
NEWS.md
@ -1,4 +1,4 @@
|
|||||||
# AMR 1.8.2.9080
|
# AMR 1.8.2.9081
|
||||||
|
|
||||||
*(this beta version will eventually become v2.0! We're happy to reach a new major milestone soon!)*
|
*(this beta version will eventually become v2.0! We're happy to reach a new major milestone soon!)*
|
||||||
|
|
||||||
|
BIN
R/sysdata.rda
BIN
R/sysdata.rda
Binary file not shown.
@ -21,7 +21,7 @@ g.test(x, y = NULL, p = rep(1/length(x), length(x)), rescale.p = FALSE)
|
|||||||
\item{y}{a numeric vector; ignored if \code{x} is a matrix. If
|
\item{y}{a numeric vector; ignored if \code{x} is a matrix. If
|
||||||
\code{x} is a factor, \code{y} should be a factor of the same length.}
|
\code{x} is a factor, \code{y} should be a factor of the same length.}
|
||||||
|
|
||||||
\item{p}{a vector of probabilities of the same length of \code{x}.
|
\item{p}{a vector of probabilities of the same length as \code{x}.
|
||||||
An error is given if any entry of \code{p} is negative.}
|
An error is given if any entry of \code{p} is negative.}
|
||||||
|
|
||||||
\item{rescale.p}{a logical scalar; if TRUE then \code{p} is rescaled
|
\item{rescale.p}{a logical scalar; if TRUE then \code{p} is rescaled
|
||||||
|
Loading…
Reference in New Issue
Block a user