I don't know the purpose intent of your code.
but the error is directly from your not respecting the parameters that assign can take. You could perhaps draw your own attention to what the parameters are and how they should be used by explicitly using their names, rather than passing by position.
Usage
i.e. if you want some name x and some value, make it clear what they are.
assign(x="name_i_want",
value=paste0("text",123))
sidenote, it seems suspect to be mixing base aggregate with dplyr's mutate. if you are a dplyr user why not group by and summarise ?
final comment, recycle0 default is false, so you can skip specifying it and make your code shorter in that way.