Closed kyleam closed 2 months ago
Manual test:
$ Rscript -e 'remotes::install_github("metrumresearchgroup/mrgsolve")'
Downloading GitHub repo metrumresearchgroup/mrgsolve@HEAD
── R CMD build ─────────────────────────────────────────────────────────────────
* checking for file ‘/tmp/Rtmp7mNHA7/remotes7d1e640dd05f/metrumresearchgroup-mrgsolve-f5135e1/DESCRIPTION’ ... OK
* preparing ‘mrgsolve’:
* checking DESCRIPTION meta-information ... OK
* cleaning src
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
* looking to see if a ‘data/datalist’ file should be added
* building ‘mrgsolve_1.4.2.9000.tar.gz’
[...]
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (mrgsolve)
$ grep GithubSHA1 ~/Rlibs/mrgsolve/DESCRIPTION
GithubSHA1: f5135e10c5081f861d781f39ba93dc6cdc93b2fc
$ git rev-parse origin/main
f5135e10c5081f861d781f39ba93dc6cdc93b2fc
The develop branch no longer exists. Update the install_github() call to use the default branch of the GitHub remote.