Skip to content

Commit

Permalink
remove cowplot and magrittr imports because of conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
bvreede committed Oct 6, 2023
1 parent 30a3027 commit e77afe5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions R/helper-functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
#' @import viridis
#' @import tidyr
#' @import ggrepel
#' @import magrittr
#' @import cowplot
#' @import knitr
inspect_corpus <- function(d, d.tokens, lang=NULL,saveplot=F,allsources=F) {

Expand Down Expand Up @@ -72,7 +70,7 @@ inspect_corpus <- function(d, d.tokens, lang=NULL,saveplot=F,allsources=F) {
direction="y",nudge_y = -0.2,size=3,
max.overlaps=Inf)

panel <- plot_grid(pA,pB,pC,labels=c("A","B","C"),rel_widths = c(1,1,2),nrow=1)
panel <- cowplot::plot_grid(pA,pB,pC,labels=c("A","B","C"),rel_widths = c(1,1,2),nrow=1)
print(panel)
cat("\n")

Expand Down

0 comments on commit e77afe5

Please sign in to comment.