Skip to contents

Uninstall tinyTools

tinyTools has been renamed as tinytools. So please uninstall it before you install massdataset. And don’t use it any more.

  1. detach it by:
detach("package:tinyTools")
  1. Remove it by:
remove.packages(pkgs = "tinyTools")
  1. 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:

  1. In you R console, type this code:

It will open a page in browser, and create a “New personal access token” and copy it.

GitHub page for creating a personal access token.
GitHub page for creating a personal access token.
  1. Then type this code:
usethis::edit_r_environ()

and then add one line like below:

GITHUB_PAT=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

The GITHUB_PAT should be yours that is created in step 1.

And then restart R session and try again.

Frequently Asked Questions

  1. Can not install dependent packages raster and Cario

raster is available from CRAN, so try installing it first and then install massdataset.

Cairo is available from CRAN, so try installing it first and then install massdataset.

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