If I delete that line (assuming that the objetc is loaded in the function), it throws the following error:
Last error message:
no applicable method for 'filter' applied to an object of class "NULL"
Last error traceback:
find_candidates(grid, centrality_grid, density_grid, CITY, population_mi...
dplyr::filter(landuse_entropy, entropy >= 0.35)
.handleSimpleError(function (condition) { state$error <- build_mess...
h(simpleError(msg, call))
https://github.com/U-Shift/SiteSelection/blob/fd13d1f6e854efb9f9f3a10554fa6d93726d46e6/R/functions.R#L380
If I delete that line (assuming that the objetc is loaded in the function), it throws the following error: