Skip to content

Commit 1918f76

Browse files
committed
fix whitespace
1 parent 80d7e56 commit 1918f76

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

sphinx/src/maintainer/adding_pkgs.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -760,10 +760,10 @@ will look like
760760
source_files:
761761
- tests/
762762
commands:
763-
- $R -e "library('PackageName')" # [not win]
764-
- $R -e "testthat::test_file('tests/testthat.R', stop_on_failure=TRUE)" # [not win]
765-
- "\"%R%\" -e \"library('PackageName')\"" # [win]
766-
- "\"%R%\" -e \"testthat::test_file('tests/testthat.R', stop_on_failure=TRUE)\"" # [win]
763+
- $R -e "library('PackageName')" # [not win]
764+
- $R -e "testthat::test_file('tests/testthat.R', stop_on_failure=TRUE)" # [not win]
765+
- "\"%R%\" -e \"library('PackageName')\"" # [win]
766+
- "\"%R%\" -e \"testthat::test_file('tests/testthat.R', stop_on_failure=TRUE)\"" # [win]
767767
768768
.. note::
769769
We recommend including a library loading check *before* the ``testthat``
@@ -810,8 +810,8 @@ the individual tests. In that case, one can instead test the
810810
811811
test:
812812
commands:
813-
- $R -e "testthat::test_dir('tests/testthat/', package='PackageName', load_package='installed')" # [not win]
814-
- "\"%R%\" -e \"testthat::test_dir('tests/testthat/', package='PackageName', load_package='installed')\"" # [win]
813+
- $R -e "testthat::test_dir('tests/testthat/', package='PackageName', load_package='installed')" # [not win]
814+
- "\"%R%\" -e \"testthat::test_dir('tests/testthat/', package='PackageName', load_package='installed')\"" # [win]
815815
816816
In this case, the function will error on any failures by default. Again,
817817
the ``PackageName`` here refers to the R library name.

0 commit comments

Comments
 (0)