Because how do magazines that publish research made with goverment's funds make money then?
Sarcasm aside. I get you. Im in IT field, so I know that something like a github or googledocs would be wonderful for research and all, and it is, but there are many significant challenges. Just to name a few:
- International cooperation.- Science is an effort not of one country, and a paper on a published research might take upon the steps taken by a research done in a very different country.
- Language.- As if country differences are not enough, a paper can cite another from another language, and even if the trail (like in Google citations) can name it, being able to create a clear research routes for various languages means at the very least the technical challenge of translating or having to correct stuff on various languages.
- Authorship.- Not all researchers are considered the author, sometimes there are corporate authors.
- Copyright and distribution.- Laws vary greatly from country to country regarding this, even within the same country by states/provinces; so research, even if public, would need some serious changes in regulations to not have troubles (also add the problem with magazines that charge money for access).
- Connectivity.- The repository would have to connect to many databases with different characteristics that would mean a myriad of technical considerations
- Accessibility of platform.- For this to be implemented for current journals the code of the repository/platform would have to be open at the very least so it can be adopted. That also means creating communities to work on it.
- Lack of international standards agreements. There might be some common accepted guidelines for many things, but for many others there arent. I would like you to think how different can a mere scholar system be (I used to think sophomore was some kind of fungus.) Now think about all the differences in editorial guidelines for different journal even in the same field and how it would be addressed to technically reach an agreement that could be coded into a general standard.
- Political challenges.
As @Wolfgang Bangerth said, there are some journals that already do that, but we are still ways off to go. Hopefully the world seems to be moving to more open science. I would like to know what doctors in other fields are experiencing too.