I noticed that multiple questions that ask about R packages are voted to migrate to SO (I also do this). This is consistent with the fact that CV is not about programming. On the other hand, "I am looking for R package that does something" is not really a programming question and I would say that this kind of question is also off-topic on SO. So maybe the unwritten policy of migrating those to SO is not valid? What do you think?
Stack Overflow uses a fairly stringent definition of what constitutes a programming question (perhaps just as we have a fairly strict definition of what constitutes a statistical / machine learning question). A question that simply has to do with how to use, say,
R is not necessarily a programming question. One good rule of thumb is that programming questions should have a reproducible example / MCVE. A question about programming that doesn't have one should not be migrated until it has been edited to include such. A question that cannot have one (e.g., 'what is the package for _______') should not be migrated, but should simply be closed here as off-topic ("because it is not about statistics, machine learning, data analysis, data mining, or data visualization").
I recognize that this may seem harsh to people who want help and are upset that we are not providing it. However, there is no guarantee that any given question must fit in somewhere on the SE system. Many general R questions can go to the r-help listserv—that's what it's for. In addition, we can point people to our meta.CV thread that lists Internet Support for Statistics Software.
I have seen other forums migrating such requests to Software Recommendations, though that forum tends to be a still defining itself and not known for prompt responses or well moderated. Right now as it covers a broad range of topics and not people who are say, experts in R or what it does in this case.
R packages based on this forum's core competency I believe would be appropriate here due to the original core purpose of R and its continued primary use even though it's use is definitely branching out.
Though in general, I would prefer any such requests that 'are migrated'go to Software Recommendations than the bigger black hole of Stack Overflow which is supposed to be programming questions.. not which software package should I use....
I know I have recommended R packages over in Software Recommendations on several questions as well.
I think that this would depend on the question being asked. If someone is looking for a data manipulation package like
plyr for example, I would think that would be a SO question.
But if the question is more about how to implement a particular model in R, then surely this is straightforwardly a statistics question? R, as with any programming language, can be used for things other than statistics - I presume this is why general programming questions are referred away to SO. But if the question relates to doing statistics IN R, I would think that this fell within the purview of this site.
Whether there is a particular package that implements the model directly or it has to be implemented by hand probably shouldn't be used to discriminate which questions should go where. Equally, I don't think that model implementation questions should be removed from Cross Validated either, because that would reduce its usefulness substantially to practitioners.
The major factor to consider here is probably more around question quality and whether the person has made an effort to do their own research on the subject. If there is no evidence that they have made an effort, then the question probably contravenes other rules around question quality and can be closed on that basis.