Giter Site home page Giter Site logo

enerscape's Introduction

enerscape

Calculate Energy Landscapes For Terrestrial Animals.

R-CMD-check

DOI

Changelog

1.0.0

This follows the transfer of functionalists of old GIS packages to terra, with rgdal, rgeos scheduled to be retired in 2023: https://r-spatial.org/r/2022/04/12/evolution.html. I removed dependencies on gDistance, raster, sp, rgeos, and rgdal.

Energy landscapes are now calculated using a zonal (kernel) based method, implemented in C++ functions. This is faster that previous versions, but it does not return the transition matrix or the conductance matrix. Because of this, least cost paths functions are not supported any more. Instead, use circuitscape or omniscape; see circuitscape_skeleton() and omniscape_skeleton() to generate the initialization files to run in Julia.

The cyclist model is also not supported any more; custom models must be written in the C++ functions. I plan to add a customizable function soon to do that.

Installation

You can install the released version of enerscape from CRAN with:

install.packages("enerscape")

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("emilio-berti/enerscape")

To start with enerscape, check the vignette:

vignette("enerscape")

Releases

All releases are also archived on GitHub at https://github.com/emilio-berti/enerscape/releases.

From release 1.0.0, enerscape is also archived in Zenodo: https://doi.org/10.5281/zenodo.7445654.

enerscape's People

Contributors

emilio-berti avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

enerscape's Issues

Error in x$.self$finalize() : attempt to apply non-function

When running on a server cluster, I often get the error:

Error in x$.self$finalize() : attempt to apply non-function
Error in x$.self$finalize() : attempt to apply non-function
Error in (function (x)  : attempt to apply non-function
Error in (function (x)  : attempt to apply non-function
Error in x$.self$finalize() : attempt to apply non-function
Error in (function (x)  : attempt to apply non-function
Error in x$.self$finalize() : attempt to apply non-function

This seems to be an error message due to some Rcpp libraries and that can be ignored: sneumann/xcms#288 and rspatial/terra#30.

Store data

Need to store all data used in the vignettes in an archive.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.