From 3e705c2f18633ca8ed3af681bb427cde411a6ae3 Mon Sep 17 00:00:00 2001 From: PietrH Date: Wed, 10 Apr 2024 15:32:09 +0200 Subject: [PATCH] remove trailing comma's Due to a bug/feature(?) in glue, this is now currently causing a cryptic error. --- R/round_coordinates.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/round_coordinates.R b/R/round_coordinates.R index 5aa863cc..42856c4b 100644 --- a/R/round_coordinates.R +++ b/R/round_coordinates.R @@ -62,7 +62,7 @@ round_coordinates <- function(package, digits = 3) { msg = glue::glue( "Can't round from {original_digits} to {digits} digits. ", "`{original_digits}` is derived from the ", - "`package$coordinatePrecision={original_precision}`.", + "`package$coordinatePrecision={original_precision}`." ) ) } else { @@ -78,7 +78,7 @@ round_coordinates <- function(package, digits = 3) { msg = glue::glue( "Can't round from {original_digits} to {digits} digits. ", "`{original_digits}` is the maximum number of decimals for latitude ", - "in the data.", + "in the data." ) ) }