Skip to content

Commit c9e8abe

Browse files
committed
chore: Adapt script
1 parent 49f1b9d commit c9e8abe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/80-unsupported.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
check_r_script <- function(path) {
22
lines <- readLines(path)
33

4-
not_implemented <- any(grepl("No relational implementation for ", lines))
4+
not_implemented <- any(grepl("No relational implementation for |instead of ..code group_by... and ..code ungroup...", lines))
55

66
if (not_implemented) {
77
return(tools::file_path_sans_ext(basename(path)))
@@ -22,10 +22,10 @@ lines <- c(
2222
"#' Verbs not implemented in duckplyr",
2323
"#'",
2424
"#' The following dplyr generics have no counterpart method in duckplyr.",
25-
"#' If you want to help add a new verb, ",
25+
"#' If you want to help add a new verb,",
2626
"#' please refer to our contributing guide <https://duckplyr.tidyverse.org/CONTRIBUTING.html#support-new-verbs>",
27-
"#' @rdname not-supported",
28-
"#' @name not-supported",
27+
"#' @rdname unsupported",
28+
"#' @name unsupported",
2929
"#' @section Unsupported verbs:",
3030
"#' For these verbs, duckplyr will fall back to dplyr.",
3131
paste(paste0("#' - [", not_implemented, "()]"), collapse = "\n"),

0 commit comments

Comments
 (0)