Skip to content

Commit

Permalink
fix broken pkg dependency table with separate select() and distinct()…
Browse files Browse the repository at this point in the history
… statments.
  • Loading branch information
AARON-CLARK committed Aug 15, 2023
1 parent 6fa3cc9 commit fa41c3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/mod_packageDependencies.R
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

})
Expand Down

0 comments on commit fa41c3a

Please sign in to comment.