If output is not a column/variable name, you would get this error. The result of the left_join() operation into the next step is an implicit data frame that does not need naming, but the variable/column within it does.
I was 40 before I discovered that I was mildly dyslexic, consistently transposing letters and numbers and being unable to review my work and detect the error. Because to me, the transposed version looked right. Once I became aware, I developed the habit of assuming that errors such as we see here are my errors of perception and learned to methodically trace back to where my transposition originated.
There’s no way to tell based solely on your example here if you are experiencing something similar but it’s worthwhile to keep your eyes open for the possibility. @nirgrahamuk spotted ouput because he doesn’t share the problem.
Thanks nigrahamuk and technocrat. Thanks for finding the error and correctly identifying my issue. I am aware for this issue in my general writing, but but using autofill - in spite of looking at this dozens of times - I didn't recognize ouput wasn't output.