From e8ebdeea156706e2fce77d6c388139d14a84d75a Mon Sep 17 00:00:00 2001 From: "dyfan.jones" Date: Fri, 12 Jan 2024 09:54:25 +0000 Subject: [PATCH] tidy up loops --- make.paws/R/sdk_helper.R | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/make.paws/R/sdk_helper.R b/make.paws/R/sdk_helper.R index 0d389069e..78288d464 100644 --- a/make.paws/R/sdk_helper.R +++ b/make.paws/R/sdk_helper.R @@ -431,9 +431,7 @@ paws_gsub <- function( } for (pkg in cran_pkg) { cran_file_gsub(before, after, cran_r[[pkg]]) - log_info("Successfully update package: %s", pkg) - } - for (pkg in cran_pkg) { + log_info("Successfully update package R scripts: %s", pkg) cran_file_gsub(before, after, cran_rd[[pkg]]) log_info("Successfully update package rd documentation: %s", pkg) }