Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
musvaage committed Aug 26, 2023
1 parent 23d9dc1 commit 2dfed0d
Show file tree
Hide file tree
Showing 11 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ Suggests:
webfakes
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.1
RoxygenNote: 7.2.3
Config/testthat/edition: 3
Config/Needs/website: tidyverse/tidytemplate
2 changes: 1 addition & 1 deletion R/background.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#' [processx::process].
#'
#' `cp$parse_results()` parses the results, and returns an S3 object with
#' fields `errors`, `warnnigs` and `notes`, just like [rcmdcheck()]. It
#' fields `errors`, `warnings` and `notes`, just like [rcmdcheck()]. It
#' is an error to call it before the process has finished. Use the
#' `wait()` method to wait for the check to finish, or the `is_alive()`
#' method to check if it is still running.
Expand Down
2 changes: 1 addition & 1 deletion R/options.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#' rcmdcheck uses the cli package for much of its output, so you can
#' configure the output via cli, see [cli::cli-config].
#'
#' Package configration is defined in the `DESCRIPTION` file of the checked
#' Package configuration is defined in the `DESCRIPTION` file of the checked
#' package. E.g.:
#' ```
#' Config/build/clean-inst-doc: FALSE
Expand Down
2 changes: 1 addition & 1 deletion man/rcmdcheck-config.Rd

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

2 changes: 1 addition & 1 deletion man/rcmdcheck_process.Rd

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

4 changes: 2 additions & 2 deletions tests/testthat/_snaps/callback.md
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@
[7] " 6,8d5"
[8] "\r \r < Potential spelling errors:"
[9] "\r \r < WORD FOUND IN"
[10] "\r \r < programatically NEWS.md:14"
[10] "\r \r < programmatically NEWS.md:14"
[11] "\r \r\r \rv checking for unstated dependencies in vignettes"
[12] "\r \rv checking package vignettes in 'inst/doc'"
[13] "\r"
Expand Down Expand Up @@ -518,7 +518,7 @@
[57] " Comparing 'spelling.Rout' to 'spelling.Rout.save' ...6,8d5"
[58] "< Potential spelling errors:"
[59] "< WORD FOUND IN"
[60] "< programatically NEWS.md:14"
[60] "< programmatically NEWS.md:14"
[61] " OK"
[62] "* checking for unstated dependencies in vignettes ... OK"
[63] "* checking package vignettes in 'inst/doc' ... OK"
Expand Down
48 changes: 24 additions & 24 deletions tests/testthat/_snaps/parse.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,15 +135,15 @@
> library(dataonderivatives)
>
> test_check("dataonderivatives")
1. Failure: BSDR API accesible (@test-bsdr.R#6) --------------------------------
1. Failure: BSDR API accessible (@test-bsdr.R#6) --------------------------------
`df1` inherits from `NULL` not `data.frame`.
2. Failure: BSDR API accesible (@test-bsdr.R#8) --------------------------------
2. Failure: BSDR API accessible (@test-bsdr.R#8) --------------------------------
`df2` inherits from `NULL` not `data.frame`.
3. Failure: BSDR API accesible (@test-bsdr.R#9) --------------------------------
3. Failure: BSDR API accessible (@test-bsdr.R#9) --------------------------------
nrow(df1) <= nrow(df2) isn't true.
Expand All @@ -153,9 +153,9 @@
testthat results ================================================================
OK: 23 SKIPPED: 0 FAILED: 4
1. Failure: BSDR API accesible (@test-bsdr.R#6)
2. Failure: BSDR API accesible (@test-bsdr.R#8)
3. Failure: BSDR API accesible (@test-bsdr.R#9)
1. Failure: BSDR API accessible (@test-bsdr.R#6)
2. Failure: BSDR API accessible (@test-bsdr.R#8)
3. Failure: BSDR API accessible (@test-bsdr.R#9)
4. Failure: CME SDR file parses (@test-cme.R#22)
Error: testthat unit tests failed
Expand Down Expand Up @@ -184,15 +184,15 @@
> library(dataonderivatives)
>
> test_check("dataonderivatives")
1. Failure: BSDR API accesible (@test-bsdr.R#6) --------------------------------
1. Failure: BSDR API accessible (@test-bsdr.R#6) --------------------------------
`df1` inherits from `NULL` not `data.frame`.
2. Failure: BSDR API accesible (@test-bsdr.R#8) --------------------------------
2. Failure: BSDR API accessible (@test-bsdr.R#8) --------------------------------
`df2` inherits from `NULL` not `data.frame`.
3. Failure: BSDR API accesible (@test-bsdr.R#9) --------------------------------
3. Failure: BSDR API accessible (@test-bsdr.R#9) --------------------------------
nrow(df1) <= nrow(df2) isn't true.
Expand All @@ -202,9 +202,9 @@
testthat results ================================================================
OK: 23 SKIPPED: 0 FAILED: 4
1. Failure: BSDR API accesible (@test-bsdr.R#6)
2. Failure: BSDR API accesible (@test-bsdr.R#8)
3. Failure: BSDR API accesible (@test-bsdr.R#9)
1. Failure: BSDR API accessible (@test-bsdr.R#6)
2. Failure: BSDR API accessible (@test-bsdr.R#8)
3. Failure: BSDR API accessible (@test-bsdr.R#9)
4. Failure: CME SDR file parses (@test-cme.R#22)
Error: testthat unit tests failed
Expand Down Expand Up @@ -233,15 +233,15 @@
> library(dataonderivatives)
>
> test_check("dataonderivatives")
1. Failure: BSDR API accesible (@test-bsdr.R#6) --------------------------------
1. Failure: BSDR API accessible (@test-bsdr.R#6) --------------------------------
`df1` inherits from `NULL` not `data.frame`.
2. Failure: BSDR API accesible (@test-bsdr.R#8) --------------------------------
2. Failure: BSDR API accessible (@test-bsdr.R#8) --------------------------------
`df2` inherits from `NULL` not `data.frame`.
3. Failure: BSDR API accesible (@test-bsdr.R#9) --------------------------------
3. Failure: BSDR API accessible (@test-bsdr.R#9) --------------------------------
nrow(df1) <= nrow(df2) isn't true.
Expand All @@ -251,9 +251,9 @@
testthat results ================================================================
OK: 23 SKIPPED: 0 FAILED: 4
1. Failure: BSDR API accesible (@test-bsdr.R#6)
2. Failure: BSDR API accesible (@test-bsdr.R#8)
3. Failure: BSDR API accesible (@test-bsdr.R#9)
1. Failure: BSDR API accessible (@test-bsdr.R#6)
2. Failure: BSDR API accessible (@test-bsdr.R#8)
3. Failure: BSDR API accessible (@test-bsdr.R#9)
4. Failure: CME SDR file parses (@test-cme.R#22)
Error: testthat unit tests failed
Expand Down Expand Up @@ -282,15 +282,15 @@
> library(dataonderivatives)
>
> test_check("dataonderivatives")
1. Failure: BSDR API accesible (@test-bsdr.R#6) --------------------------------
1. Failure: BSDR API accessible (@test-bsdr.R#6) --------------------------------
`df1` inherits from `NULL` not `data.frame`.
2. Failure: BSDR API accesible (@test-bsdr.R#8) --------------------------------
2. Failure: BSDR API accessible (@test-bsdr.R#8) --------------------------------
`df2` inherits from `NULL` not `data.frame`.
3. Failure: BSDR API accesible (@test-bsdr.R#9) --------------------------------
3. Failure: BSDR API accessible (@test-bsdr.R#9) --------------------------------
nrow(df1) <= nrow(df2) isn't true.
Expand All @@ -300,9 +300,9 @@
testthat results ================================================================
OK: 23 SKIPPED: 0 FAILED: 4
1. Failure: BSDR API accesible (@test-bsdr.R#6)
2. Failure: BSDR API accesible (@test-bsdr.R#8)
3. Failure: BSDR API accesible (@test-bsdr.R#9)
1. Failure: BSDR API accessible (@test-bsdr.R#6)
2. Failure: BSDR API accessible (@test-bsdr.R#8)
3. Failure: BSDR API accessible (@test-bsdr.R#9)
4. Failure: CME SDR file parses (@test-cme.R#22)
Error: testthat unit tests failed
Expand Down
6 changes: 3 additions & 3 deletions tests/testthat/dataonderivatives-test/00check.log
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ Last 13 lines of output:

testthat results ================================================================
OK: 23 SKIPPED: 0 FAILED: 4
1. Failure: BSDR API accesible (@test-bsdr.R#6)
2. Failure: BSDR API accesible (@test-bsdr.R#8)
3. Failure: BSDR API accesible (@test-bsdr.R#9)
1. Failure: BSDR API accessible (@test-bsdr.R#6)
2. Failure: BSDR API accessible (@test-bsdr.R#8)
3. Failure: BSDR API accessible (@test-bsdr.R#9)
4. Failure: CME SDR file parses (@test-cme.R#22)

Error: testthat unit tests failed
Expand Down
12 changes: 6 additions & 6 deletions tests/testthat/dataonderivatives-test/tests/testthat.Rout.fail
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ Type 'q()' to quit R.
> library(dataonderivatives)
>
> test_check("dataonderivatives")
1. Failure: BSDR API accesible (@test-bsdr.R#6) --------------------------------
1. Failure: BSDR API accessible (@test-bsdr.R#6) --------------------------------
`df1` inherits from `NULL` not `data.frame`.


2. Failure: BSDR API accesible (@test-bsdr.R#8) --------------------------------
2. Failure: BSDR API accessible (@test-bsdr.R#8) --------------------------------
`df2` inherits from `NULL` not `data.frame`.


3. Failure: BSDR API accesible (@test-bsdr.R#9) --------------------------------
3. Failure: BSDR API accessible (@test-bsdr.R#9) --------------------------------
nrow(df1) <= nrow(df2) isn't true.


Expand All @@ -37,9 +37,9 @@ nrow(cme(lubridate::ymd(20161213), "FX")) > 0 isn't true.

testthat results ================================================================
OK: 23 SKIPPED: 0 FAILED: 4
1. Failure: BSDR API accesible (@test-bsdr.R#6)
2. Failure: BSDR API accesible (@test-bsdr.R#8)
3. Failure: BSDR API accesible (@test-bsdr.R#9)
1. Failure: BSDR API accessible (@test-bsdr.R#6)
2. Failure: BSDR API accessible (@test-bsdr.R#8)
3. Failure: BSDR API accessible (@test-bsdr.R#9)
4. Failure: CME SDR file parses (@test-cme.R#22)

Error: testthat unit tests failed
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/fixtures/checks/comparing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
Comparing 'spelling.Rout' to 'spelling.Rout.save' ...6,8d5
< Potential spelling errors:
< WORD FOUND IN
< programatically NEWS.md:14
< programmatically NEWS.md:14
OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in 'inst/doc' ... OK
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-parse.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ cli::test_that_cli("test failures are captured", {
check <- parse_check(path)

expect_named(check$test_fail, "testthat")
expect_match(check$test_fail[[1]], "BSDR API accesible")
expect_match(check$test_fail[[1]], "BSDR API accessible")

expect_snapshot(
print(check)
Expand Down

0 comments on commit 2dfed0d

Please sign in to comment.