Skip to content

Commit

Permalink
split from new plot2::plot2()
Browse files Browse the repository at this point in the history
  • Loading branch information
msberends committed Aug 26, 2024
1 parent 4647c31 commit 8418a55
Show file tree
Hide file tree
Showing 40 changed files with 2,078 additions and 13,550 deletions.
32 changes: 7 additions & 25 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: certeplot2
Title: A Certe R Package for Convenient Plotting
Version: 1.24.1
Version: 2.0.0
Authors@R: c(
person(given = c("Matthijs", "S."),
family = "Berends",
Expand All @@ -12,47 +12,29 @@ Authors@R: c(
email = "e.hassing@certe.nl"),
person(given = "Certe Medical Diagnostics & Advice Foundation",
role = c("cph", "fnd")))
Description: A Certe R Package for fast and convenient plotting,
Description: A Certe R Package for fast and convenient plotting based on 'plot2',
by providing wrappers around 'tidyverse' packages such as 'ggplot2',
while also providing plotting in the Certe organisational style.
This package is part of the 'certedata' universe.
URL: https://certe-medical-epidemiology.github.io/certeplot2, https://github.com/certe-medical-epidemiology/certeplot2
Depends:
R (>= 4.1.0)
R (>= 4.1.0),
plot2 (>= 1.25.0)
Imports:
certestyle,
cleaner (>= 1.5.1),
AMR (>= 2.0.0),
dplyr (>= 1.0.0),
forcats (>= 0.5.1),
ggforce (>= 0.4.0),
ggplot2 (>= 3.5.1),
rlang (>= 1.1.0),
scales (>= 1.3.0),
stringr (>= 1.4.0),
tibble (>= 3.0.0),
tidyselect (>= 1.2.0),
tidyr (>= 1.0.0),
yaml (>= 2.2.0)
Suggests:
certestats,
certegis,
AMR (>= 2.0.0),
glue (>= 1.2.0),
grDevices,
grid (>= 4.3.0),
rmarkdown (>= 2.11),
knitr (>= 1.30),
patchwork (>= 1.0.0),
plotly (>= 4.8.0),
sf (>= 0.9.5),
showtext (>= 0.9.0),
showtextdb (>= 3.0.0),
sysfonts (>= 0.8.0),
certestats,
sf (>= 1.0.0),
testthat (>= 2.0.0)
License: GPL-2
Encoding: UTF-8
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.2
Config/testthat/edition: 2
VignetteBuilder: knitr
147 changes: 8 additions & 139 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -2,180 +2,49 @@

S3method(plot2,antibiogram)
S3method(plot2,bug_drug_combinations)
S3method(plot2,data.frame)
S3method(plot2,default)
S3method(plot2,early_warning_cluster)
S3method(plot2,freq)
S3method(plot2,matrix)
S3method(plot2,qc_test)
S3method(plot2,sf)
S3method(plot2,sir_df)
export(add_col)
export(add_errorbar)
export(add_line)
export(add_mapping)
export(add_point)
export(add_sf)
export(add_type)
export(all_of)
export(any_of)
export(as_plotly)
export(big_mark)
export(colourpicker)
export(dec_mark)
export(dollars)
export(ends_with)
export(euros)
export(everything)
export(first)
export(get_plot_title)
export(last)
export(matches)
export(md_to_expression)
export(move_layer)
export(n)
export(n_distinct)
export(plot2)
export(plotly_style)
export(scale_color_certe_c)
export(scale_color_certe_d)
export(scale_colour_certe_c)
export(scale_colour_certe_d)
export(scale_fill_certe_c)
export(scale_fill_certe_d)
export(starts_with)
export(theme_minimal2)
export(where)
importFrom(certestyle,add_white)
importFrom(AMR,ab_name)
importFrom(AMR,as.sir)
importFrom(certestyle,big_mark)
importFrom(certestyle,colourpicker)
importFrom(certestyle,certe.colours)
importFrom(certestyle,dec_mark)
importFrom(certestyle,font_black)
importFrom(certestyle,font_blue)
importFrom(certestyle,font_bold)
importFrom(certestyle,font_magenta)
importFrom(certestyle,font_stripstyle)
importFrom(certestyle,font_white)
importFrom(certestyle,format2)
importFrom(certestyle,format2_scientific)
importFrom(cleaner,as.percentage)
importFrom(cleaner,format_datetime)
importFrom(dplyr,`%>%`)
importFrom(dplyr,across)
importFrom(dplyr,all_of)
importFrom(dplyr,any_of)
importFrom(dplyr,arrange)
importFrom(dplyr,as_tibble)
importFrom(dplyr,bind_cols)
importFrom(dplyr,bind_rows)
importFrom(dplyr,count)
importFrom(dplyr,cur_column)
importFrom(dplyr,distinct)
importFrom(dplyr,filter)
importFrom(dplyr,first)
importFrom(dplyr,group_by)
importFrom(dplyr,group_size)
importFrom(dplyr,if_all)
importFrom(dplyr,if_else)
importFrom(dplyr,is_grouped_df)
importFrom(dplyr,last)
importFrom(dplyr,left_join)
importFrom(dplyr,mutate)
importFrom(dplyr,n)
importFrom(dplyr,n_distinct)
importFrom(dplyr,pull)
importFrom(dplyr,reframe)
importFrom(dplyr,rename)
importFrom(dplyr,select)
importFrom(dplyr,summarise)
importFrom(dplyr,ungroup)
importFrom(dplyr,vars)
importFrom(forcats,fct_inorder)
importFrom(forcats,fct_relabel)
importFrom(forcats,fct_relevel)
importFrom(forcats,fct_reorder)
importFrom(ggforce,geom_parallel_sets)
importFrom(ggforce,geom_parallel_sets_axes)
importFrom(ggforce,geom_parallel_sets_labels)
importFrom(ggplot2,`%+replace%`)
importFrom(ggplot2,aes)
importFrom(ggplot2,after_stat)
importFrom(ggplot2,coord_flip)
importFrom(ggplot2,element_blank)
importFrom(ggplot2,element_line)
importFrom(ggplot2,element_rect)
importFrom(ggplot2,element_text)
importFrom(ggplot2,expansion)
importFrom(ggplot2,facet_grid)
importFrom(ggplot2,facet_wrap)
importFrom(ggplot2,fortify)
importFrom(ggplot2,geom_col)
importFrom(ggplot2,geom_density)
importFrom(ggplot2,geom_hline)
importFrom(ggplot2,geom_label)
importFrom(ggplot2,geom_line)
importFrom(ggplot2,geom_point)
importFrom(ggplot2,geom_segment)
importFrom(ggplot2,geom_sf)
importFrom(ggplot2,geom_sf_label)
importFrom(ggplot2,geom_sf_text)
importFrom(ggplot2,geom_smooth)
importFrom(ggplot2,geom_text)
importFrom(ggplot2,ggplot)
importFrom(ggplot2,ggplot_build)
importFrom(ggplot2,guide_colourbar)
importFrom(ggplot2,guide_legend)
importFrom(ggplot2,guides)
importFrom(ggplot2,is.ggplot)
importFrom(ggplot2,labs)
importFrom(ggplot2,margin)
importFrom(ggplot2,position_dodge2)
importFrom(ggplot2,position_fill)
importFrom(ggplot2,position_jitter)
importFrom(ggplot2,position_stack)
importFrom(ggplot2,rel)
importFrom(ggplot2,scale_colour_continuous)
importFrom(ggplot2,scale_colour_date)
importFrom(ggplot2,scale_colour_datetime)
importFrom(ggplot2,scale_colour_discrete)
importFrom(ggplot2,scale_colour_gradient)
importFrom(ggplot2,scale_colour_gradient2)
importFrom(ggplot2,scale_colour_gradientn)
importFrom(ggplot2,scale_colour_manual)
importFrom(ggplot2,scale_fill_continuous)
importFrom(ggplot2,scale_fill_date)
importFrom(ggplot2,scale_fill_datetime)
importFrom(ggplot2,scale_fill_discrete)
importFrom(ggplot2,scale_fill_manual)
importFrom(ggplot2,scale_linetype_manual)
importFrom(ggplot2,scale_linewidth_manual)
importFrom(ggplot2,scale_shape_manual)
importFrom(ggplot2,scale_x_continuous)
importFrom(ggplot2,scale_x_date)
importFrom(ggplot2,scale_x_datetime)
importFrom(ggplot2,scale_x_discrete)
importFrom(ggplot2,scale_y_continuous)
importFrom(ggplot2,sec_axis)
importFrom(ggplot2,stat_boxplot)
importFrom(ggplot2,theme)
importFrom(ggplot2,theme_bw)
importFrom(ggplot2,theme_grey)
importFrom(ggplot2,unit)
importFrom(ggplot2,waiver)
importFrom(rlang,as_label)
importFrom(rlang,cnd_message)
importFrom(rlang,is_quosure)
importFrom(rlang,new_quosure)
importFrom(scales,pretty_breaks)
importFrom(scales,reverse_trans)
importFrom(stringr,str_sort)
importFrom(tibble,rownames_to_column)
importFrom(tidyr,complete)
importFrom(tidyr,full_seq)
importFrom(plot2,add_line)
importFrom(plot2,add_type)
importFrom(plot2,get_colour)
importFrom(plot2,plot2)
importFrom(plot2,register_colour)
importFrom(tidyr,pivot_longer)
importFrom(tidyselect,ends_with)
importFrom(tidyselect,everything)
importFrom(tidyselect,matches)
importFrom(tidyselect,starts_with)
importFrom(tidyselect,where)
importFrom(yaml,read_yaml)
35 changes: 0 additions & 35 deletions R/add_mapping.R

This file was deleted.

Loading

0 comments on commit 8418a55

Please sign in to comment.