"Cannot Open Connection" Error

OK, are you using RStudio or the R console from terminal?

may be what

is supposed to fix. colnames() assigns variable names.

There is a package that is supposed to cut through the OneDrive fog. I can't test it (Windows free since long time passing) but it might help fetch a local copy of the file for you.