mirror of
https://github.com/msberends/AMR.git
synced 2024-12-25 18:46:11 +01:00
R release test
This commit is contained in:
parent
f01d62ee5d
commit
d0c679e884
@ -25,7 +25,7 @@ stages:
|
||||
- deploy
|
||||
|
||||
# debian stretch only contains R 3.3...
|
||||
image: debian:buster-slim
|
||||
#image: debian:buster-slim
|
||||
|
||||
before_script:
|
||||
- apt-get update -qq
|
||||
@ -41,11 +41,12 @@ before_script:
|
||||
- echo 'R_LIBS="installed_deps"' > .Renviron
|
||||
- echo 'R_LIBS_USER="installed_deps"' >> .Renviron
|
||||
- echo 'R_LIBS_SITE="installed_deps"' >> .Renviron
|
||||
# set language
|
||||
- echo 'LANGUAGE="en_US.utf8"' >> .Renviron
|
||||
- echo 'LANG="en_US.utf8"' >> .Renviron
|
||||
- echo 'LANGUAGE="en_US.utf8"' > ~/.Renviron
|
||||
#- Rscript -e '.libPaths()'
|
||||
# install missing and outdated packages
|
||||
- Rscript -e 'sessionInfo()'
|
||||
# install missing and outdated packages
|
||||
- Rscript -e 'source(".gitlab-ci.R"); gl_update_pkg_all(repos = "https://cran.rstudio.com", quiet = TRUE, install_pkgdown = TRUE)'
|
||||
|
||||
cache:
|
||||
@ -53,7 +54,8 @@ cache:
|
||||
paths:
|
||||
- installed_deps/
|
||||
|
||||
R 3:
|
||||
R-release:
|
||||
image: rocker/r-ver:release
|
||||
stage: build
|
||||
allow_failure: true
|
||||
script:
|
||||
@ -67,7 +69,6 @@ R 3:
|
||||
artifacts:
|
||||
paths:
|
||||
- '*.Rcheck/*'
|
||||
name: 'Rcheck log'
|
||||
expire_in: '1 month'
|
||||
|
||||
coverage:
|
||||
|
@ -592,7 +592,7 @@
|
||||
<ul>
|
||||
<li>Full support for Windows, Linux and macOS</li>
|
||||
<li>Full support for old R versions, only R-3.0.0 (April 2013) or later is needed (needed packages may have other dependencies)</li>
|
||||
<li>Function <code>n_rsi</code> to count cases where antibiotic test results were available, to be used in conjunction with <code><a href="https://www.rdocumentation.org/packages/dplyr/topics/summarise">dplyr::summarise</a></code>, see ?rsi</li>
|
||||
<li>Function <code>n_rsi</code> to count cases where antibiotic test results were available, to be used in conjunction with <code><a href="https://dplyr.tidyverse.org/reference/summarise.html">dplyr::summarise</a></code>, see ?rsi</li>
|
||||
<li>Function <code>guess_bactid</code> to <strong>determine the ID</strong> of a microorganism based on genus/species or known abbreviations like MRSA</li>
|
||||
<li>Function <code>guess_atc</code> to <strong>determine the ATC</strong> of an antibiotic based on name, trade name, or known abbreviations</li>
|
||||
<li>Function <code>freq</code> to create <strong>frequency tables</strong>, with additional info in a header</li>
|
||||
|
Loading…
Reference in New Issue
Block a user