Error in add_interaction_vars_to_data(., interaction_vars, .data) :
unused argument (.data)
If I just use add_interaction_vars_to_data(interaction_vars, .) it works, but R CMD check throws a warning/note. Judging by this error containing a dot already, maybe I could edit the add_interaction_vars_to_data function to accept arguments (data, interaction_vars) and the dot will automatically be passing the dot forward? If yes, then I'll need to change the code elsewhere in the function that calls add_interaction_vars_to_data to reflect the change of argument order. Maybe a good idea to call functions not reliant on order?
If I just use
add_interaction_vars_to_data(interaction_vars, .)
it works, but R CMD check throws a warning/note. Judging by this error containing a dot already, maybe I could edit the add_interaction_vars_to_data function to accept arguments(data, interaction_vars)
and the dot will automatically be passing the dot forward? If yes, then I'll need to change the code elsewhere in the function that calls add_interaction_vars_to_data to reflect the change of argument order. Maybe a good idea to call functions not reliant on order?