From 7345a27f1a5b51a378f9e6c816ebc0b12117372c Mon Sep 17 00:00:00 2001 From: asegun-cod Date: Mon, 20 Nov 2023 13:33:01 +0000 Subject: [PATCH 1/3] redeploy api_tracker --- renv.lock | 6 +++--- .../oluwasegun.apejoye/api_url_tracker.dcf | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/renv.lock b/renv.lock index 37b258a..e39e8ff 100644 --- a/renv.lock +++ b/renv.lock @@ -773,8 +773,8 @@ "RemoteHost": "api.github.com", "RemoteRepo": "experiencesdashboard", "RemoteUsername": "CDU-data-science-team", - "RemoteRef": "fix-data-upload", - "RemoteSha": "934aac6c8e75c6bd4535059ee615a5c464dc3f48", + "RemoteRef": "HEAD", + "RemoteSha": "9577650507a96849ed62877928f8e3212715a24f", "Requirements": [ "ComplexUpset", "DBI", @@ -814,7 +814,7 @@ "writexl", "xml2" ], - "Hash": "e1b46af7abfdfd8f5cfdb7cb55f893b7" + "Hash": "706798801943cd1419aeef6f122eb485" }, "fansi": { "Package": "fansi", diff --git a/rsconnect/documents/API_url_tracker.Rmd/connect.strategyunitwm.nhs.uk/oluwasegun.apejoye/api_url_tracker.dcf b/rsconnect/documents/API_url_tracker.Rmd/connect.strategyunitwm.nhs.uk/oluwasegun.apejoye/api_url_tracker.dcf index 6700ca5..8032465 100644 --- a/rsconnect/documents/API_url_tracker.Rmd/connect.strategyunitwm.nhs.uk/oluwasegun.apejoye/api_url_tracker.dcf +++ b/rsconnect/documents/API_url_tracker.Rmd/connect.strategyunitwm.nhs.uk/oluwasegun.apejoye/api_url_tracker.dcf @@ -5,7 +5,7 @@ account: oluwasegun.apejoye server: connect.strategyunitwm.nhs.uk hostUrl: https://connect.strategyunitwm.nhs.uk/__api__ appId: 149 -bundleId: 1092 +bundleId: 1116 url: https://connect.strategyunitwm.nhs.uk/api_tracker/ version: 1 asMultiple: FALSE From 2791eb7d55acdacc675ed74034b0bbe127cec6c1 Mon Sep 17 00:00:00 2001 From: asegun-cod Date: Mon, 20 Nov 2023 14:20:41 +0000 Subject: [PATCH 2/3] remove age demography for NUH --- inst/golem-config.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inst/golem-config.yml b/inst/golem-config.yml index e330bcc..bb203c0 100644 --- a/inst/golem-config.yml +++ b/inst/golem-config.yml @@ -105,8 +105,7 @@ trust_NUH: location_2: Specialty location_3: Ward demography_1: gender - demography_2: age - demography_3: ethnicity + demography_2: ethnicity extra_variable_1: Rating channels extra_variable_2: Date feedback given extra_variable_3: Exclude from reports From c4aacad60d76add774b384754d0dc080b1838b17 Mon Sep 17 00:00:00 2001 From: asegun-cod Date: Mon, 20 Nov 2023 14:43:46 +0000 Subject: [PATCH 3/3] update test --- tests/testthat/test-app_config.R | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/testthat/test-app_config.R b/tests/testthat/test-app_config.R index 95c7a44..e289285 100644 --- a/tests/testthat/test-app_config.R +++ b/tests/testthat/test-app_config.R @@ -26,8 +26,7 @@ test_that("trust configuration is still the same", { expect_true(isTruthy(get_golem_config("comment_1"))) expect_false(isTruthy(get_golem_config("comment_2"))) expect_equal(get_golem_config("demography_1"), "gender") - expect_equal(get_golem_config("demography_2"), "age") - expect_equal(get_golem_config("demography_3"), "ethnicity") + expect_equal(get_golem_config("demography_2"), "ethnicity") # trust_GOSH ---- withr::local_envvar("R_CONFIG_ACTIVE" = "trust_GOSH")