-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from r-spatialecology/CRAN
Cran
- Loading branch information
Showing
28 changed files
with
81 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,33 @@ | ||
Type: Package | ||
Package: onpoint | ||
Title: Helper Functions for Point Pattern Analysis | ||
Version: 1.0.4 | ||
Authors@R: | ||
person("Maximilian H.K.", "Hesselbarth", | ||
email = "[email protected]", | ||
role = c("aut", "cre"), | ||
comment = c(ORCID = "0000-0003-1125-9918")) | ||
Maintainer: Maximilian H.K. Hesselbarth <[email protected]> | ||
Description: | ||
Growing collection of helper functions for point pattern analysis. Most functions | ||
are designed to work with the 'spatstat' (<http://spatstat.org>) package. The focus of | ||
most functions are either null models or summary functions for spatial point patterns. | ||
For a detailed description of all null models and summary functions, see | ||
Wiegand and Moloney (2014, ISBN:9781420082548). | ||
URL: https://r-spatialecology.github.io/onpoint/ | ||
BugReports: https://github.com/r-spatialecology/onpoint/issues | ||
License: GPL (>= 3) | ||
Depends: R (>= 3.1) | ||
Imports: | ||
ggplot2, | ||
spatstat.explore, | ||
spatstat.geom, | ||
spatstat.random, | ||
stats | ||
Suggests: | ||
covr, | ||
spatstat (>= 2.0.0), | ||
testthat | ||
Encoding: UTF-8 | ||
RoxygenNote: 7.2.3 | ||
Type: Package | ||
Package: onpoint | ||
Title: Helper Functions for Point Pattern Analysis | ||
Version: 1.0.5 | ||
Authors@R: | ||
person("Maximilian H.K.", "Hesselbarth", | ||
email = "[email protected]", | ||
role = c("aut", "cre"), | ||
comment = c(ORCID = "0000-0003-1125-9918")) | ||
Maintainer: Maximilian H.K. Hesselbarth <[email protected]> | ||
Description: | ||
Growing collection of helper functions for point pattern analysis. Most functions | ||
are designed to work with the 'spatstat' (<http://spatstat.org>) package. The focus of | ||
most functions are either null models or summary functions for spatial point patterns. | ||
For a detailed description of all null models and summary functions, see | ||
Wiegand and Moloney (2014, ISBN:9781420082548). | ||
URL: https://r-spatialecology.github.io/onpoint/ | ||
BugReports: https://github.com/r-spatialecology/onpoint/issues | ||
License: GPL (>= 3) | ||
Depends: R (>= 3.1) | ||
Imports: | ||
ggplot2, | ||
spatstat.explore, | ||
spatstat.geom, | ||
spatstat.random, | ||
stats | ||
Suggests: | ||
covr, | ||
spatstat (>= 2.0.0), | ||
testthat (>= 3.0.0) | ||
Encoding: UTF-8 | ||
RoxygenNote: 7.2.3 | ||
Config/testthat/edition: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# onpoint 1.0.5 | ||
* Minor cosmetic updates | ||
|
||
# onpoint 1.0.4 | ||
* Some small function updates | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
# This file is part of the standard setup for testthat. | ||
# It is recommended that you do not modify it. | ||
# | ||
# Where should you do additional test configuration? | ||
# Learn more about the roles of various files in: | ||
# * https://r-pkgs.org/testing-design.html#sec-tests-files-overview | ||
# * https://testthat.r-lib.org/articles/special-files.html | ||
|
||
library(testthat) | ||
library(spatstat.explore) | ||
library(spatstat.geom) | ||
library(onpoint) | ||
|
||
test_check("onpoint") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
context("test-estimate_o_ring") | ||
# context("test-estimate_o_ring") | ||
|
||
test_that("estimate_o_ring returns fv", { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
testthat::context("test-estimate_pcf_fast") | ||
# testthat::context("test-estimate_pcf_fast") | ||
|
||
testthat::test_that("estimate_pcf returns spatstat.fv object", { | ||
|
||
pattern <- spatstat.random::runifpoint(n = 100) | ||
|
||
pcf_est <- estimate_pcf_fast(pattern) | ||
|
||
testthat::expect_is(pcf_est, "fv") | ||
testthat::expect_s3_class(pcf_est, "fv") | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
context("test-plot") | ||
# context("test-plot") | ||
|
||
set.seed(42) | ||
csr_pattern <- spatstat.random::runifpoint(n = 100) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
context("test-print") | ||
# context("test-print") | ||
|
||
set.seed(42) | ||
csr_pattern <- spatstat.random::runifpoint(n = 100) | ||
|
Oops, something went wrong.