- Fixed bug in
lrren()
to properly extract predicted RR values for cross validation after update usingterra::extract()
- Fixed NOTE in CRAN checks to provide package anchors for Rd \link{} targets not in the package itself and the base packages within 'envi-package.Rd', 'lrren.Rd', and 'perlrren.Rd'
- Fixed NOTE in Windows check to remove detritus files after testing
- Renamed 'package.R' to 'envi-package.R' after Roxygen (>=7.3.0) update
- Updated CITATION with peer-review publication
- Fixed 'Moved Permanently' content by replacing the old URL with the new URL
- Fixed bug in calculation of False Discovery Rate in internal
pval_correct()
function - Fixed test for
plot_perturb()
function that was presenting a warning by specifyingcref0
- Argument
plot_cols
correctly renamedcols
indiv_plot()
andseq_plot()
functions
- Fixed broken link in CITATION
- Migrated R-spatial dependencies
- Replaced
raster
,rgeos
, andsp
packages in Imports withterra
andsf
because of imminent package retirements - Removed
maptools
from Suggests (replaced with new internal functionas.im.SpatRaster()
) - Thank you, Roger Bivand, for the notice. Relates to ndi Issue #3
- Note:
raster
is a dependency ofRStoolbox
(at present) which is used in the vignette - Updated test, examples, vignette, and documentation throughout
- Added GitHub R-CMD-check
- Updated citation style for CITATION file
- Uwe Ligges suggested (2022-08-26) that some parallel cluster is not cleanly closed in the tests
- Added
future::plan(future::multisession)
in tests to remove the files in temp directory - Added links to
sparr
package in 'package.R'
- Updated package URL and BugReports to renamed GitHub account "lance-waller-lab" (previously "Waller-SUSAN")
- Replaced
methods::is()
withinherits()
andmethods
is no longer Imports - Added
maptools
andRStoolbox
to Suggests (used in the package vignette) - Added CITATION file
- Fixed typos in documentation throughout
- In the
div_plot()
andseq_plot()
internal functions, replacedif (class(input) == "im")
withif (methods::is(input, "im"))
- Added
methods
package to Imports - Re-added
utils
package to Suggests because "zzz.R" calls thepackageDescription()
function - Moved
spatstat.random
package from Imports to Suggests because therpoispp()
function is only used for tests
- Fixed bug in
perlrren()
function that will now keep the predicted values even if NA - Fixed bug in
plot_perturb()
function that will now project rasters usingmethod = "bilinear"
for continuous values - Streamlined "test-perlrren.R" by removing duplicate tests for "incorrectly specified n_sim"
- Fixed bug in "test-plot_cv.R" by resetting the graphics within an error check to clear a warning between tests
- Updated dependencies
spatstat.core
andspatstat.linnet
packages based on feedback from the Spatstat Team (Adrian Baddeley and Ege Rubak). All random generators inspatstat.core
were moved to a new packagespatstat.random
spatstat.geom
,spatstat.core
,spatstat.linnet
, andspatstat (>=2.0-0)
are no longer Depends.spatstat.geom
andspatstat.random
are now Importsspatstat.data
is now Suggests.- See the GitHub merge pull request.
maptools
is no longer Imports- Fixed annotation typos in the
perlrren()
,pval_correct()
,lrren()
functions - Fixed bug in
plot_cv()
function that will specify the size of the confidence interval in the subtitle based on the chosen alpha level
- Addressed ERROR on R-devel CRAN environments by setting
parallelly.makeNodePSOCK.setup_strategy = sequential
for all CRAN tests as suggested by the maintainer for thefuture
andparallelly
packages who is actively working on a solution. See the GitHub issue.
- Removed
LazyData: true
from 'DESCRIPTION' file because the package has no data accessed via adata()
command and has nodata/
directory (in response to CRAN NOTE: 'LazyData' is specified without a 'data' directory) - Following advice from
future
package maintainer, nowspatial_power()
andjitter_power()
functions reset future strategy when exiting - Addressed ERROR in MacOS environments on rhub by setting the
parallelly.makeNodePSOCK.setup_strategy = sequential
for MacOS environments runningtcltk
untilparallelly
(>=1.26.1-9002) is on CRAN. This workaround was suggested by theparallelly
maintainer. See the GitHub issue.
- Updated
spatstat
package to new subsetted packages based on feedback from the Spatstat Team (Adrian Baddeley and Ege Rubak). Nowspatstat.geom
,spatstat.core
,spatstat.linnet
, andspatstat (>= 2.0-0)
are in Depends - Replaced
parallel
anddoParallel
packages in Imports withdoFuture
,doRNG
, andfuture
packages to allow for parallel processing inlrren()
andperlrren()
functions to work across all CRAN environments - Removed
utils
package from Imports because the progress bar inlrren()
andperlrren()
functions is now produced with a helper function in utils.R that imports theiterators
package - Set default for
n_core
argument inlrren()
andperlrren()
to ben_core = 2
to match documentation - Fixed bug in
pval_correct()
whenp_correct = "FDR"
that will return the minimum p-value instead of NULL if no p-value is less than the p-critical value - Updated
cref0
andcref1
arguments inplot_predict()
andplot_perturb()
functions for PROJ6. Now callssp::CRS()
function within theraster::projectRaster()
function and reformats the default argument values - Updated testthat checks for parallelization in
lrren()
andperlrren()
functions and testthat checks for PROJ6 updates inplot_predict()
andplot_perturb()
functions
- Updated
spatstat
package to new subsetted packages based on feedback from the Spatstat Team (Adrian Baddeley and Ege Rubak).spatstat.geom
andspatstat.core
packages replacespatstat
package in Imports - Added
p_correct
argument tolrren()
andperlrren()
which calls a new, internal functionpval_correct()
that calculates three types of corrections for multiple testing (FDR, Sidak, Bonferroni) - Removed a cv output for pval surface in
lrren()
that is not used inplot_cv()
- Updated URLs in envi-package.Rd
- Updated URLs in envi-package.Rd
- Updated year in DESCRIPTION
- Fixed testthat preparation for
plot_cv()
,plot_obs()
, andplot_predict()
to remove"Warning message: In graphics::par(op): calling par(new=TRUE) with no plot"
- Removed parallel tests in testthat for
lrren()
andperlrren()
as there is a known error with makePSOCKcluster() in R version > 4.0.0 (created error only in r-patched-solaris-x86 and r-release-macos-x86_64).