Commit c20190c
committed
Fix crash when callr option default is NULL
Dev callr (about to be submitted to CRAN) has changed the default
value of one of its options to `NULL`. This makes the checked
package fail `R CMD check`. This PR fixes that.
`NULL != bquote()` returns `logical(0)` instead of `TRUE`, causing
`vapply()` to error. Use `!identical(x, bquote())` which correctly
returns a scalar logical for any value including NULL.1 parent 2529cbd commit c20190c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
0 commit comments