Skip to content

Commit 392c394

Browse files
committed
chore: rename internal functions too
1 parent 93bc7d9 commit 392c394

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

R/tm_p_spiderplot.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ tm_p_spiderplot <- function(label = "Spiderplot",
117117

118118
module(
119119
label = label,
120-
ui = ui_g_spiderplot,
121-
server = srv_g_spiderplot,
120+
ui = ui_p_spiderplot,
121+
server = srv_p_spiderplot,
122122
ui_args = list(height = plot_height),
123123
server_args = list(
124124
plot_dataname = plot_dataname,
@@ -139,7 +139,7 @@ tm_p_spiderplot <- function(label = "Spiderplot",
139139
}
140140

141141

142-
ui_g_spiderplot <- function(id, height) {
142+
ui_p_spiderplot <- function(id, height) {
143143
ns <- NS(id)
144144
bslib::page_sidebar(
145145
sidebar = div(
@@ -171,7 +171,7 @@ ui_g_spiderplot <- function(id, height) {
171171
)
172172
}
173173

174-
srv_g_spiderplot <- function(id,
174+
srv_p_spiderplot <- function(id,
175175
data,
176176
plot_dataname,
177177
time_var,

R/tm_p_swimlane.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ tm_p_swimlane <- function(label = "Swimlane",
106106
}
107107
module(
108108
label = label,
109-
ui = ui_g_swimlane,
110-
server = srv_g_swimlane,
109+
ui = ui_p_swimlane,
110+
server = srv_p_swimlane,
111111
datanames = c(plot_dataname, table_datanames),
112112
ui_args = list(height = plot_height),
113113
server_args = list(
@@ -127,7 +127,7 @@ tm_p_swimlane <- function(label = "Swimlane",
127127
)
128128
}
129129

130-
ui_g_swimlane <- function(id, height) {
130+
ui_p_swimlane <- function(id, height) {
131131
ns <- NS(id)
132132
bslib::page_sidebar(
133133
sidebar = div(
@@ -153,7 +153,7 @@ ui_g_swimlane <- function(id, height) {
153153
)
154154
)
155155
}
156-
srv_g_swimlane <- function(id,
156+
srv_p_swimlane <- function(id,
157157
data,
158158
plot_dataname,
159159
time_var,

R/tm_p_waterfall.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ tm_p_waterfall <- function(label = "Waterfall",
9191

9292
module(
9393
label = label,
94-
ui = ui_g_waterfall,
95-
server = srv_g_waterfall,
94+
ui = ui_p_waterfall,
95+
server = srv_p_waterfall,
9696
datanames = union(plot_dataname, table_datanames),
9797
ui_args = list(height = plot_height),
9898
server_args = list(
@@ -111,7 +111,7 @@ tm_p_waterfall <- function(label = "Waterfall",
111111
)
112112
}
113113

114-
ui_g_waterfall <- function(id, height) {
114+
ui_p_waterfall <- function(id, height) {
115115
ns <- NS(id)
116116

117117
bslib::page_sidebar(
@@ -142,7 +142,7 @@ ui_g_waterfall <- function(id, height) {
142142
)
143143
)
144144
}
145-
srv_g_waterfall <- function(id,
145+
srv_p_waterfall <- function(id,
146146
data,
147147
plot_dataname,
148148
subject_var,

0 commit comments

Comments
 (0)