You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The line referenced above is just an example. The following needs to be done to every function in the ui.R file. All the functions in ui.R need to have a #' @export so that when the package is compiled roxygen2 (the library the generates the NAMESPACE knows what function to pickup and place into the R environment.
The roxygen has to re-run on the functions to generate new comments with #' @export
The text was updated successfully, but these errors were encountered:
#' Function to create a new page or check the existence of a page
#' This function is used to create a new page on a site.
#' If the name of the page is an empty string then the function returns an error.
#' If the name of the page does not have a `/` it returns a error.
#' If another function calls the page function (by setting fun_flag = TRUE) then a new page is not created
#' but the existence of a page is checked. Under this condition of the page does not exist, then the function
#' returns an error.
#' \code{fun_flag} is a variable that is used when another function calls this \code{page}
#' function. It could
#' @param page_name - the name of the page to be created, or to be checked
#' @param fun_flag - a flag set when other functions call this function.
#' @param ...
#'
#' @return page_instance - list()
#' @export
#'
#' @examples
#' test_page <- page("/example)
page <- function(page_name,fun_flag=FALSE,...){
wave/r/R/ui.R
Line 50 in 94cd7cc
The line referenced above is just an example. The following needs to be done to every function in the
ui.R
file. All the functions in ui.R need to have a#' @export
so that when the package is compiledroxygen2
(the library the generates theNAMESPACE
knows what function to pickup and place into the R environment.The
roxygen
has to re-run on the functions to generate new comments with#' @export
The text was updated successfully, but these errors were encountered: