(Reposted and deleted from Meta Stack Exchange)
The [r] tag gets a lot of questions of the form "is there a package to do XXX in R?" (for example, this recent question) - possibly because R is a DSL and many of its users are focused on data analysis goals rather than coding per se. These questions are usually closed pretty quickly under the rubric of:
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam.
However, I'm not sure whether this is really entirely applicable, in large part because the R package ecosystem is a little bit special -- it consists of a huge number (6000+) of free and relatively well-curated, but not tremendously well-indexed, add-on packages.
- Spam is rather unlikely (people do occasionally over-promote their own packages, but this doesn't happen too much)
- If someone is just looking for a package (rather than asking about the comparative merits of different packages) these questions don't seem particularly prone to opinion-based answers.
- It can be hard to navigate the R package world (despite meta-packages like the sos package and (underused) sites like crantastic) so users often need help
- One could argue that the question should just be re-framed, but often it's not sensible to try to re-invent wheels and "use package XXX" is the right answer to the question ... (suggestions for how to reframe these questions are welcome)
That is, I don't question the conclusion "... are off-topic for Stack Overflow" but I question the premise ("... tend to attract opinionated answers and spam") for this particular tag community.
If I dislike these kinds of questions it's usually for lack of effort (which is technically speaking a reason to downvote, not to close).
Is the wider SO community's recommendation that I (and other [r]-denizens):
- downvote rather than vote to close? (these questions are often clear and useful, so "lack of research effort" may be the only applicable criticism)
- continue to apply the above close-vote rubric to stay within the wider SE framework?
- edit/re-frame the question?
- something else?
(related: A borderline between on-topic questions and questions about library recommendation?)