Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge bugfix into develop #116

Merged
merged 12 commits into from
Feb 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@
^\.covrignore$
^firebase\.json$
^\.github$
^\.firebaserc$
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "ramses-antibiotics"
}
}
12 changes: 6 additions & 6 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,13 @@ jobs:

- name: Deploy to Firebase
if: github.ref == 'refs/heads/master' && github.event_name == 'push' && matrix.config.os == 'ubuntu-20.04' && matrix.config.r == 'release'
uses: w9jds/firebase-action@master
uses: FirebaseExtended/action-hosting-deploy@v0
with:
args: deploy --only hosting
env:
PROJECT_ID: ramses-antibiotics
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_RAMSES_ANTIBIOTICS }}'
projectId: ramses-antibiotics
channelId: live

- uses: r-lib/actions/setup-tinytex@v2
if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop') && github.event_name == 'push' && matrix.config.os == 'ubuntu-20.04' && matrix.config.r == 'release'

Expand Down
11 changes: 6 additions & 5 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: Ramses
Type: Package
Title: R Package for Antimicrobial Stewardship & Surveillance
Version: 0.7.0
Version: 0.7.2
Authors@R: c(
person(given = "Peter",
family = "Dutey-Magni",
Expand All @@ -26,12 +26,12 @@ Encoding: UTF-8
LazyData: true
Depends:
R (>= 4.0.0),
AMR (>= 1.8.0)
AMR (>= 2.0.0)
Imports:
DBI,
rlang,
dplyr (>= 1.1.0),
dbplyr (>= 2.3.2),
dbplyr (>= 2.4.0),
tidyselect (>= 1.2.0),
magrittr,
duckdb (>= 0.4.0),
Expand Down Expand Up @@ -59,11 +59,12 @@ Suggests:
R.utils,
comorbidity,
RPostgres,
gh (>= 1.3.0)
gh (>= 1.3.0),
vctrs
Remotes:
ramses-antibiotics/snomedizer
RdMacros: Rdpack
RoxygenNote: 7.2.0
RoxygenNote: 7.3.1
VignetteBuilder: knitr,rmarkdown
Collate:
'Ramses-deprecated.R'
Expand Down
22 changes: 22 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@

# Ramses 0.7.2

*11 February 2024*


## Changed

- Now requires minimum `AMR` v2.0.0.
- Updated function calls and documentation following deprecation of `AMR::as.rsi()`.


# Ramses 0.7.1

*19 November 2023*


## Changed

- Now requires minimum `dbplyr` v2.4.0.
- Unit test maintenance required by `dbplyr` v2.4.0.


# Ramses 0.7.0

*11 April 2023*
Expand Down
2 changes: 1 addition & 1 deletion R/validate_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,7 @@ validate_administrations <- function(data) {
#' (can be the same as \code{drug_name})}
#' \item{\code{rsi_code}}{\code{"R"} (resistant), \code{"S"} (susceptible),
#' or \code{"I"} (intermediate exposure), as determined by the laboratory or by
#' \code{\link[AMR]{as.rsi}()} on the basis of minimum inhibitory concentrations
#' \code{\link[AMR]{as.sir}()} on the basis of minimum inhibitory concentrations
#' or disk diffusion diameters}
#' }
#'
Expand Down
2 changes: 1 addition & 1 deletion man/validate_microbiology.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading