Skip to content

Commit

Permalink
Fix .Rprofile style
Browse files Browse the repository at this point in the history
  • Loading branch information
galachad committed Sep 21, 2023
1 parent 4b64616 commit c53c83b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .Rprofile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Set renv profile base on R version.
.get_dependencies <- function(project_dir) {

admdev_loc <- find.package("admiraldev", lib.loc = .libPaths(), quiet = TRUE)
adm_dev_suggests <- if(length(admdev_loc) != 0) {
adm_dev_suggests <- if (length(admdev_loc) != 0) {
renv:::renv_dependencies_discover_description(admdev_loc, fields = c("Depends", "Imports", "LinkingTo", "Suggests"))
} else {
data.frame(Packages = character(0))
Expand Down

0 comments on commit c53c83b

Please sign in to comment.