Skip to content

Commit 7a04219

Browse files
committed
Add variable inits to suppress R CMD check notes
1 parent 0c30ea4 commit 7a04219

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

R/info_tables.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1431,6 +1431,8 @@ info_tf_style <- function(locale = NULL) {
14311431
#' @export
14321432
info_flags <- function() {
14331433

1434+
countrypops <- country_name <- country_code_2 <- flag <- NULL
1435+
14341436
countrypops |>
14351437
dplyr::select(country_name, country_code_2) |>
14361438
dplyr::distinct() |>
@@ -1541,6 +1543,8 @@ info_flags <- function() {
15411543
#' @export
15421544
info_icons <- function() {
15431545

1546+
icon <- full_name <- NULL
1547+
15441548
fa_icons_vec <- readRDS(file = system_file("gt_tables/fa_icons_vec.rds"))
15451549

15461550
icons_tbl_gt <-
@@ -1641,6 +1645,8 @@ info_icons <- function() {
16411645
#' @export
16421646
info_unit_conversions <- function() {
16431647

1648+
from <- NULL
1649+
16441650
conversions_tbl <-
16451651
conversion_factors |>
16461652
dplyr::distinct(type, from) |>

0 commit comments

Comments
 (0)