Skip to content

Commit

Permalink
Merge pull request #31 from mihaiconstantin/fix/cran-html-validation
Browse files Browse the repository at this point in the history
Fix CRAN `HTML` validation error

Closes #30.
  • Loading branch information
mihaiconstantin authored Sep 9, 2022
2 parents 7e068a9 + 38589e0 commit b299889
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 20 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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'
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 3 additions & 6 deletions man-roxygen/plot-Method.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,16 @@
#'
#' \if{html}{
#' Example of a plot for each step of the method:
#'
#' \out{<div style="text-align: center">}
#' \out{<p>}\strong{Step 1: Monte Carlo Replications}\out{</p>}
#' \out{<span style="display: block; margin-top: 1rem; margin-bottom: 0.5rem">}\strong{Step 1: Monte Carlo Replications}\out{</span>}
#' \figure{example-step-1.png}{options: style="width: 640px; max-width: 90\%;" alt="Example Step 1"}
#' \out{</div>}
#'
#' \out{<div style="text-align: center">}
#' \out{<p>}\strong{Step 2: Curve Fitting}\out{</p>}
#' \out{<span style="display: block; margin-top: 1rem; margin-bottom: 0.5rem">}\strong{Step 2: Curve Fitting}\out{</span>}
#' \figure{example-step-2.png}{options: style="width: 640px; max-width: 90\%;" alt="Example Step 2"}
#' \out{</div>}
#'
#' \out{<div style="text-align: center">}
#' \out{<p>}\strong{Step 3: Bootstrapping}\out{</p>}
#' \out{<span style="display: block; margin-top: 1rem; margin-bottom: 0.5rem">}\strong{Step 3: Bootstrapping}\out{</span>}
#' \figure{example-step-3.png}{options: style="width: 640px; max-width: 90\%;" alt="Example Step 3"}
#' \out{</div>}
#' }
Expand Down
1 change: 0 additions & 1 deletion man-roxygen/plot-Step.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
#'
#' \if{html}{
#' Example of a plot:
#'
#' \out{<div style="text-align: center">}
#' \figure{example-step-<%= step_number %>.png}{options: style="width: 640px; max-width: 90\%;" alt="Example Step <%= step_number %>"}
#' \out{</div>}
Expand Down
1 change: 0 additions & 1 deletion man-roxygen/plot-Validation.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
#'
#' \if{html}{
#' Example of a validation plot:
#'
#' \out{<div style="text-align: center">}
#' \figure{example-validation.png}{options: style="width: 640px; max-width: 90\%;" alt="Example Validation"}
#' \out{</div>}
Expand Down
9 changes: 3 additions & 6 deletions man/plot.Method.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion man/plot.StepOne.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion man/plot.StepThree.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion man/plot.StepTwo.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion man/plot.Validation.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b299889

Please sign in to comment.