Skip to content

Commit

Permalink
also add tests for roxygen comments
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed May 11, 2024
1 parent 226615d commit 0d67987
Show file tree
Hide file tree
Showing 3 changed files with 117 additions and 93 deletions.
10 changes: 10 additions & 0 deletions tests/testthat/roxygen-examples-complete/13-empty-lines-in.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,27 @@
#'
#'
#'
#' (
#'
#'
#' # more
#' a <- 3
#'
#' )
#' # a comment
#' \dontrun{
#' {
#'
#' x
#'
#' }
#'
#' y # hi
#'
#' # more
#'
#' a <- 3
#'
#' }
#' @importFrom purrr compact
#' @export
Expand Down
190 changes: 100 additions & 90 deletions tests/testthat/roxygen-examples-complete/13-empty-lines-in_tree

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions tests/testthat/roxygen-examples-complete/13-empty-lines-out.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,15 @@
#'
#'
#'
#' # more
#' a <- 3
#' (
#' # more
#' a <- 3
#' )
#' # a comment
#' \dontrun{
#' x
#' {
#' x
#' }
#'
#' y # hi
#'
Expand Down

0 comments on commit 0d67987

Please # to comment.