From 4bdda0940e02d100f3cb202ccf982286f355306f Mon Sep 17 00:00:00 2001 From: cicdguy <26552821+cicdguy@users.noreply.github.com> Date: Wed, 24 Jan 2024 08:47:08 -0600 Subject: [PATCH 1/2] Show output of roxygenize Signed-off-by: cicdguy <26552821+cicdguy@users.noreply.github.com> --- .github/workflows/roxygen.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/roxygen.yaml b/.github/workflows/roxygen.yaml index 604b26a30..b363f1702 100644 --- a/.github/workflows/roxygen.yaml +++ b/.github/workflows/roxygen.yaml @@ -119,6 +119,8 @@ jobs: sink() sink(type = "message") logs <- readLines(logfile) + cat("šŸŖµ Log output of 'roxygen2::roxygenize()':\n") + system2("cat", logfile) error_marker <- grep("Error:", logs) warnings_marker <- grep("Warning message", logs) if (length(warnings_marker) > 0) { From 597c1019eb846b9fa93163cb702afc059c8a141a Mon Sep 17 00:00:00 2001 From: cicdguy <26552821+cicdguy@users.noreply.github.com> Date: Wed, 24 Jan 2024 08:54:43 -0600 Subject: [PATCH 2/2] fix: Update RoxygenNote and update log message --- .github/workflows/roxygen.yaml | 2 +- DESCRIPTION | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/roxygen.yaml b/.github/workflows/roxygen.yaml index b363f1702..e89a8a9bc 100644 --- a/.github/workflows/roxygen.yaml +++ b/.github/workflows/roxygen.yaml @@ -165,7 +165,7 @@ jobs: then { echo -e "\nšŸ’» Please rerun the following command on your workstation and push your changes" echo "--------------------------------------------------------------------" - echo "roxygen2::roxygenize('.', roclets = c('rd', 'collate', 'namespace'))" + echo "roxygen2::roxygenize('.')" echo "--------------------------------------------------------------------" echo "ā„¹ roxygen2 version that was used in this workflow: $ROXYGEN_VERSION" echo "šŸ™ Please ensure that the 'RoxygenNote' field in the DESCRIPTION file matches this version" diff --git a/DESCRIPTION b/DESCRIPTION index 23cd16f28..7f7b98a5d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -28,4 +28,4 @@ Encoding: UTF-8 Language: en-US LazyData: true Roxygen: list(markdown = TRUE) -RoxygenNote: 7.2.3 +RoxygenNote: 7.3.0