Skip to content

Commit 4fc81ba

Browse files
Richard PilberyRichard Pilbery
Richard Pilbery
authored and
Richard Pilbery
committed
Added roxygen comments to append_roxygen_comment
1 parent 1e2d1fa commit 4fc81ba

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

R/add_r_files.R

+11
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,17 @@ add_utils <- function(
8989
)
9090
}
9191

92+
#' Append roxygen comments to fct_ and utils_ files
93+
#'
94+
#' This function as boilerplate roxygen comments
95+
#' for fct_ and utils_ files
96+
#'
97+
#' @param name The name of the file
98+
#' @param path The path to the R script where the module will be written.
99+
#' @param ext A string denoting the type of file to be created.
100+
#'
101+
#' @rdname file_creation
102+
#' @export
92103
append_roxygen_comment <- function(name, path, ext) {
93104
write_there <- function(...){
94105
write(..., file = path, append = TRUE)

0 commit comments

Comments
 (0)