Skip to content

Commit

Permalink
Remove 'ggrepel' due to issue on r-devel
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfitzinger committed Oct 24, 2022
1 parent 52fcbd2 commit d11cb93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ Imports:
Suggests:
arm,
bestglm,
ggrepel,
glmnet,
hfr,
kableExtra,
Expand Down
4 changes: 2 additions & 2 deletions vignettes/Predicting_Boston_House_Prices.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ plotter <- function(df) {
mutate(model = str_wrap(model, 12)) %>%
mutate(model = factor(model, levels = unique(.$model))) %>%
ggplot(aes(model, .estimate)) +
geom_point(aes(color = type), size = 3, shape = 4) +
ggrepel::geom_label_repel(aes(label = lab, color = type), size = 3, ) +
geom_point(aes(color = type), size = 2.5, shape = 4) +
geom_label(aes(label = lab, color = type), size = 2, nudge_x = 0.35) +
theme_bw() +
scale_color_manual(values = c("firebrick", "darkblue")) +
theme(legend.title = element_blank(),
Expand Down

0 comments on commit d11cb93

Please sign in to comment.