tests/testthat/roxygen-examples-complete/17-two-no-non-comment-in.R

#' @examples
#'   my_fun <- function() {
#'   print("hello world!")
#' }
#' # before this comment is a left-over space
#' another_function <- function() NULL



#' @examples
#'   my_fun <- function() {
#'   print("hello world!")
#' }
#' # before this comment is a left-over space
#' another_function <- function() NULL

Try the styler package in your browser

Any scripts or data that you put into this service are public.

styler documentation built on Aug. 29, 2023, 5:10 p.m.