Sorry for duplicate post. I saw similar type of problem here Problems installing the devtools package . But I couldn\'t able to resolve my issue using the solution mentioned