diff --git a/LICENSE b/LICENSE index c4ac3ad8e..711d08072 100644 --- a/LICENSE +++ b/LICENSE @@ -1,2 +1,2 @@ -YEAR: 2018-2025 +YEAR: 2018-2026 COPYRIGHT HOLDER: Posit Software, PBC diff --git a/LICENSE.md b/LICENSE.md index cb6e4b8bc..d99941329 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ # MIT License -Copyright (c) 2018-2025 Posit Software, PBC +Copyright (c) 2018-2026 Posit Software, PBC Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/R/as_data_frame.R b/R/as_data_frame.R index c3621cc03..1da437a25 100644 --- a/R/as_data_frame.R +++ b/R/as_data_frame.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/build_data.R b/R/build_data.R index dcd00194d..fa663fae6 100644 --- a/R/build_data.R +++ b/R/build_data.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html @@ -98,10 +98,10 @@ build_data <- function(data, context) { # for vec_*() functions # only build the body correctly. build_data_body <- function(data, context) { - + data <- dt_body_build(data = data) data <- render_formats(data = data, skip_compat_check = TRUE, context = context) data <- migrate_unformatted_to_output(data = data, context = context) - + data } diff --git a/R/cols_add.R b/R/cols_add.R index 5f8ddedb7..93aaa455c 100644 --- a/R/cols_add.R +++ b/R/cols_add.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/cols_align.R b/R/cols_align.R index eda21224b..1eec39751 100644 --- a/R/cols_align.R +++ b/R/cols_align.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/cols_align_decimal.R b/R/cols_align_decimal.R index 0072995b0..bbddabd29 100644 --- a/R/cols_align_decimal.R +++ b/R/cols_align_decimal.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/cols_hide.R b/R/cols_hide.R index ef2688fbd..ac3e220a4 100644 --- a/R/cols_hide.R +++ b/R/cols_hide.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/cols_label.R b/R/cols_label.R index ffd4dfebb..111446a64 100644 --- a/R/cols_label.R +++ b/R/cols_label.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/cols_merge.R b/R/cols_merge.R index c4b0787f0..eb4411e49 100644 --- a/R/cols_merge.R +++ b/R/cols_merge.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/cols_move.R b/R/cols_move.R index a5ac90cc8..b95df4cf7 100644 --- a/R/cols_move.R +++ b/R/cols_move.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/cols_units.R b/R/cols_units.R index 8a87e1e0d..e6de389d1 100644 --- a/R/cols_units.R +++ b/R/cols_units.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/cols_width.R b/R/cols_width.R index 9afcb3755..53c14802a 100644 --- a/R/cols_width.R +++ b/R/cols_width.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/compile_scss.R b/R/compile_scss.R index d75677372..19c781e22 100644 --- a/R/compile_scss.R +++ b/R/compile_scss.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/data_color.R b/R/data_color.R index aa674e598..43acdf1da 100644 --- a/R/data_color.R +++ b/R/data_color.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/datasets.R b/R/datasets.R index d482ab121..ba814dd4e 100644 --- a/R/datasets.R +++ b/R/datasets.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/dt__.R b/R/dt__.R index d84b36566..29d74b37b 100644 --- a/R/dt__.R +++ b/R/dt__.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/dt_body.R b/R/dt_body.R index d95643032..64cd73b11 100644 --- a/R/dt_body.R +++ b/R/dt_body.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/dt_boxhead.R b/R/dt_boxhead.R index bf2b0663e..c729bd1af 100644 --- a/R/dt_boxhead.R +++ b/R/dt_boxhead.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/dt_cols_merge.R b/R/dt_cols_merge.R index d25d3a4fd..512d6469a 100644 --- a/R/dt_cols_merge.R +++ b/R/dt_cols_merge.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/dt_data.R b/R/dt_data.R index 29a2e8912..8e51a4dc0 100644 --- a/R/dt_data.R +++ b/R/dt_data.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/dt_footnotes.R b/R/dt_footnotes.R index 63832c474..aadca25fb 100644 --- a/R/dt_footnotes.R +++ b/R/dt_footnotes.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/dt_formats.R b/R/dt_formats.R index 80ae9fe9d..771017644 100644 --- a/R/dt_formats.R +++ b/R/dt_formats.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/dt_groups_rows.R b/R/dt_groups_rows.R index 8a397206e..2efd202c4 100644 --- a/R/dt_groups_rows.R +++ b/R/dt_groups_rows.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/dt_has_built.R b/R/dt_has_built.R index aca2e4f4e..4896ac9b3 100644 --- a/R/dt_has_built.R +++ b/R/dt_has_built.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/dt_heading.R b/R/dt_heading.R index 4ef89519a..9e39c9e3a 100644 --- a/R/dt_heading.R +++ b/R/dt_heading.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/dt_locale.R b/R/dt_locale.R index ad816d97a..8d400980b 100644 --- a/R/dt_locale.R +++ b/R/dt_locale.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/dt_options.R b/R/dt_options.R index 0a8ba2b4d..d324d5726 100644 --- a/R/dt_options.R +++ b/R/dt_options.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/dt_row_groups.R b/R/dt_row_groups.R index 2c491abed..fc7a06f70 100644 --- a/R/dt_row_groups.R +++ b/R/dt_row_groups.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/dt_source_notes.R b/R/dt_source_notes.R index ad15591ef..818859c6a 100644 --- a/R/dt_source_notes.R +++ b/R/dt_source_notes.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/dt_spanners.R b/R/dt_spanners.R index 38b1ca6ab..2689e2410 100644 --- a/R/dt_spanners.R +++ b/R/dt_spanners.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/dt_stub_df.R b/R/dt_stub_df.R index faac62b19..c163c4c16 100644 --- a/R/dt_stub_df.R +++ b/R/dt_stub_df.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html @@ -68,38 +68,38 @@ dt_stub_df_init <- function( # For multiple columns, we need to handle them as a hierarchy if (length(rowname_col) > 1) { - + # Set all columns as stub columns in the boxhead for (col in rowname_col) { data <- dt_boxhead_set_stub(data = data, var = col) } - + # Reorder the boxhead to match the order specified in rowname_col # This ensures stub columns appear in the order the user specified dt_boxhead <- dt_boxhead_get(data = data) - + # Split boxhead into stub and non-stub rows stub_rows <- dt_boxhead[dt_boxhead$var %in% rowname_col, ] non_stub_rows <- dt_boxhead[!dt_boxhead$var %in% rowname_col, ] - + # Reorder stub rows to match rowname_col order stub_rows <- stub_rows[match(rowname_col, stub_rows$var), ] - + # Combine: stub rows first (in specified order), then non-stub rows dt_boxhead <- rbind(stub_rows, non_stub_rows) rownames(dt_boxhead) <- NULL - + # Update the boxhead data <- dt_boxhead_set(data = data, boxh = dt_boxhead) - + # Use the rightmost column as the primary row ID rightmost_col <- rowname_col[length(rowname_col)] rownames <- data_tbl[[rightmost_col]] row_id <- create_unique_id_vals(rownames, simplify = process_md) - + # Place the `row_id` values into `stub_df$row_id` stub_df[["row_id"]] <- row_id - + } else { # Original single column logic data <- dt_boxhead_set_stub(data = data, var = rowname_col) diff --git a/R/dt_stubhead.R b/R/dt_stubhead.R index a5faabfc5..ff87098f5 100644 --- a/R/dt_stubhead.R +++ b/R/dt_stubhead.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/dt_styles.R b/R/dt_styles.R index 9a56c69d9..e6b7d54a7 100644 --- a/R/dt_styles.R +++ b/R/dt_styles.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/dt_substitutions.R b/R/dt_substitutions.R index 2e03e8deb..dfb4eaeaf 100644 --- a/R/dt_substitutions.R +++ b/R/dt_substitutions.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/dt_summary.R b/R/dt_summary.R index d6594c5df..b9d947b3e 100644 --- a/R/dt_summary.R +++ b/R/dt_summary.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/dt_summary_cols.R b/R/dt_summary_cols.R index 6e212f8d1..33bf65eea 100644 --- a/R/dt_summary_cols.R +++ b/R/dt_summary_cols.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/dt_transforms.R b/R/dt_transforms.R index ff9922132..d1ffdcf42 100644 --- a/R/dt_transforms.R +++ b/R/dt_transforms.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/export.R b/R/export.R index 103de1a20..bcdd3aaa6 100644 --- a/R/export.R +++ b/R/export.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/extract.R b/R/extract.R index a7e43fcb2..171718335 100644 --- a/R/extract.R +++ b/R/extract.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/fmt.R b/R/fmt.R index 962036405..96701a38d 100644 --- a/R/fmt.R +++ b/R/fmt.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html @@ -615,7 +615,7 @@ format_num_to_str <- function( # threshold=2: 10^4 (10000, 5 digits) # threshold=3: 10^5 (100000, 6 digits) magnitude_threshold <- 10^(min_sep_threshold + 2) - + # Format all values first to determine their rounded magnitudes # We need to check rounded values because 999.5 with 0 decimals becomes "1000" # Suppress warnings when both big.mark and decimal.mark are empty strings @@ -632,7 +632,7 @@ format_num_to_str <- function( decimal.mark = dec_mark ) ) - + # Parse formatted strings to get rounded magnitudes # Handle both empty and non-empty dec_mark if (nzchar(dec_mark)) { @@ -640,15 +640,15 @@ format_num_to_str <- function( } else { x_rounded <- suppressWarnings(as.numeric(x_str_test)) } - + # Determine which values should have separators based on rounded magnitude should_use_sep <- abs(x_rounded) >= magnitude_threshold - + # Format values below threshold without separators (reuse test formatting) if (any(!should_use_sep, na.rm = TRUE)) { x_str_no_sep <- x_str_test[!should_use_sep] } - + # Format values at or above threshold with separators # Suppress warnings when both big.mark and decimal.mark are empty strings if (any(should_use_sep, na.rm = TRUE)) { @@ -666,7 +666,7 @@ format_num_to_str <- function( ) ) } - + # Combine the results x_str <- character(length(x)) if (any(!should_use_sep, na.rm = TRUE)) { @@ -675,7 +675,7 @@ format_num_to_str <- function( if (any(should_use_sep, na.rm = TRUE)) { x_str[should_use_sep] <- x_str_sep } - + } else { # No min_sep_threshold, use original behavior with separators # Suppress warnings when both big.mark and decimal.mark are empty strings diff --git a/R/fmt_date_time.R b/R/fmt_date_time.R index a7241504c..9b70ceaed 100644 --- a/R/fmt_date_time.R +++ b/R/fmt_date_time.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/fmt_number.R b/R/fmt_number.R index 59ada8971..1472269ca 100644 --- a/R/fmt_number.R +++ b/R/fmt_number.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/format_data.R b/R/format_data.R index 346f5958b..4dd5b9dc2 100644 --- a/R/format_data.R +++ b/R/format_data.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/format_vec.R b/R/format_vec.R index 86daa74eb..2350eccdf 100644 --- a/R/format_vec.R +++ b/R/format_vec.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/gt-package.R b/R/gt-package.R index b5a422b63..4991e501d 100644 --- a/R/gt-package.R +++ b/R/gt-package.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/gt.R b/R/gt.R index f1fcc2519..75f0da034 100644 --- a/R/gt.R +++ b/R/gt.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/gt_group.R b/R/gt_group.R index a75c98594..3a84b233a 100644 --- a/R/gt_group.R +++ b/R/gt_group.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/gt_preview.R b/R/gt_preview.R index 48b0820e9..08d276d58 100644 --- a/R/gt_preview.R +++ b/R/gt_preview.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/gt_split.R b/R/gt_split.R index a56d22215..73d072b6b 100644 --- a/R/gt_split.R +++ b/R/gt_split.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/gtsave.R b/R/gtsave.R index ca1386ecf..5cba3c709 100644 --- a/R/gtsave.R +++ b/R/gtsave.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/helpers.R b/R/helpers.R index df22c2439..70983e54d 100644 --- a/R/helpers.R +++ b/R/helpers.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/image.R b/R/image.R index 07394d584..153d2dd38 100644 --- a/R/image.R +++ b/R/image.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/info_tables.R b/R/info_tables.R index 68192d57b..439fbd97c 100644 --- a/R/info_tables.R +++ b/R/info_tables.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/knitr-utils.R b/R/knitr-utils.R index 8008d70b7..b8dcb3192 100644 --- a/R/knitr-utils.R +++ b/R/knitr-utils.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html @@ -23,7 +23,7 @@ # The functions below are adapted from the knitr package # (https://github.com/yihui/knitr), which is licensed under GPL-2 or later. -# Copyright (c) 2012-2025 Yihui Xie +# Copyright (c) 2012-2026 Yihui Xie # Original source: https://github.com/yihui/knitr/blob/main/R/utils.R # # These functions are copies of unexported functions from knitr and are diff --git a/R/location_methods.R b/R/location_methods.R index 017db11d6..793018ff3 100644 --- a/R/location_methods.R +++ b/R/location_methods.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/modify_rows.R b/R/modify_rows.R index 728f85360..16208735d 100644 --- a/R/modify_rows.R +++ b/R/modify_rows.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/nanoplot.R b/R/nanoplot.R index f958f302b..1121e3162 100644 --- a/R/nanoplot.R +++ b/R/nanoplot.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/opts.R b/R/opts.R index 7435f9bc7..83be71e85 100644 --- a/R/opts.R +++ b/R/opts.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/print.R b/R/print.R index aa1d78522..6ad107cab 100644 --- a/R/print.R +++ b/R/print.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/quarto.R b/R/quarto.R index b170675e9..4980a9338 100644 --- a/R/quarto.R +++ b/R/quarto.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/reexports.R b/R/reexports.R index c5f088db7..4226250e8 100644 --- a/R/reexports.R +++ b/R/reexports.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/render_as_html.R b/R/render_as_html.R index 9f8ed38f4..d3a15c17c 100644 --- a/R/render_as_html.R +++ b/R/render_as_html.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/render_as_i_html.R b/R/render_as_i_html.R index 122276ce7..b295b73d4 100644 --- a/R/render_as_i_html.R +++ b/R/render_as_i_html.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/resolver.R b/R/resolver.R index ce7d6ea17..04fac34cc 100644 --- a/R/resolver.R +++ b/R/resolver.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html @@ -436,11 +436,11 @@ resolve_cols_i <- function( stub_var <- dt_boxhead_get_var_stub(data = data) if (!is.null(stub_var) && !all(is.na(stub_var))) { - + # Evaluate the stub() expression to get the column parameter if any stub_result <- rlang::eval_tidy(quo) column_idx <- attr(stub_result, "column") - + # If column index is specified, select that specific stub column # (1 = rightmost, 2 = second from right, etc.) if (!is.null(column_idx)) { @@ -450,7 +450,7 @@ resolve_cols_i <- function( "The {.arg column} argument in {.fn stub} must be a single positive integer." ) } - + # Check if the requested column exists if (column_idx > length(stub_var)) { cli::cli_abort(c( @@ -458,13 +458,13 @@ resolve_cols_i <- function( "i" = "This table has {length(stub_var)} stub column{?s}." )) } - + # Select from right to left (1 = rightmost) selected_stub_var <- stub_var[length(stub_var) - column_idx + 1] stub_col <- 1 names(stub_col) <- selected_stub_var return(stub_col) - + } else { # No column specified, return all stub columns stub_col <- seq_along(stub_var) diff --git a/R/rows_add.R b/R/rows_add.R index 85e8aace8..6a64ecc98 100644 --- a/R/rows_add.R +++ b/R/rows_add.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/shiny.R b/R/shiny.R index 7d200f696..f5b64f94e 100644 --- a/R/shiny.R +++ b/R/shiny.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/substitution.R b/R/substitution.R index 450467643..9d6e95147 100644 --- a/R/substitution.R +++ b/R/substitution.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/summary_columns.R b/R/summary_columns.R index 6032c1a1a..e4d8d080b 100644 --- a/R/summary_columns.R +++ b/R/summary_columns.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/summary_rows.R b/R/summary_rows.R index e4ea8252e..bd6c8bc29 100644 --- a/R/summary_rows.R +++ b/R/summary_rows.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/tab_create_modify.R b/R/tab_create_modify.R index 462821ac3..d03c4675e 100644 --- a/R/tab_create_modify.R +++ b/R/tab_create_modify.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html @@ -1774,10 +1774,10 @@ tab_row_group <- function( #' #' `vector` // **required** #' -#' The text to be used as the stubhead label(s). For tables with multi-column -#' stubs, you can provide either a single label that spans all stub columns, or -#' a vector of labels with one label for each stub column. We can optionally use -#' [md()] or [html()] to style the text as Markdown or to retain HTML elements +#' The text to be used as the stubhead label(s). For tables with multi-column +#' stubs, you can provide either a single label that spans all stub columns, or +#' a vector of labels with one label for each stub column. We can optionally use +#' [md()] or [html()] to style the text as Markdown or to retain HTML elements #' in the text. #' #' @return An object of class `gt_tbl`. @@ -1914,7 +1914,7 @@ tab_stubhead <- function( # Validate the label parameter for multi-column stubs stub_vars <- dt_boxhead_get_var_stub(data = data) - + if (length(stub_vars) > 1 && !any(is.na(stub_vars))) { # Multi-column stub case if (length(label) > 1) { diff --git a/R/tab_footnote.R b/R/tab_footnote.R index 579ce0418..96900a04c 100644 --- a/R/tab_footnote.R +++ b/R/tab_footnote.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/tab_info.R b/R/tab_info.R index eded405d8..57eb3dbf1 100644 --- a/R/tab_info.R +++ b/R/tab_info.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/tab_options.R b/R/tab_options.R index 64a874a83..ae278c2ea 100644 --- a/R/tab_options.R +++ b/R/tab_options.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/tab_remove.R b/R/tab_remove.R index 9bb587d06..0e33fada6 100644 --- a/R/tab_remove.R +++ b/R/tab_remove.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/tab_style.R b/R/tab_style.R index 5c61462c8..69a53c781 100644 --- a/R/tab_style.R +++ b/R/tab_style.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html @@ -847,11 +847,11 @@ set_style.cells_stub <- function(loc, data, style) { # Get all stub variables for reference stub_vars <- dt_boxhead_get_var_stub(data = data) - - # Check if this is traditional usage (no columns parameter) + + # Check if this is traditional usage (no columns parameter) # vs. new usage (explicit columns parameter provided) is_traditional_usage <- is.null(loc$columns) - + if (is_traditional_usage) { # For backward compatibility: traditional cells_stub() usage without columns parameter # Use the original "stub" locname for compatibility with existing code @@ -873,7 +873,7 @@ set_style.cells_stub <- function(loc, data, style) { columns <- stub_vars } } - + # Apply styling to each specified stub column using stub_column locname for (col in columns) { data <- diff --git a/R/tab_style_body.R b/R/tab_style_body.R index f770111fd..308ae9190 100644 --- a/R/tab_style_body.R +++ b/R/tab_style_body.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/text_transform.R b/R/text_transform.R index 72b92a361..fba55e97c 100644 --- a/R/text_transform.R +++ b/R/text_transform.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/topics.R b/R/topics.R index 97a4246ba..e2a00c735 100644 --- a/R/topics.R +++ b/R/topics.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/utils.R b/R/utils.R index 17657b5fd..f5adba637 100644 --- a/R/utils.R +++ b/R/utils.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/utils_color_contrast.R b/R/utils_color_contrast.R index 48fe40182..719f2e3ff 100644 --- a/R/utils_color_contrast.R +++ b/R/utils_color_contrast.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/utils_environments.R b/R/utils_environments.R index 89f445f80..18f478288 100644 --- a/R/utils_environments.R +++ b/R/utils_environments.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/utils_examples.R b/R/utils_examples.R index 542afacc1..8f789a2bb 100644 --- a/R/utils_examples.R +++ b/R/utils_examples.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/utils_general_str_formatting.R b/R/utils_general_str_formatting.R index 71e3cd3be..cc945aa11 100644 --- a/R/utils_general_str_formatting.R +++ b/R/utils_general_str_formatting.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/utils_plots.R b/R/utils_plots.R index 63fbc3255..3759495fd 100644 --- a/R/utils_plots.R +++ b/R/utils_plots.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/utils_render_common.R b/R/utils_render_common.R index fd3846239..4b927bf31 100644 --- a/R/utils_render_common.R +++ b/R/utils_render_common.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html @@ -842,13 +842,13 @@ summary_row_side <- function(data, group_id) { # Get the number of columns in the stub for layout purposes get_stub_column_count <- function(data) { - + stub_layout <- get_stub_layout(data = data) - + if (is.null(stub_layout)) { return(0) } - + # Check if we have "rowname" in the layout if ("rowname" %in% stub_layout) { # Check if there are multiple stub columns @@ -859,7 +859,7 @@ get_stub_column_count <- function(data) { return(length(stub_vars) + group_count) } } - + # Default: return the length of the layout (original behavior) return(length(stub_layout)) } diff --git a/R/utils_render_grid.R b/R/utils_render_grid.R index 3a072e9ab..8908214ae 100644 --- a/R/utils_render_grid.R +++ b/R/utils_render_grid.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/utils_render_html.R b/R/utils_render_html.R index a1bf25868..0e4f16cd4 100644 --- a/R/utils_render_html.R +++ b/R/utils_render_html.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html @@ -2495,7 +2495,7 @@ calculate_hierarchical_stub_rowspans <- function(data) { # Must match current column value (handle NAs properly) curr_val <- col_values[row_idx] prev_val <- col_values[row_idx - 1] - + # Two values match if they're both identical or both NA if (!identical(curr_val, prev_val)) { should_continue_span <- FALSE diff --git a/R/utils_render_latex.R b/R/utils_render_latex.R index 9890b80e7..ad34f7ec0 100644 --- a/R/utils_render_latex.R +++ b/R/utils_render_latex.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/utils_render_rtf.R b/R/utils_render_rtf.R index d1eec470f..d27cb158a 100644 --- a/R/utils_render_rtf.R +++ b/R/utils_render_rtf.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html @@ -1236,7 +1236,7 @@ create_columns_component_rtf <- function(data) { stub_vars <- dt_boxhead_get_var_stub(data = data) has_multi_column_stub <- length(stub_vars) > 1 && !any(is.na(stub_vars)) has_multiple_labels <- has_multi_column_stub && length(stubh$label) > 1 - + if (has_multiple_labels) { # Add individual headers for each stub column headings_labels <- prepend_vec(headings_labels, stubh$label) @@ -1267,7 +1267,7 @@ create_columns_component_rtf <- function(data) { stub_vars <- dt_boxhead_get_var_stub(data = data) has_multi_column_stub <- length(stub_vars) > 1 && !any(is.na(stub_vars)) has_multiple_labels <- has_multi_column_stub && length(stubh$label) > 1 - + # Only merge if we have a single label spanning multiple columns if (!has_multiple_labels && length(stub_layout) > 1) { # Create merge keys for the stub columns @@ -1495,19 +1495,19 @@ create_body_component_rtf <- function(data) { # Apply hierarchical stub merging for multiple stub columns # (hide repeated values in all columns except the rightmost) has_stub_column <- "rowname" %in% stub_layout - + if (has_stub_column) { stub_vars <- dt_boxhead_get_var_stub(data = data) - + if (length(stub_vars) > 1 && !any(is.na(stub_vars))) { # Get original body data to check for consecutive repeating values original_body <- dt_data_get(data = data) - + # Process all stub columns except the rightmost one hierarchy_vars <- stub_vars[-length(stub_vars)] stub_matrix <- as.matrix(original_body[, hierarchy_vars, drop = FALSE]) - + # Determine which columns to hide based on hierarchical grouping for (col_idx in seq_along(hierarchy_vars)) { @@ -1516,15 +1516,15 @@ create_body_component_rtf <- function(data) { if ("group_label" %in% stub_layout) { matrix_col_idx <- col_idx + 1 } - + for (row_idx in 2:n_rows) { should_hide <- TRUE - + # Check if current value matches previous value if (stub_matrix[row_idx, col_idx] != stub_matrix[row_idx - 1, col_idx]) { should_hide <- FALSE } - + # Also check that all columns to the left match if (should_hide && col_idx > 1) { for (left_col_idx in 1:(col_idx - 1)) { @@ -1534,7 +1534,7 @@ create_body_component_rtf <- function(data) { } } } - + # Hide the value by making it empty if conditions are met if (should_hide) { cell_matrix[[row_idx, matrix_col_idx]] <- "" diff --git a/R/utils_render_xml.R b/R/utils_render_xml.R index ea9e110d6..ca89da601 100644 --- a/R/utils_render_xml.R +++ b/R/utils_render_xml.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/utils_units.R b/R/utils_units.R index 5340d3612..fed5da672 100644 --- a/R/utils_units.R +++ b/R/utils_units.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/z_utils_render_footnotes.R b/R/z_utils_render_footnotes.R index 2f9a5a0f3..752f3ab04 100644 --- a/R/z_utils_render_footnotes.R +++ b/R/z_utils_render_footnotes.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html diff --git a/R/zzz.R b/R/zzz.R index 5273979db..e2d02b3e6 100644 --- a/R/zzz.R +++ b/R/zzz.R @@ -14,7 +14,7 @@ # # This file is part of the 'rstudio/gt' project. # -# Copyright (c) 2018-2025 gt authors +# Copyright (c) 2018-2026 gt authors # # For full copyright and license information, please look at # https://gt.rstudio.com/LICENSE.html