I am trying to install a sample package from my github repo: https://github.com/jpmarindiaz/samplepkg
https://github.com/jpmarindiaz/samplepkg
I can install it when the repo is public using any
Have you tried setting a personal access token (PAT) and passing it along as the value of the auth_token argument of install_github()?
auth_token
install_github()
See ?install_github way down at the bottom (Package devtools version 1.5.0.99).
?install_github
devtools