I cannot comment, but I would like to add some important information : when rendering with Quarto, add the following piece of code to the table definition
gt::tab_options(quarto.disable_processing=TRUE)
without this part, the table is rendered weirdly (see below)