Skip to content

Commit a643367

Browse files
committed
Fix spelling
1 parent b7453c4 commit a643367

File tree

8 files changed

+15
-11
lines changed

8 files changed

+15
-11
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Suggests:
2929
rmarkdown,
3030
testthat,
3131
withr
32-
RoxygenNote: 7.2.3
32+
RoxygenNote: 7.3.2
3333
Roxygen: list(markdown = TRUE)
3434
VignetteBuilder: knitr
3535
Encoding: UTF-8

R/schema.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
##' @description Interact with JSON schemas, using them to validate
66
##' json strings or serialise objects to JSON safely.
77
##'
8-
##' This interface supercedes [jsonvalidate::json_schema] and changes
8+
##' This interface supersedes [jsonvalidate::json_schema] and changes
99
##' some default arguments. While the old interface is not going
1010
##' away any time soon, users are encouraged to switch to this
1111
##' interface, which is what we will develop in the future.

R/serialise.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
##' particular:
66
##'
77
##' * R has no scalar types so it is not clear if `1` should be
8-
##' serialised as a number or a vector of length 1; jsonlite
8+
##' serialised as a number or a vector of length 1; `jsonlite`
99
##' provides support for "automatically unboxing" such values
1010
##' (assuming that length-1 vectors are scalars) or never unboxing
1111
##' them unless asked to using [jsonlite::unbox]
@@ -20,7 +20,7 @@
2020
##'
2121
##' These issues are somewhat lessened when we have a schema because
2222
##' we know what our target type looks like. This function attempts
23-
##' to use the schema to guide serialsation of json safely. Currently
23+
##' to use the schema to guide serialisation of json safely. Currently
2424
##' it only supports detecting the appropriate treatment of length-1
2525
##' vectors, but we will expand functionality over time.
2626
##'

R/validate.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
##' scope this option if you want to quieten it within code you do
2222
##' not control. Alternatively, setting the option
2323
##' `jsonvalidate.no_note_imjv` to `FALSE` will print the message
24-
##' even noninteractively.
24+
##' even non-interactively.
2525
##'
2626
##' Updating the engine should be simply a case of adding `engine
2727
##' = "ajv"` to your `json_validator` or `json_validate`
@@ -80,7 +80,7 @@
8080
##'
8181
##' @return A function that can be used to validate a
8282
##' schema. Additionally, the function has two attributes assigned:
83-
##' `v8` which is the javascript context (used internally) and
83+
##' `v8` which is the JavaScript context (used internally) and
8484
##' `engine`, which contains the name of the engine used.
8585
##'
8686
##' @export

inst/WORDLIST

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
CMD
2+
R's
13
ajv
24
arg
35
codecov
6+
deserialise
47
imjv
58
io
69
js
@@ -10,3 +13,4 @@ metaschema
1013
org
1114
ropensci
1215
subschema
16+
unboxable

man/json_schema.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/json_serialise.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/json_validator.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)