From e55d5ee5ddbdaad8de768bb042316776a5a189db Mon Sep 17 00:00:00 2001 From: Holger Brandl Date: Mon, 26 Feb 2018 16:02:29 +0100 Subject: [PATCH] load plotting packages before tidyverse to avoid purrr naming clashes with scales --- R/core_commons.R | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/R/core_commons.R b/R/core_commons.R index 2b003ff..785ecbb 100644 --- a/R/core_commons.R +++ b/R/core_commons.R @@ -84,6 +84,12 @@ check_version = function(pkg_name, min_version) { #load_pack(reshape2) #load_pack(reshape2, quietly=T, warn_conflicts=F) +## common plotting requirements since they are omnipresent +load_pack(ggplot2) +load_pack(scales, warn_conflicts = F) # note this has a known conflit with purrr::discard +load_pack(grid) + + ## load on purpose after plyr load_pack(purrr) load_pack(tibble) @@ -102,12 +108,6 @@ load_pack(digest) #load_pack(readxl) ## supress differring build number - -## common plotting requirements since they are omnipresent -load_pack(ggplot2) -load_pack(scales, warn_conflicts = F) # note this has a known conflit with purrr::discard -load_pack(grid) - ## for table exploration without using Rstudio load_pack(DT) -- GitLab