The problem is that the alignment tags are designated within dust. If the column alignment is changed through dust_head_halign, there is no modification of the tags in the table body.
It would be better to assign NA to the alignment tags in dust and then replace any NA with the default alignment tag within the print method instead. That way the alignments will propagate in HTML and LaTeX tables. (this bug doesn't affect markdown because markdown doesn't recognize cell specific alignment.)
The problem is that the alignment tags are designated within
dust
. If the column alignment is changed throughdust_head_halign
, there is no modification of the tags in the table body.It would be better to assign
NA
to the alignment tags indust
and then replace anyNA
with the default alignment tag within theprint
method instead. That way the alignments will propagate in HTML and LaTeX tables. (this bug doesn't affect markdown because markdown doesn't recognize cell specific alignment.)