Hi, I've been trying to create a table using the gt package. I am using the following article as guidance: https://gt.rstudio.com/articles/intro-creating-gt-tables.html
I tried to recreate what the authors did exactly, using the Island data (same as the authors)
islands_tbl <- dplyr::tibble( name = names(islands), size = islands ) %>% dplyr::arrange(desc(size)) %>% dplyr::slice(1:10) islands_tbl gt_tbl <- gt(data = islands_tbl) # Show the gt Table gt_tbl
But I get this error:
Error in gt(data = islands_tbl) : unused argument (data = islands_tbl)
Any help is greatly appreciated!