Skip to content

Commit 781aa0a

Browse files
committed
doc: add cross ref
1 parent 5729380 commit 781aa0a

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

R/load_tree_data.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
#' but all digits).
9898
#'
9999
#' @seealso
100-
#' [DEFAULT_TREE_COLUMNS]
100+
#' [DEFAULT_TREE_COLUMNS],[process_tree_data()]
101101
#'
102102
#' @examples
103103
#' # Lolo NF, single-condition forest plots, INVYR 2022, from public FIADB
@@ -156,7 +156,7 @@ load_tree_data <- function(src, table = NULL, columns = DEFAULT_TREE_COLUMNS,
156156
gdalraster::ogr_field_index(src, tbl_tmp, "AZIMUTH") < 0) {
157157

158158
cli::cli_alert_warning(
159-
c("The data source does not have ",
159+
c("the data source does not have ",
160160
"{.field DIST} and/or {.field AZIMUTH}"))
161161

162162
columns <- columns[!columns %in% c("DIST", "AZIMUTH")]
@@ -237,9 +237,9 @@ load_tree_data <- function(src, table = NULL, columns = DEFAULT_TREE_COLUMNS,
237237
d$PLT_CN <- as.character(d$PLT_CN)
238238

239239
if (nrow(d) == 0)
240-
cli::cli_alert_danger("No tree records were returned")
240+
cli::cli_alert_danger("No tree records were returned.")
241241
else
242-
cli::cli_alert_info("{.val {nrow(d)}} tree records returned")
242+
cli::cli_alert_info("{.val {nrow(d)}} tree records returned.")
243243

244244
return(d)
245245
}

man/load_tree_data.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)