Skip to content

Commit 1288669

Browse files
committed
I don't see where this is used other than a test, but if someone wrote a test, it must be useful.
1 parent 78efef3 commit 1288669

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

R/config.R

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,13 @@ config <- function(type, ..., persist=FALSE, custom.config = FALSE){
105105
globalConfig <- append(globalConfig, list(...))
106106
}
107107

108-
# if (persist){
109-
# if (type == "par"){
110-
# gsconfig$options[names(globalConfig)] <- globalConfig
111-
# } else {
112-
# gsconfig$options[[type]] <- globalConfig
113-
# }
114-
# }
108+
if (persist){
109+
if (type == "par"){
110+
gsconfig$options[names(globalConfig)] <- globalConfig
111+
} else {
112+
gsconfig$options[[type]] <- globalConfig
113+
}
114+
}
115115

116116
return(globalConfig)
117117
}

0 commit comments

Comments
 (0)