Skip to content

Commit

Permalink
Restyle [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
olivroy committed Jun 3, 2024
1 parent b4803a2 commit c3801bc
Show file tree
Hide file tree
Showing 3 changed files with 279 additions and 277 deletions.
8 changes: 4 additions & 4 deletions R/outline-criteria.R
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ o_is_section_title <- function(x, roxy_section = FALSE) {
p_s_title <- which(is_section_title)
is_section_title[p_s_title] <-
!grepl(uninteresting_headings, x[p_s_title]) &
!o_is_todo_fixme(x[p_s_title]) &
!o_is_commented_code(x[p_s_title]) &
# to exclude md tables from outline
stringr::str_count(x[p_s_title], "\\|") < 4
!o_is_todo_fixme(x[p_s_title]) &
!o_is_commented_code(x[p_s_title]) &
# to exclude md tables from outline
stringr::str_count(x[p_s_title], "\\|") < 4
is_section_title
}

Expand Down
Loading

0 comments on commit c3801bc

Please sign in to comment.