remotes::install_github("hrbrmstr/albersusa", dependencies = FALSE, upgrade = "never")
Using GitHub PAT from the git credential store.
Downloading GitHub repo hrbrmstr/albersusa@HEAD
── R CMD build ───────────────────────────────────────────────────────────────────────────────────────────────
✔ checking for file 'C:\Users\AppData\Local\Temp\RtmpsLN0lc\remotes5a745f847d6\hrbrmstr-albersusa-07aa87f/DESCRIPTION' ...
─ preparing 'albersusa':
✔ checking DESCRIPTION meta-information ...
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building 'albersusa_0.4.1.tar.gz'
Install in ‘C:/Users/R/library’
ERROR: dependencies 'rgeos', 'rgdal' are not available for package 'albersusa'
Perhaps try a variation of:
install.packages(c('rgeos', 'rgdal'))
* removing 'C:/Users/R/library/albersusa'
Hello
albersusacan't be installed in R version 4.6.1.How should I build the book?
Thanks