`devtools::install_github()` - which version?

Possibly a silly question, but when utilizing devtools::install_github() to install a development version of a package - which version is installed? Is it just the current version on the main branch? Or is it the most recent github release? thanks all!

I believe the default is to get the HEAD of main, but you can pass other parameters to get to subdirectories, branches, release tags, even specific commits.

see the usage section here for examples:
r-lib/remotes: Install R packages from GitHub, GitLab, Bitbucket, git, svn repositories, URLs

1 Like

awesome, thank you!!!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.