Skip to content

Commit 1c066f2

Browse files
committed
fix for check
1 parent b1e301c commit 1c066f2

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

DESCRIPTION

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ Imports:
2626
forcats (>= 1.0.0),
2727
glue (>= 1.3.0),
2828
lifecycle (>= 0.2.0),
29-
methods,
3029
officer (>= 0.4.0),
3130
purrr (>= 0.2.3),
3231
rlang (>= 1.0.0),

NEWS.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ Crosstables for descriptive analyses. See documentation at <https://danchaltiel.
1313
- fixed error when using a named list of functions in `crosstable(funs)` (#89).
1414
- fixed rare infinite loop with `get_label()` on very specific objects like `POSIXlt` (#86).
1515

16-
17-
1816
# crosstable 0.8.1
1917

2018
#### Bug fixes and improvements

R/officer.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ parse_md = function(x, parse_ref=TRUE, parse_format=TRUE, parse_code=TRUE, parse
942942

943943
x = str_replace_all(x, fixed("**"), fixed("%%")) #better separates bold from italic
944944

945-
f = \(x, k, f) str_locate_all(x, k)[[1]] %>% as_tibble() %>% mutate(format=f)
945+
f = function(x, k, f) str_locate_all(x, k)[[1]] %>% as_tibble() %>% mutate(format=f)
946946
bolds = f(x, "(?<!\\\\)%%", "bold")
947947
italics = f(x, "(?<!\\\\)\\*", "italic")
948948
underlined = f(x, "(?<!\\\\)_", "underlined")

0 commit comments

Comments
 (0)