Skip to content

Commit c5a8276

Browse files
Typo in developer FAQ (#1836)
* Typo in developer FAQ * Document --------- Co-authored-by: Davis Vaughan <[email protected]>
1 parent 5852e42 commit c5a8276

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

man/faq/developer/howto-coercion.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ knitr_local_registration("vctrs::vec_ptype2", "double.my_natural")
168168

169169
Most of the time, inputs are incompatible because they have different classes for which no `vec_ptype2()` method is implemented. More rarely, inputs could be incompatible because of their attributes. In that case incompatibility is signalled by calling `stop_incompatible_type()`.
170170

171-
In the following example, we implement a self-self ptype2 method for a hypothetical subclass of `<factor>` that has stricter combination semantics. The method throws when the levels of the two factors are not compatible.
171+
In the following example, we implement a self-self ptype2 method for a hypothetical subclass of `<factor>` that has stricter combination semantics. The method throws an error when the levels of the two factors are not compatible.
172172

173173
```{r, eval = FALSE}
174174
#' @export

man/howto-faq-coercion.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)