# NOT RUN {
create_from_github("r-lib/usethis")
create_from_github("r-lib/usethis", protocol = "https")
## various ways code can look when specifying ssh credential explicitly
create_from_github("r-lib/usethis", credentials = git2r::cred_ssh_key())
cred <- git2r::cred_ssh_key(
publickey = "path/to/id_rsa.pub",
privatekey = "path/to/id_rsa"
)
create_from_github("cran/TailRank", credentials = cred)
# }
Run the code above in your browser using DataLab