Skip to content

Commit af485d9

Browse files
committed
inspire_grid: include include_rat in ignored-args check and update warning message
1 parent 24e3f20 commit af485d9

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

R/inspire_grid.R

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,11 +349,12 @@ inspire_grid.character <- function(
349349
isTRUE(use_convex_hull) ||
350350
buffer_m != 0 ||
351351
parallel != "auto" ||
352-
!is.null(max_memory_gb)
352+
!is.null(max_memory_gb) ||
353+
isTRUE(include_rat)
353354
) {
354355
warning(
355-
"Arguments 'cellsize_m', 'clip_to_input', 'use_convex_hull', ",
356-
"'buffer_m', 'parallel', and 'max_memory_gb' are ignored for INSPIRE ID reconstruction.",
356+
"Arguments 'cellsize_m', 'clip_to_input', 'use_convex_hull', 'buffer_m', ",
357+
"'parallel', 'max_memory_gb', and 'include_rat' are ignored for INSPIRE ID reconstruction.",
357358
call. = FALSE
358359
)
359360
}

0 commit comments

Comments
 (0)