Skip to content

Commit

Permalink
build 0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
emilio-berti committed Sep 6, 2021
1 parent 0641814 commit 68c8882
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
Package: enerscape
Type: Package
Title: Compute Energy Landscapes
Version: 0.1.1
Version: 0.1.2
Author: Emilio Berti
Maintainer: Emilio Berti <[email protected]>
Description: Compute energy landscapes using a digital elevation model (DEM)
raster and body mass (kg) of animals.
Description: Compute energy landscapes using a digital elevation model raster and body mass of animals. Vignette available at: <https://emilio-berti.github.io/enerscape.html>.
License: GPL-3
Encoding: UTF-8
LazyData: true
Expand All @@ -22,3 +21,4 @@ Suggests:
RoxygenNote: 7.1.1
Depends:
R (>= 2.10)

2 changes: 1 addition & 1 deletion R/enerscape.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ enerscape <- function(
slope <- gdistance::geoCorrection(height, scl = FALSE)
slope <- atan(slope) * 180 / pi #convert slope ratio to degrees
adj <- raster::adjacent(dem,
1:raster::ncell(dem),
1:(raster::ncell(dem)),
pairs = TRUE,
directions = neigh)
message(" | Calculating work")
Expand Down
1 change: 0 additions & 1 deletion man/en_path.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 68c8882

Please sign in to comment.