Skip to content

Commit a0a746a

Browse files
committed
test_select_with_null
1 parent b984324 commit a0a746a

File tree

2 files changed

+28
-15
lines changed

2 files changed

+28
-15
lines changed

tools/internal.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ walk_ast <- function(
1717

1818
if (is.symbol(fn)) {
1919
fn_name <- as.character(fn)
20-
if (fn_name %in% c("bquote", "$", "@", "test_select_with_null")) {
20+
if (fn_name %in% c("bquote", "$", "@")) {
2121
# Do nothing for NSE
2222
return()
2323
}

tools/missing_functions.Rmd

Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -379,20 +379,6 @@ function(ctx, dbObj) {
379379
<environment: namespace:DBItest>
380380
```
381381

382-
# try_silent (2)
383-
384-
`r d(DBItest:::try_silent)`
385-
386-
```r
387-
function(code) {
388-
tryCatch(
389-
code,
390-
error = function(e) NULL
391-
)
392-
}
393-
<environment: namespace:DBItest>
394-
```
395-
396382
# local_closed_connection (3)
397383

398384
`r d(DBItest:::local_closed_connection)`
@@ -419,6 +405,20 @@ function(ctx, ...) {
419405
<environment: namespace:DBItest>
420406
```
421407

408+
# try_silent (3)
409+
410+
`r d(DBItest:::try_silent)`
411+
412+
```r
413+
function(code) {
414+
tryCatch(
415+
code,
416+
error = function(e) NULL
417+
)
418+
}
419+
<environment: namespace:DBItest>
420+
```
421+
422422
# test_arrow_roundtrip_one (4)
423423

424424
`r d(DBItest:::test_arrow_roundtrip_one)`
@@ -642,6 +642,19 @@ function(code) {
642642
<environment: namespace:DBItest>
643643
```
644644

645+
# test_select_with_null (17)
646+
647+
`r d(DBItest:::test_select_with_null)`
648+
649+
```r
650+
function(...) {
651+
test_select(..., .add_null = "none")
652+
test_select(..., .add_null = "above")
653+
test_select(..., .add_null = "below")
654+
}
655+
<environment: namespace:DBItest>
656+
```
657+
645658
# check_arrow (18)
646659

647660
`r d(DBItest:::check_arrow)`

0 commit comments

Comments
 (0)