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

Fjernet funksjonen getProsPatientData #52

Merged
merged 2 commits into from
Jan 23, 2025
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
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
Loading