Skip to content

Commit

Permalink
Fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
richfitz committed Nov 6, 2024
1 parent b7453c4 commit a643367
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Suggests:
rmarkdown,
testthat,
withr
RoxygenNote: 7.2.3
RoxygenNote: 7.3.2
Roxygen: list(markdown = TRUE)
VignetteBuilder: knitr
Encoding: UTF-8
Expand Down
2 changes: 1 addition & 1 deletion R/schema.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
##' @description Interact with JSON schemas, using them to validate
##' json strings or serialise objects to JSON safely.
##'
##' This interface supercedes [jsonvalidate::json_schema] and changes
##' This interface supersedes [jsonvalidate::json_schema] and changes
##' some default arguments. While the old interface is not going
##' away any time soon, users are encouraged to switch to this
##' interface, which is what we will develop in the future.
Expand Down
4 changes: 2 additions & 2 deletions R/serialise.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
##' particular:
##'
##' * R has no scalar types so it is not clear if `1` should be
##' serialised as a number or a vector of length 1; jsonlite
##' serialised as a number or a vector of length 1; `jsonlite`
##' provides support for "automatically unboxing" such values
##' (assuming that length-1 vectors are scalars) or never unboxing
##' them unless asked to using [jsonlite::unbox]
Expand All @@ -20,7 +20,7 @@
##'
##' These issues are somewhat lessened when we have a schema because
##' we know what our target type looks like. This function attempts
##' to use the schema to guide serialsation of json safely. Currently
##' to use the schema to guide serialisation of json safely. Currently
##' it only supports detecting the appropriate treatment of length-1
##' vectors, but we will expand functionality over time.
##'
Expand Down
4 changes: 2 additions & 2 deletions R/validate.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
##' scope this option if you want to quieten it within code you do
##' not control. Alternatively, setting the option
##' `jsonvalidate.no_note_imjv` to `FALSE` will print the message
##' even noninteractively.
##' even non-interactively.
##'
##' Updating the engine should be simply a case of adding `engine
##' = "ajv"` to your `json_validator` or `json_validate`
Expand Down Expand Up @@ -80,7 +80,7 @@
##'
##' @return A function that can be used to validate a
##' schema. Additionally, the function has two attributes assigned:
##' `v8` which is the javascript context (used internally) and
##' `v8` which is the JavaScript context (used internally) and
##' `engine`, which contains the name of the engine used.
##'
##' @export
Expand Down
4 changes: 4 additions & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
CMD
R's
ajv
arg
codecov
deserialise
imjv
io
js
Expand All @@ -10,3 +13,4 @@ metaschema
org
ropensci
subschema
unboxable
2 changes: 1 addition & 1 deletion man/json_schema.Rd

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

4 changes: 2 additions & 2 deletions man/json_serialise.Rd

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

4 changes: 2 additions & 2 deletions man/json_validator.Rd

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

0 comments on commit a643367

Please sign in to comment.