Update report parameters and improve translation logging; modify field size variable name
This commit is contained in:
parent
8924fd1273
commit
df2fb8bf7f
|
|
@ -12,9 +12,8 @@ params:
|
|||
facet_by_season: FALSE
|
||||
x_axis_unit: "days"
|
||||
output:
|
||||
word_document:
|
||||
reference_docx: !expr file.path("word-styles-reference-var1.docx")
|
||||
toc: no
|
||||
word_document:
|
||||
reference_docx: !expr params$ref toc: no
|
||||
editor_options:
|
||||
chunk_output_type: console
|
||||
---
|
||||
|
|
@ -472,9 +471,8 @@ tryCatch({
|
|||
translations <- do.call(rbind, translation_list)
|
||||
|
||||
if (!is.null(translations)) {
|
||||
safe_log("Translations file succesfully loaded")
|
||||
} else {
|
||||
safe_log("Failed to load translations", "ERROR")
|
||||
safe_log("Translations file successfully loaded")
|
||||
} else { safe_log("Failed to load translations", "ERROR")
|
||||
translations <- NULL
|
||||
}
|
||||
}, error = function(e) {
|
||||
|
|
@ -1326,7 +1324,7 @@ tryCatch({
|
|||
})
|
||||
```
|
||||
|
||||
cat("\\newpage\n\n")
|
||||
\newpage
|
||||
|
||||
`r tr_key("detailed_field")`
|
||||
|
||||
|
|
@ -1424,7 +1422,7 @@ if (!exists("field_details_table") || is.null(field_details_table) || nrow(field
|
|||
field_details_clean <- field_details_clean %>%
|
||||
select(
|
||||
field = Field_id,
|
||||
field_size = field_size_acres,
|
||||
field_size = field_size_area,
|
||||
mean_ci = Mean_CI,
|
||||
yield_forecast = TCH_Forecasted,
|
||||
gap_score = Gap_Score,
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in a new issue