DanChaltiel / autoimport

A toolbox to automatically generate @importFrom roxygen tags from R files.
https://danchaltiel.github.io/autoimport/
12 stars 2 forks source link

bug #2

Closed DanChaltiel closed 2 weeks ago

DanChaltiel commented 1 year ago

Try with crosstable with this NAMESPACE file

# Generated by roxygen2: do not edit by hand

S3method(as_flextable,crosstable)
S3method(as_gt,crosstable)
S3method(as_gt,default)
S3method(compact,crosstable)
S3method(compact,data.frame)
S3method(compact,default)
S3method(ct_compact,crosstable)
S3method(ct_compact,data.frame)
S3method(ct_compact,default)
S3method(t,crosstable)
export("%>%")
export(N)
export(af)
export(all_of)
export(any_of)
export(apply_labels)
export(as_flextable)
export(as_gt)
export(as_workbook)
export(body_add_crosstable)
export(body_add_crosstable_footnote)
export(body_add_crosstable_list)
export(body_add_figure_legend)
export(body_add_flextable_list)
export(body_add_gg2)
export(body_add_glued)
export(body_add_img2)
export(body_add_list)
export(body_add_list_item)
export(body_add_normal)
export(body_add_table_legend)
export(body_add_table_list)
export(body_add_title)
export(body_replace_text_at_bkms)
export(clean_names_with_labels)
export(compact)
export(confint_numeric)
export(contains)
export(copy_label_from)
export(cross_summary)
export(cross_to_flextable)
export(crosstable)
export(crosstable_effect_args)
export(crosstable_options)
export(crosstable_peek_options)
export(crosstable_reset_options)
export(crosstable_test_args)
export(ct_compact)
export(ctf)
export(diff_mean_auto)
export(diff_mean_boot)
export(diff_mean_student)
export(diff_median)
export(diff_median_boot)
export(display_effect)
export(display_test)
export(docx_bookmarks2)
export(effect_odds_ratio)
export(effect_relative_risk)
export(effect_risk_difference)
export(effect_survival_coxph)
export(ends_with)
export(everything)
export(format_fixed)
export(generate_autofit_macro)
export(get_label)
export(get_percent_pattern)
export(import_labels)
export(is.compacted_crosstable)
export(is.crosstable)
export(is.multiby_crosstable)
export(is.transposed_crosstable)
export(matches)
export(meanCI)
export(meansd)
export(mediqr)
export(minmax)
export(moystd)
export(na)
export(narm)
export(nna)
export(peek)
export(pivot_crosstable)
export(plim)
export(remove_label)
export(remove_labels)
export(rename_dataframe_with_labels)
export(rename_with_labels)
export(save_labels)
export(set_label)
export(starts_with)
export(test_correlation_auto)
export(test_summarize_auto)
export(test_summarize_linear_contrasts)
export(test_survival_logrank)
export(test_tabular_auto)
export(to_flextable)
export(transpose_crosstable)
export(write_and_open)
importFrom(checkmate,assert)
importFrom(checkmate,assert_character)
importFrom(dplyr,recode)
importFrom(dplyr,rename)
importFrom(dplyr,summarise)
importFrom(flextable,hline_top)
importFrom(flextable,set_header_df)
importFrom(flextable,set_header_labels)
importFrom(lifecycle,deprecated)
importFrom(lifecycle,is_present)
importFrom(methods,formalArgs)
importFrom(officer,body_add_fpar)
importFrom(officer,body_add_img)
importFrom(purrr,safely)
importFrom(purrr,walk)
importFrom(rlang,":=")
importFrom(rlang,as_function)
importFrom(rlang,as_string)
importFrom(rlang,is_named)
importFrom(rlang,is_null)
importFrom(stats,cor.test)
importFrom(stats,fisher.test)
importFrom(stats,glm)
importFrom(stats,kruskal.test)
importFrom(stats,lm)
importFrom(stats,median)
importFrom(stringr,str_starts)
importFrom(stringr,str_subset)
importFrom(stringr,str_wrap)
importFrom(tibble,add_row)
importFrom(tibble,as_tibble)
importFrom(tibble,column_to_rownames)
importFrom(tidyr,unite)
importFrom(tidyr,unpack)
importFrom(utils,browseURL)

TODO:

DanChaltiel commented 2 weeks ago

cannot reproduce