Hosting is a big challenge for open science. Whenever I see someone calling for open data, I feel half enthusiasm for the movement to cooperate more and half dread at the prospect of trying to comply. I used OSF to publish one of my datasets, but they instituted storage limits that would prevent doing the same in the future. And exposure to thousands of dollars in surprise fees from personal archival in cloud hosts isn't acceptable. Which leaves the status quo of email the author for data, hope they respond, as disappointingly the best option.
Open code is trivial to provide in comparison, but also less useful.