Skip to content

Commit

Permalink
Fjernet funksjonen getProsPatientData (#52)
Browse files Browse the repository at this point in the history
Denne funksjonen brukte den allerede fjernet funksjonen getProsPatient. Sistnevnte ble fjernet i commit 5914012 (PR #41, versjon 1.3.0). Fjernet også en test av getProsPatient
  • Loading branch information
arnfinn authored Jan 23, 2025
1 parent 192a348 commit 6a2b504
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 226 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ License: GPL-3
Encoding: UTF-8
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
RoxygenNote: 7.3.2
Suggests:
testthat,
withr
Expand Down
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ export(getProms)
export(getPromsData)
export(getPros)
export(getProsData)
export(getProsPatientData)
export(getRand12)
export(getRand12Data)
export(indik_akuttsuksess)
Expand Down
165 changes: 0 additions & 165 deletions R/getProsPatientData.R

This file was deleted.

47 changes: 0 additions & 47 deletions man/getProsPatientData.Rd

This file was deleted.

12 changes: 0 additions & 12 deletions tests/testthat/test-getData.R
Original file line number Diff line number Diff line change
Expand Up @@ -123,18 +123,6 @@ test_that("tables can be dumped", {
rapbase::rapCloseDbConnection(con)
})

test_that("pros patient data can be read from db", {
check_db()
expect_equal(class(getProsPatient("testReg", singleRow = FALSE,
userRole = "SC",
fromDate = NULL, toDate = NULL)),
"list")
expect_equal(class(getProsPatient("testReg", singleRow = TRUE,
userRole = "SC",
fromDate = NULL, toDate = NULL)),
"list")
})

test_that("rand12 data can be read from db", {
check_db()
expect_equal(class(getRand12("testReg", singleRow = FALSE, userRole = "SC")), "list")
Expand Down

0 comments on commit 6a2b504

Please sign in to comment.