range_write: Allow modifying a single cell by providing an atomic value or a row/column with a vector instead of only accepting dataframes? #162
Labels
feature
a feature request or enhancement
When I want to modify a single cell in a google sheet to the digit 5, I have to use
range_write(data = data.frame(meaninglessname = 5), col_names = FALSE)
and provide a data.frame with one value in it.It would be useful if I could provide
data = 5
to modify a single cell, ordata = 1:5
to modify 5 cells in a row/column.I generally understand the beauty of keeping arguments consistent in type and not trying to be clever, but since the
ss
andrange
arguments already allow variation and are trying to be as useful as possible to the user, this seems like another useful feature.The text was updated successfully, but these errors were encountered: