When I read in csv files from Dropbox into R, I right-click the file and click share Dropbox link. I then have a URL something like:
R
share Dropbox link
I tested this with public OneDrive link:
[]
This works for me even when the public link changes.