Open hrbrmstr opened 6 years ago
I wasn't sure about downloading on behalf of users - they should (?) maybe copy files into the right places themselves and have a chance to checksum/gpg/whatever. Offering the option wouldn't hurt though. Can you PR the best-guess switch?
Aye. It was more of a have them specify a d/l loc and then show which one it'd download there with a "I think this is the right one for your system" prompt dance.
https://github.com/jonocarroll/opr/blob/4c3a9c179e68db4319620e6b667cd183caa505f9/R/utils.R#L9-L21
I was contemplating adding a companion downloader function as well since it's pretty straightforward to guess the OS someone is on.