Version 1.0.4 of ENMTools is now on GitHub. It fixes some issues with the permutation tests for model fit, and just a few other minor usability fixes. It also adds two important things:
A check.env() function that will sort through your environmental raster stack and check to see that all layers have NAs in the same grid cells. This has been causing issues for some people because the background selection for various tests and model functions treats the top layer of the environmental raster stack as a mask. If some of the other layers had NA values in grid cells where the first one didn't, this could cause the package to draw some NAs for data points. Running your layers through check.env() before using them to construct range rasters or run models/tests is advisable, but you should only have to do it once. Basically the syntax is:
env <- check.env(env)
Where "env" is your raster stack. It may take a few minutes if your rasters are huge.
The other big change is the addition of bias layers to all modeling functions. If you have a raster representing sampling bias, you can now pass it into any modeling function and the background points will be drawn in proportion to the value in each grid cell. For instance:
my.glm <- enmtools.glm(my.species, env, bias = biaslayer)
As always, if you want to use the GitHub version you just run
devtools::install_github("danlwarren/ENMTools")