I came across a user whose profile lists that he wrote a package. It seems that a long time ago he was only active answering questions about that package or suggesting that package as a solution to some problems, but he didn't mention his affiliation. Now he's become very active answering many questions (and giving good answers). So I don't think he's actively spamming.
Nevertheless, I thought that not disclosing affiliation constituted spam, particularly when suggesting some package that wasn't in the original question. I flagged it. I didn't see an option to explain why I thought it was spam, so it may not have been obvious to the moderator that the answerer wrote the package. My flag was declined. As I read more on it, it seems this should be spam: from how to not be a spammer "you must disclose your affiliation in your answers."
So for future reference,
- if I see a question that says "how do I do X?"
- and the answer is "package Y does that"
- the answerer is the author of package Y
- the answerer discloses this in his profile but not in the answer
- the answer is correct
Should I flag it?
(I am intentionally not linking to the question.)