Package: topocast Title: Moving-Window Regression Downscaling of Raster Data Version: 0.0.5 Authors@R: person("Gilles", "Colling", email = "gilles.colling051@gmail.com", role = c("aut", "cre", "cph"), comment = c(ORCID = "0000-0003-3070-6066")) Description: Downscales coarse-resolution raster data to a finer grid by fitting local linear regressions of a response, such as a climate variable, on one or more fine-resolution predictors, such as elevation and other terrain indices, within a moving window. Regression coefficients are estimated for every cell using summed-area tables, so the cost is independent of the window size, then resampled to the target resolution and applied to the fine-resolution predictors. Multiplicative and additive anomaly application downscale time series relative to a baseline climatology, following the regression-on-elevation approach used for high-resolution climate surfaces described in Karger et al. (2017) . License: MIT + file LICENSE Language: en-US Encoding: UTF-8 Roxygen: list(markdown = TRUE) Depends: R (>= 4.1.0) Imports: Rcpp (>= 1.0.0), terra (>= 1.7.0) Suggests: knitr, raster, rmarkdown, sf, stars, svglite, testthat (>= 3.0.0) LinkingTo: Rcpp, RcppArmadillo SystemRequirements: C++17 VignetteBuilder: knitr URL: https://gillescolling.com/topocast/, https://github.com/gcol33/topocast BugReports: https://github.com/gcol33/topocast/issues Config/testthat/edition: 3 Config/roxygen2/version: 8.0.0 Config/pak/sysreqs: libgdal-dev gdal-bin libgeos-dev libproj-dev libsqlite3-dev Repository: https://gcol33.r-universe.dev Date/Publication: 2026-10-10 13:05:36 UTC RemoteUrl: https://github.com/gcol33/topocast RemoteRef: HEAD RemoteSha: 63d1c3b2c5b38ee9400e19bf7d7ffc423c6522d1 NeedsCompilation: yes Packaged: 2026-10-10 13:59:03 UTC; root Author: Gilles Colling [aut, cre, cph] (ORCID: ) Maintainer: Gilles Colling