Skip to content

Commit 140490c

Browse files
committed
use utils::tail
1 parent 87e31a6 commit 140490c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/utils.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
gff_lines <- readLines(file, n = 50)
4646
genome_line <- grepv("genome-build-id", gff_lines)
4747
gnm <- strsplit(genome_line, ":\\s+")[[1L]] |>
48-
tail(n = 1L) |>
48+
utils::tail(n = 1L) |>
4949
trimws()
5050
if (!length(gnm))
5151
NA_character_

0 commit comments

Comments
 (0)