
Install massdataset
Xiaotao Shen
Created on 2021-12-26 and updated on 2026-03-02
Source:vignettes/massdataset_install.Rmd
massdataset_install.RmdUninstall tinyTools
tinyTools has been renamed as tinytools. So
please uninstall it before you install massdataset.
And don’t use it any more.
- detach it by:
detach("package:tinyTools")- Remove it by:
remove.packages(pkgs = "tinyTools")- Restart your R session.
If there are errors, ignore them.
Install massdataset from GitHub
You can install the development version of massdataset
from GitHub with remotes.
remotes::install_github("tidymass/massdataset", dependencies = TRUE)During installation, remotes may ask whether to update
other packages. If you do not want to update them immediately, press
enter to skip.
If there is a error like below:
Error: Failed to install 'massdataset' from GitHub: HTTP error 403. API rate limit exceeded for 171.66.10.237. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
Try to resolve it by:
- In you R console, type this code:
usethis::create_github_token()It will open a page in browser, and create a “New personal access token” and copy it.

- Then type this code:
usethis::edit_r_environ()and then add one line like below:
GITHUB_PAT=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
The
GITHUB_PATshould be yours that is created in step 1.
And then restart R session and try again.
Frequently Asked Questions
- Can not install dependent packages
rasterandCario
raster is available from CRAN, so try
installing it first and then install massdataset.
install.packages("raster")Cairo is available from CRAN, so try
installing it first and then install massdataset.
install.packages("Cairo")Session information
sessionInfo()
#> R version 4.5.2 (2025-10-31)
#> Platform: aarch64-apple-darwin20
#> Running under: macOS Tahoe 26.3
#>
#> Matrix products: default
#> BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
#> LAPACK: /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/lib/libRlapack.dylib; LAPACK version 3.12.1
#>
#> locale:
#> [1] C.UTF-8/C.UTF-8/C.UTF-8/C/C.UTF-8/C.UTF-8
#>
#> time zone: Asia/Singapore
#> tzcode source: internal
#>
#> attached base packages:
#> [1] stats graphics grDevices utils datasets methods base
#>
#> loaded via a namespace (and not attached):
#> [1] digest_0.6.37 desc_1.4.3 R6_2.6.1 fastmap_1.2.0
#> [5] xfun_0.53 cachem_1.1.0 knitr_1.50 htmltools_0.5.8.1
#> [9] rmarkdown_2.29 lifecycle_1.0.4 cli_3.6.5 sass_0.4.10
#> [13] pkgdown_2.1.3 textshaping_1.0.1 jquerylib_0.1.4 systemfonts_1.2.3
#> [17] compiler_4.5.2 tools_4.5.2 ragg_1.4.0 evaluate_1.0.4
#> [21] bslib_0.9.0 yaml_2.3.10 jsonlite_2.0.0 rlang_1.1.6
#> [25] fs_1.6.6 htmlwidgets_1.6.4