Copying values from row with matching ID to row with NA's

There's another post from the community that may help: install.packages unable to access index for repository: Try disabling “secure download method for HTTP”