This package is an alternative to raster::resample() and downscales a raster to coarser resolution in a more efficient way (for large rasters).
To install the package downscaler from GitHub, first install the package devtools from the CRAN.
Then install the downscaler package:
Type ?downscaler::downscale for an example.