From 601c28dfe4109e693dc613d96f93c4d22b9fcb50 Mon Sep 17 00:00:00 2001 From: mihaiconstantin Date: Fri, 9 Sep 2022 11:09:21 +0200 Subject: [PATCH 1/5] Fix: incorrect `

` tags in exported function docs --- man-roxygen/plot-Method.R | 9 +++------ man-roxygen/plot-Step.R | 1 - man-roxygen/plot-Validation.R | 1 - 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/man-roxygen/plot-Method.R b/man-roxygen/plot-Method.R index b6da271..99ded4a 100644 --- a/man-roxygen/plot-Method.R +++ b/man-roxygen/plot-Method.R @@ -40,19 +40,16 @@ #' #' \if{html}{ #' Example of a plot for each step of the method: -#' #' \out{

} -#' \out{

}\strong{Step 1: Monte Carlo Replications}\out{

} +#' \out{}\strong{Step 1: Monte Carlo Replications}\out{} #' \figure{example-step-1.png}{options: style="width: 640px; max-width: 90\%;" alt="Example Step 1"} #' \out{
} -#' #' \out{
} -#' \out{

}\strong{Step 2: Curve Fitting}\out{

} +#' \out{}\strong{Step 2: Curve Fitting}\out{} #' \figure{example-step-2.png}{options: style="width: 640px; max-width: 90\%;" alt="Example Step 2"} #' \out{
} -#' #' \out{
} -#' \out{

}\strong{Step 3: Bootstrapping}\out{

} +#' \out{}\strong{Step 3: Bootstrapping}\out{} #' \figure{example-step-3.png}{options: style="width: 640px; max-width: 90\%;" alt="Example Step 3"} #' \out{
} #' } diff --git a/man-roxygen/plot-Step.R b/man-roxygen/plot-Step.R index 304d6c7..fe36967 100644 --- a/man-roxygen/plot-Step.R +++ b/man-roxygen/plot-Step.R @@ -32,7 +32,6 @@ #' #' \if{html}{ #' Example of a plot: -#' #' \out{
} #' \figure{example-step-<%= step_number %>.png}{options: style="width: 640px; max-width: 90\%;" alt="Example Step <%= step_number %>"} #' \out{
} diff --git a/man-roxygen/plot-Validation.R b/man-roxygen/plot-Validation.R index d9eea04..2b4a1ed 100644 --- a/man-roxygen/plot-Validation.R +++ b/man-roxygen/plot-Validation.R @@ -36,7 +36,6 @@ #' #' \if{html}{ #' Example of a validation plot: -#' #' \out{
} #' \figure{example-validation.png}{options: style="width: 640px; max-width: 90\%;" alt="Example Validation"} #' \out{
} From 5973aecd6c802a86474b07a6921ae70565232b8b Mon Sep 17 00:00:00 2001 From: mihaiconstantin Date: Fri, 9 Sep 2022 11:14:02 +0200 Subject: [PATCH 2/5] Fix: regenerate `.Rd` files with fixed syntax --- man/plot.Method.Rd | 9 +++------ man/plot.StepOne.Rd | 1 - man/plot.StepThree.Rd | 1 - man/plot.StepTwo.Rd | 1 - man/plot.Validation.Rd | 1 - 5 files changed, 3 insertions(+), 10 deletions(-) diff --git a/man/plot.Method.Rd b/man/plot.Method.Rd index 94cae6b..c77df54 100644 --- a/man/plot.Method.Rd +++ b/man/plot.Method.Rd @@ -52,19 +52,16 @@ the \link{patchwork} class applied. \if{html}{ Example of a plot for each step of the method: - \out{
} -\out{

}\strong{Step 1: Monte Carlo Replications}\out{

} +\out{}\strong{Step 1: Monte Carlo Replications}\out{} \figure{example-step-1.png}{options: style="width: 640px; max-width: 90\%;" alt="Example Step 1"} \out{
} - \out{
} -\out{

}\strong{Step 2: Curve Fitting}\out{

} +\out{}\strong{Step 2: Curve Fitting}\out{} \figure{example-step-2.png}{options: style="width: 640px; max-width: 90\%;" alt="Example Step 2"} \out{
} - \out{
} -\out{

}\strong{Step 3: Bootstrapping}\out{

} +\out{}\strong{Step 3: Bootstrapping}\out{} \figure{example-step-3.png}{options: style="width: 640px; max-width: 90\%;" alt="Example Step 3"} \out{
} } diff --git a/man/plot.StepOne.Rd b/man/plot.StepOne.Rd index 8a4d12c..8804976 100644 --- a/man/plot.StepOne.Rd +++ b/man/plot.StepOne.Rd @@ -35,7 +35,6 @@ that can be further modified. The object returned also contains the \if{html}{ Example of a plot: - \out{
} \figure{example-step-1.png}{options: style="width: 640px; max-width: 90\%;" alt="Example Step 1"} \out{
} diff --git a/man/plot.StepThree.Rd b/man/plot.StepThree.Rd index 8d92855..5d3cc31 100644 --- a/man/plot.StepThree.Rd +++ b/man/plot.StepThree.Rd @@ -35,7 +35,6 @@ that can be further modified. The object returned also contains the \if{html}{ Example of a plot: - \out{
} \figure{example-step-3.png}{options: style="width: 640px; max-width: 90\%;" alt="Example Step 3"} \out{
} diff --git a/man/plot.StepTwo.Rd b/man/plot.StepTwo.Rd index 63ed3a0..8aa4256 100644 --- a/man/plot.StepTwo.Rd +++ b/man/plot.StepTwo.Rd @@ -35,7 +35,6 @@ that can be further modified. The object returned also contains the \if{html}{ Example of a plot: - \out{
} \figure{example-step-2.png}{options: style="width: 640px; max-width: 90\%;" alt="Example Step 2"} \out{
} diff --git a/man/plot.Validation.Rd b/man/plot.Validation.Rd index bdb0d91..2c69f3d 100644 --- a/man/plot.Validation.Rd +++ b/man/plot.Validation.Rd @@ -39,7 +39,6 @@ The plot object returned can be further modified and also contains the \if{html}{ Example of a validation plot: - \out{
} \figure{example-validation.png}{options: style="width: 640px; max-width: 90\%;" alt="Example Validation"} \out{
} From 7083638281a99576ccc9d9b0ed19c43780b5de08 Mon Sep 17 00:00:00 2001 From: mihaiconstantin Date: Fri, 9 Sep 2022 11:14:13 +0200 Subject: [PATCH 3/5] Docs: add changes to `NEWS` file --- NEWS.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NEWS.md b/NEWS.md index 4cab1c0..f216e3c 100644 --- a/NEWS.md +++ b/NEWS.md @@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 1.8.5 +### Fixed +- Fix `HTML` validation problems during the `CRAN` checks. Closes + [#30](https://github.com/mihaiconstantin/powerly/issues/30). + ## 1.8.4 ### Added - Add navigation bar and sidebar links under *Reference* for exported package From 6b757e17f5f2a74e3dc7c01b9a6388460a86c4fa Mon Sep 17 00:00:00 2001 From: mihaiconstantin Date: Fri, 9 Sep 2022 11:14:36 +0200 Subject: [PATCH 4/5] Build: bump `roxygen` version to `7.2.1` --- DESCRIPTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 315da11..d41c5d0 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -36,7 +36,7 @@ Imports: Encoding: UTF-8 LazyData: true Roxygen: list(markdown = TRUE) -RoxygenNote: 7.2.0 +RoxygenNote: 7.2.1 Collate: 'Backend.R' 'Basis.R' From 38589e0af5d2b85c4f0fb378012ad2d6eeda4fe1 Mon Sep 17 00:00:00 2001 From: mihaiconstantin Date: Fri, 9 Sep 2022 11:15:20 +0200 Subject: [PATCH 5/5] Build: bump package version to `1.8.5` --- DESCRIPTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index d41c5d0..d0bd7bb 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: powerly Title: Sample Size Analysis for Psychological Networks and More -Version: 1.8.4 +Version: 1.8.5 Authors@R: person(given = "Mihai", family = "Constantin",