-
Notifications
You must be signed in to change notification settings - Fork 218
Closed
Milestone
Description
I am using a package (modelsummary) that returns a gt table - but sometimes includes source notes that I don't need. I am trying to remove them in post-processing, but so far it appears that I can only do that by calling gt:::dt_source_notes_set(""). That is good enough for interactive use, but I am in the process of moving that function into a package - where I obviously don't want to rely on unexported functions.
Is there already a way to remove/reset source notes that I am overlooking? Otherwise, could that be provided? Maybe an 'overwrite'/replace option in tab_source_note()? While my use case is admittedly rather specific, it does not seem unlikely that people might want to update source notes in an existing table ...
Metadata
Metadata
Assignees
Type
Projects
Status
Done