Skip to content

Commit 354f966

Browse files
committed
Update texts and comments
1 parent 623f5c8 commit 354f966

File tree

3 files changed

+12
-14
lines changed

3 files changed

+12
-14
lines changed

R_scripts/functions/fun_graphics.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ plot.sf.helper = function(data, ui.input, radial.profile = FALSE){
729729
}
730730

731731
} else {
732-
p = plot.emptyMessage(message = "Sapwood depth is missing (see 'Project settings')")
732+
p = plot.emptyMessage(message = "Sapwood depth is missing (see 'Settings')")
733733
}
734734
return(p)
735735
}

R_scripts/functions/fun_ui_sap_flow.R

+5-7
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,8 @@ sfRateOutput <- function(){
161161
box(title = "Settings",
162162
collapsible = T, width = NULL,
163163
status = "warning",
164-
165-
p(strong("<Note>"), "The estimation of sap flow is based on
166-
wood and sensor properties (see 'Project settings').
167-
If tree water use calculated with a specific method is 0, more information are required."),
164+
HTML("<b>Note:</b> The estimation of sap flow and tree water use is based on
165+
wood and sensor properties (see 'Settings')."),
168166

169167
checkboxInput("treeScaleSimple1",
170168
"Method 1: Area of circular ring", F),
@@ -190,15 +188,15 @@ sfRateOutput <- function(){
190188
"Save figure", "saveFigure")),
191189
tabPanel("Radial profile", br(),
192190
p("Note: radial profile is not available for scaling method 2."),
193-
#p("Each point represents one day."),
194191
output.figure("TWUradialprofile"),
195192
actButton("save.TWUradialprofile",
196193
"Save figure", "saveFigure")))
197194

198195
),
199196
box(title = "Tree water use",
200-
p("Daily tree water use (in liter per day) estimated as the area under
201-
the curve (AUC) of the figure above, separated by flow direction (i.e. positive flow rates = transpiration, negative flow rates = reverse flow)."),
197+
p("Daily tree water use (in liter per day) is estimated as the area under
198+
the curve (AUC) of the figure above, separated by flow direction (i.e. positive flow
199+
rates = transpiration, negative flow rates = reverse flow)."),
202200
p("Note: Incomplete data sets (e.g. half a day) might lead to an over- or underestimation."),
203201
collapsible = T,
204202
width = NULL,

server.R

+6-6
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ shinyServer(function(input, output, session) {
2828
}
2929

3030

31-
########################
32-
### PROJECT SETTINGS ###
33-
########################
31+
################
32+
### SETTINGS ###
33+
################
3434

3535
#### Variables ####
3636

@@ -119,7 +119,7 @@ shinyServer(function(input, output, session) {
119119
NULL
120120
})
121121

122-
#' Show project path in Project Settings > Project
122+
#' Show project path in Settings > Project
123123
#' if a project folder is selected
124124
output$prjDir <- renderPrint({
125125
cat(projectPath())
@@ -132,7 +132,7 @@ shinyServer(function(input, output, session) {
132132

133133
#### Buttons ####
134134

135-
#' Button to create a project (Project Settings > Project)
135+
#' Button to create a project (Settings > Project)
136136
#' Requires a folder to be selected (Folder select)
137137
#' If directory does not exist create two folders:
138138
#' 'csv-files', 'graphics'
@@ -279,7 +279,7 @@ shinyServer(function(input, output, session) {
279279
})
280280

281281
#' Eventlistener to save thermometer depth table
282-
#' (Project Settings > Measuring environment)
282+
#' (Settings > Measuring environment)
283283
observeEvent(input$save.sensor_props, {
284284
save.csv(path = projectPath(),
285285
name = "sensor_props",

0 commit comments

Comments
 (0)