gt() is remarkably flexible, but I'm having trouble coming up with a way to use color to draw attention to values evaluated row-wise, as opposed to column-wise, which seems straightforward.
My analysis creates a data set with rows of characteristics and columns for tests done over a variable number of years. It's important the data is presented in this format.
What I would like to do is highlight the maximum value in each row, bearing in mind that the number of columns (i.e., the years) can vary from one analysis to the next. In the example below there are 3 years of data, but in another analysis there may be many more.