From cd0d32f2529d6395eaecb634f881f3232079a4b7 Mon Sep 17 00:00:00 2001 From: Jeff Thompson <160783290+jthompson-arcus@users.noreply.github.com> Date: Fri, 31 May 2024 09:22:30 -0400 Subject: [PATCH 1/5] Require packages to delete --- R/mod_uploadPackage.R | 1 + 1 file changed, 1 insertion(+) diff --git a/R/mod_uploadPackage.R b/R/mod_uploadPackage.R index 80e3665a8..eeb3df710 100644 --- a/R/mod_uploadPackage.R +++ b/R/mod_uploadPackage.R @@ -246,6 +246,7 @@ uploadPackageServer <- function(id, user, auto_list, credentials, parent) { }) observeEvent(input$rem_pkg_btn, { + req(input$rem_pkg_lst) req("delete_package" %in% unlist(credentials$privileges[user$role], use.names = FALSE)) np <- length(input$rem_pkg_lst) From fd9658d67d47d9f09ace11d4384f04e92f279a32 Mon Sep 17 00:00:00 2001 From: Jeff Thompson <160783290+jthompson-arcus@users.noreply.github.com> Date: Fri, 31 May 2024 09:23:33 -0400 Subject: [PATCH 2/5] Update NEWS --- DESCRIPTION | 2 +- NEWS.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 578f287bd..aaea50a21 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: riskassessment Title: A web app designed to interface with the `riskmetric` package -Version: 3.0.0.9021 +Version: 3.0.0.9022 Authors@R: c( person("Aaron", "Clark", role = c("aut", "cre"), email = "clark.aaronchris@gmail.com"), person("Robert", "Krajcik", role = "aut", email = "robert.krajcik@biogen.com"), diff --git a/NEWS.md b/NEWS.md index 9d81b0d74..9eafdab20 100644 --- a/NEWS.md +++ b/NEWS.md @@ -24,6 +24,7 @@ * Added `{riskmetric}` assessment documentation URLs to About tab, on Risk Assessment Criteria page. * Updated the Dependency Cards to be slightly more informative * Updated 'About' page to highlight individual contributors on the project, leveraging `bslib` cards. +* Fix bug causing application to crash when trying to delete zero packages (#781) # riskassessment 3.0.0 From 774c9426aee78a959379b2ee2aa74290e5a1b550 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Fri, 31 May 2024 14:27:49 +0000 Subject: [PATCH 3/5] Re-build manifest file --- manifest.json | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/manifest.json b/manifest.json index 5c023148e..7b20484b3 100644 --- a/manifest.json +++ b/manifest.json @@ -54,7 +54,7 @@ "Repository": "RSPM", "Date/Publication": "2024-01-10 11:53:35 UTC", "Encoding": "UTF-8", - "Built": "R 4.3.0; ; 2024-01-11 12:55:08 UTC; unix" + "Built": "R 4.3.0; ; 2024-05-30 01:39:27 UTC; unix" } }, "BiocManager": { @@ -304,7 +304,7 @@ "Repository": "RSPM", "Date/Publication": "2021-08-19 14:00:05 UTC", "Encoding": "UTF-8", - "Built": "R 4.3.0; ; 2023-04-21 21:51:10 UTC; unix" + "Built": "R 4.3.0; ; 2024-05-30 00:32:53 UTC; unix" } }, "RColorBrewer": { @@ -386,7 +386,7 @@ "Packaged": "2024-01-08 12:50:16 UTC; edd", "Repository": "RSPM", "Date/Publication": "2024-01-09 08:20:35 UTC", - "Built": "R 4.3.0; x86_64-pc-linux-gnu; 2024-01-11 12:55:37 UTC; unix" + "Built": "R 4.3.0; x86_64-pc-linux-gnu; 2024-05-30 01:39:06 UTC; unix" } }, "anytime": { @@ -940,7 +940,7 @@ "RoxygenNote": "7.3.0", "Author": "Sebastien Rochette [aut, cre] (),\n Vincent Guyader [aut] (),\n Arthur Bréant [aut] (),\n Murielle Delmotte [aut] (),\n ThinkR [cph]", "Maintainer": "Sebastien Rochette ", - "Built": "R 4.3.3; ; 2024-05-28 12:56:41 UTC; unix", + "Built": "R 4.3.3; ; 2024-05-31 13:28:09 UTC; unix", "RemoteType": "github", "RemoteUsername": "thinkr-open", "RemoteRepo": "checkhelper", @@ -1303,7 +1303,7 @@ "Imports": "callr,\ncranlike (>= 1.0.2),\ncurl,\ndesc (>= 1.1.0),\ndigest,\nparsedate,\nrappdirs,\nrematch2,\ntools,\nutils,\nwithr", "Suggests": "covr,\npingr,\ntestthat,\nzip", "Encoding": "UTF-8", - "Built": "R 4.3.3; ; 2024-05-28 12:56:49 UTC; unix", + "Built": "R 4.3.3; ; 2024-05-31 13:28:18 UTC; unix", "RemoteType": "github", "RemoteHost": "api.github.com", "RemoteUsername": "r-lib", @@ -1531,7 +1531,7 @@ "Repository": "RSPM", "Date/Publication": "2024-03-30 23:50:02 UTC", "Encoding": "UTF-8", - "Built": "R 4.3.0; x86_64-pc-linux-gnu; 2024-03-31 04:04:02 UTC; unix" + "Built": "R 4.3.0; x86_64-pc-linux-gnu; 2024-05-30 00:32:55 UTC; unix" } }, "dbplyr": { @@ -4425,7 +4425,7 @@ "RoxygenNote": "7.2.3", "Author": "Gábor Csárdi [cre, aut, cph],\n Hadley Wickham [aut],\n RConsortium [cph],\n RStudio [cph, fnd]", "Maintainer": "Gábor Csárdi ", - "Built": "R 4.3.3; ; 2024-05-28 12:57:21 UTC; unix", + "Built": "R 4.3.3; ; 2024-05-31 13:28:51 UTC; unix", "RemoteType": "github", "RemoteUsername": "r-lib", "RemoteRepo": "revdepcheck", @@ -4543,7 +4543,7 @@ "Config/testthat/edition": "3", "Author": "R Validation Hub [aut],\n Doug Kelkhoff [aut],\n Marly Gotti [aut],\n Eli Miller [cre, aut],\n Kevin K [aut],\n Yilong Zhang [aut],\n Eric Milliman [aut],\n Juliane Manitz [aut],\n Mark Padgham [ctb],\n PSI special interest group Application and Implementation of\n Methodologies in Statistics [cph]", "Maintainer": "Eli Miller ", - "Built": "R 4.3.3; ; 2024-05-28 12:57:27 UTC; unix", + "Built": "R 4.3.3; ; 2024-05-31 13:28:56 UTC; unix", "RemoteType": "github", "RemoteUsername": "pharmaR", "RemoteRepo": "riskmetric", @@ -6220,7 +6220,7 @@ "checksum": "99c5575cb81828e20a7fe1d205551316" }, "DESCRIPTION": { - "checksum": "c3b036e6f8401a7c5609cee7a4a42f1c" + "checksum": "980fd095da6772e5345174c2270abc95" }, "inst/app/www/css/community_metrics.css": { "checksum": "f08eb25c2ee48ac22ed63b0d18994a04" @@ -6463,7 +6463,7 @@ "checksum": "97d1232340e04c53088bc8f814133dcd" }, "NEWS.md": { - "checksum": "f518495963c1cf72c8121cce535c1088" + "checksum": "b414add9ea6bf1517424fc50142fa59e" }, "R/app_config.R": { "checksum": "c2b61f270b86b6833f0ee39c44a1a440" @@ -6550,7 +6550,7 @@ "checksum": "23b9449e99966583e564db213543ff97" }, "R/mod_uploadPackage.R": { - "checksum": "65cccd6f069e11339abe440d340baf4b" + "checksum": "2c71c26d2377612815435bf641100d29" }, "R/mod_user_roles.R": { "checksum": "269c932105ac12a53c92759e5d2c8a84" From 34becef10d049e9628a4467cb3d6d30a1bff8978 Mon Sep 17 00:00:00 2001 From: Jeff Thompson <160783290+jthompson-arcus@users.noreply.github.com> Date: Fri, 31 May 2024 13:10:28 -0400 Subject: [PATCH 4/5] Update NEWS.md --- NEWS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/NEWS.md b/NEWS.md index 9eafdab20..a41367687 100644 --- a/NEWS.md +++ b/NEWS.md @@ -24,6 +24,7 @@ * Added `{riskmetric}` assessment documentation URLs to About tab, on Risk Assessment Criteria page. * Updated the Dependency Cards to be slightly more informative * Updated 'About' page to highlight individual contributors on the project, leveraging `bslib` cards. +* Allow users to specify decisions in the CSV upload file (#663) * Fix bug causing application to crash when trying to delete zero packages (#781) From 6f3808b3d2f459837fa1ff3e7c434e25213b3091 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Fri, 31 May 2024 17:12:54 +0000 Subject: [PATCH 5/5] Re-build manifest file --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 7b20484b3..92c451f59 100644 --- a/manifest.json +++ b/manifest.json @@ -6463,7 +6463,7 @@ "checksum": "97d1232340e04c53088bc8f814133dcd" }, "NEWS.md": { - "checksum": "b414add9ea6bf1517424fc50142fa59e" + "checksum": "620d2738d3b34a24f584dd342c32d25e" }, "R/app_config.R": { "checksum": "c2b61f270b86b6833f0ee39c44a1a440"