Skip to content

Commit

Permalink
fixed FG_test_mksession.Rd
Browse files Browse the repository at this point in the history
  • Loading branch information
john-harrold committed Dec 21, 2024
1 parent 317d158 commit 09c68a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions R/FG_Server.R
Original file line number Diff line number Diff line change
Expand Up @@ -2954,14 +2954,14 @@ res}
#'@title Populate Session Data for Module Testing
#'@description Populates the supplied session variable for testing.
#'@param session Shiny session variable (in app) or a list (outside of app)
#' session = shiny::MockShinySession$new()
#' session = shiny::MockShinySession$new().
#'@param full Boolean indicating if the full test session should be created.
#'@return The FG portion of the `all_sess_res` returned from \code{\link{FM_app_preload}}
#'@examples
#' session = shiny::MockShinySession$new()
#' sess_res = FG_test_mksession(session=session)
#'@seealso \code{\link{FM_app_preload}}
FG_test_mksession = function(session=list(), full=FALSE){

if(full){
sources = c(system.file(package="formods", "preload", "ASM_preload.yaml"),
system.file(package="formods", "preload", "UD_preload.yaml"),
Expand Down
4 changes: 3 additions & 1 deletion man/FG_test_mksession.Rd

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

0 comments on commit 09c68a2

Please sign in to comment.