From fa41c3a7021632cf1115aaf558ef0a9758eba884 Mon Sep 17 00:00:00 2001 From: AARON-CLARK Date: Mon, 14 Aug 2023 21:03:16 -0400 Subject: [PATCH] fix broken pkg dependency table with separate select() and distinct() statments. --- R/mod_packageDependencies.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/R/mod_packageDependencies.R b/R/mod_packageDependencies.R index c8290530d..b7a46b1d6 100644 --- a/R/mod_packageDependencies.R +++ b/R/mod_packageDependencies.R @@ -111,7 +111,8 @@ packageDependenciesServer <- function(id, selected_pkg, user, changes, parent) { purrr::map_df(pkginfo$name, ~get_versnScore(.x, loaded2_db(), cran_pkgs)) %>% right_join(pkginfo, by = "name") %>% - distinct(package, type, name, version, score) + select(package, type, name, version, score) %>% + distinct() } })