Skip to content

Commit 6f013b2

Browse files
authored
Merge pull request #49 from ropensci/cran-resubmission
Cran resubmission
2 parents 45db2f2 + 72d6236 commit 6f013b2

8 files changed

Lines changed: 83 additions & 53 deletions

File tree

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ We love collaboration.
66

77
### Bugs?
88

9-
* Submit an issue on the Issues page [here](https://github.com/marcosci/landscapetools/issues)
9+
* Submit an issue on the Issues page [here](https://github.com/ropensci/landscapetools/issues)
1010

1111
### Code contributions
1212

1313
* Fork this repo to your Github account
1414
* Clone your version on your account down to your machine from your account, e.g,. `git clone https://github.com/<yourgithubusername>/landscapetools.git`
15-
* Make sure to track progress upstream (i.e., on our version of `landscapetools` at `marcosci/landscapetools`) by doing `git remote add upstream https://github.com/marcosci/landscapetools.git`. Before making changes make sure to pull changes in from upstream by doing either `git fetch upstream` then merge later or `git pull upstream` to fetch and merge in one step
15+
* Make sure to track progress upstream (i.e., on our version of `landscapetools` at `ropensci/landscapetools`) by doing `git remote add upstream https://github.com/ropensci/landscapetools.git`. Before making changes make sure to pull changes in from upstream by doing either `git fetch upstream` then merge later or `git pull upstream` to fetch and merge in one step
1616
* Make your changes (bonus points for making changes on a new branch)
1717
* If you alter package functionality at all (e.g., the code itself, not just documentation)
1818
please do write some tests to cover the new functionality.
1919
* Push up to your account
20-
* Submit a pull request to home base at `marcosci/landscapetools`
20+
* Submit a pull request to home base at `ropensci/landscapetools`
2121

22-
### Questions? Get in touch: [sciaini.marco@gmail.com](mailto:sciaini.marco@gmail.com)
22+
### Questions? Get in touch: [s2@sent.com](mailto:s2@sent.com)
2323

2424
### Thanks for contributing!

DESCRIPTION

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: landscapetools
22
Type: Package
33
Title: Landscape Utility Toolbox
4-
Version: 0.6.2.9001
4+
Version: 0.6.3
55
Description: Provides utility functions for some of the less-glamorous tasks involved
66
in landscape analysis. It includes functions to coerce raster data to the
77
common tibble format and vice versa, it helps with flexible reclassification
@@ -11,18 +11,22 @@ Description: Provides utility functions for some of the less-glamorous tasks inv
1111
landscapes, rasterstacks, -bricks and lists of raster.
1212
Authors@R: c(
1313
person("Marco", "Sciaini", email = "sciaini.marco@gmail.com",
14-
role = c("aut", "cre"), comment = c(ORCID = '0000-0002-3042-5435')),
14+
role = "aut", comment = c(ORCID = '0000-0002-3042-5435')),
1515
person("Matthias", "Fritsch",
1616
email = "matthias.fritsch@forst.uni-goettingen.de",
17-
role = c("aut")),
17+
role = "aut"),
1818
person("Maximilian H.K.", "Hesselbarth",
19-
role = c("aut"),
19+
role = "aut",
2020
email = "mhk.hesselbarth@gmail.com",
2121
comment = c(ORCID = "0000-0003-1125-9918")),
2222
person("Jakub", "Nowosad",
2323
role = "aut",
2424
email = "nowosad.jakub@gmail.com",
2525
comment = c(ORCID = "0000-0002-1057-3721")),
26+
person("Anatoly", "Tsyplenkov",
27+
role = c("aut", "cre"),
28+
email = "s2@sent.com",
29+
comment = c(ORCID = "0000-0003-4144-8402")),
2630
person("Laura", "Graham", role = "rev",
2731
comment = "Laura reviewed the package for rOpenSci, see
2832
https://github.com/ropensci/onboarding/issues/188"),
@@ -38,7 +42,6 @@ Depends:
3842
URL: https://docs.ropensci.org/landscapetools/
3943
BugReports: https://github.com/ropensci/landscapetools/issues
4044
Roxygen: list(markdown = TRUE)
41-
RoxygenNote: 7.3.3
4245
Imports:
4346
ggplot2,
4447
raster,
@@ -53,3 +56,4 @@ Suggests:
5356
VignetteBuilder: knitr
5457
LinkingTo:
5558
Rcpp
59+
Config/roxygen2/version: 8.0.0

NEWS.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# landscapetools 0.6.3 (2026-06-23)
2+
3+
## BUG FIXES
4+
- Fix compilation with `STRICT_R_HEADERS` by replacing R memory allocation macros with standard C functions in `src/get_jenkbreaks.c`.
5+
- Fix broken or redirected URLs in the package vignettes.
6+
7+
## MAINTENANCE
8+
- New package maintainer -- Anatoly Tsyplenkov (#48).
9+
110
# landscapetools 0.6.2
211
- Bugfix in `util_classify`
312

codemeta.json

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
"codeRepository": "https://docs.ropensci.org/landscapetools/",
88
"issueTracker": "https://github.com/ropensci/landscapetools/issues",
99
"license": "https://spdx.org/licenses/GPL-3.0",
10-
"version": "0.6.2.9001",
10+
"version": "0.6.3",
1111
"programmingLanguage": {
1212
"@type": "ComputerLanguage",
1313
"name": "R",
1414
"url": "https://r-project.org"
1515
},
16-
"runtimePlatform": "R version 4.5.2 (2025-10-31)",
16+
"runtimePlatform": "R version 4.6.0 (2026-04-24)",
1717
"author": [
1818
{
1919
"@type": "Person",
@@ -41,15 +41,22 @@
4141
"familyName": "Nowosad",
4242
"email": "nowosad.jakub@gmail.com",
4343
"@id": "https://orcid.org/0000-0002-1057-3721"
44+
},
45+
{
46+
"@type": "Person",
47+
"givenName": "Anatoly",
48+
"familyName": "Tsyplenkov",
49+
"email": "s2@sent.com",
50+
"@id": "https://orcid.org/0000-0003-4144-8402"
4451
}
4552
],
4653
"maintainer": [
4754
{
4855
"@type": "Person",
49-
"givenName": "Marco",
50-
"familyName": "Sciaini",
51-
"email": "sciaini.marco@gmail.com",
52-
"@id": "https://orcid.org/0000-0002-3042-5435"
56+
"givenName": "Anatoly",
57+
"familyName": "Tsyplenkov",
58+
"email": "s2@sent.com",
59+
"@id": "https://orcid.org/0000-0003-4144-8402"
5360
}
5461
],
5562
"softwareSuggestions": [
@@ -171,7 +178,7 @@
171178
},
172179
"SystemRequirements": null
173180
},
174-
"fileSize": "1376.685KB",
181+
"fileSize": "1377.102KB",
175182
"citation": [
176183
{
177184
"@type": "ScholarlyArticle",
@@ -194,20 +201,22 @@
194201
},
195202
{
196203
"@type": "Person",
197-
"givenName": ["Craig", "E."],
204+
"givenName": "Craig E.",
198205
"familyName": "Simpkins"
199206
}
200207
],
201-
"name": "NLMR and landscapetools: An integrated environment for simulating and modifying neutral landscape models in R",
202-
"url": "https://doi.org/10.1111/2041-210X.13076",
203-
"pagination": "1--9",
208+
"name": "NLMR and landscapetools: An integrated environment for simulating and modifying neutral landscape models in R",
209+
"identifier": "10.1111/2041-210X.13076",
210+
"pagination": "2240--2248",
211+
"@id": "https://doi.org/10.1111/2041-210X.13076",
212+
"sameAs": "https://doi.org/10.1111/2041-210X.13076",
204213
"isPartOf": {
205214
"@type": "PublicationIssue",
206215
"datePublished": "2018",
207216
"isPartOf": {
208217
"@type": ["PublicationVolume", "Periodical"],
209-
"volumeNumber": "00",
210-
"name": "Methods in Ecololgy and Evolution"
218+
"volumeNumber": "9",
219+
"name": "Methods in Ecology and Evolution"
211220
}
212221
}
213222
}

cran-comments.md

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
11
## Submission
22

3-
New version includes massive dependency trimming and new functionality.
3+
This is a resubmission of an archived package. The previous version was archived because the maintainer email was undeliverable. The maintainer has been updated to Anatoly Tsyplenkov <s2@sent.com> (see ropensci/landscapetools#48).
4+
5+
This release also fixes the compilation failure under `STRICT_R_HEADERS` reported on CRAN by replacing R's `Calloc`/`Free` macros with standard C `calloc`/`free` in `src/get_jenkbreaks.c`.
46

57
## Test environments
68

7-
* local Ubuntu Linux 16.04 LTS install, R 3.4.1
8-
* Ubuntu 14.04 (on travis-ci), R 3.4.1
9-
* Windows Server 2012 R2 x64 (build 9600) (on appveyor), R 3.4.2
10-
* Rhub
11-
* Windows Server 2008 R2 SP1, R-devel, 32/64 bit
12-
* Debian Linux, R-devel, GCC ASAN/UBSAN
13-
* Fedora Linux, R-devel, clang, gfortran
14-
* macOS 10.11 El Capitan, R-release
15-
* macOS 10.9 Mavericks, R-oldrel
16-
* win-builder (devel and release)
9+
* local Arch Linux, R 4.6.0
10+
* win-builder, R-devel (r90185 ucrt)
1711

1812
## R CMD check results
1913

20-
0 errors | 0 warnings | 0 note
14+
win-builder R-devel:
15+
16+
```
17+
0 errors | 0 warnings | 1 note
18+
```
19+
20+
The single NOTE is the expected CRAN incoming feasibility message for a new submission of a previously archived package. It also flags two possibly misspelled words in `DESCRIPTION`:
21+
22+
* `tibble` — the name of the tidyverse data-frame package.
23+
* `rasterstacks` — refers to `RasterStack` objects from the `raster` package.
24+
25+
Both are intentional technical terms.
2126

2227
## Reverse dependencies
2328

inst/CITATION

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1-
citHeader("To cite NLMR in publications use:")
2-
3-
citEntry(entry = "Article",
4-
title = "NLMR and landscapetools: An integrated environment for simulating and modifying neutral landscape models in R",
5-
author = personList(as.person("Marco Sciaini"),
6-
as.person("Matthias Fritsch"),
7-
as.person("Cedric Scherer"),
8-
as.person("Craig E. Simpkins")),
9-
journal = "Methods in Ecololgy and Evolution",
10-
volume = "00",
11-
pages = "1--9",
12-
year = "2018",
13-
url = "https://doi.org/10.1111/2041-210X.13076",
14-
15-
textVersion =
16-
paste("Sciaini M, Fritsch M, Scherer C, Simpkins CE. NLMR and landscapetools: An integrated environment for simulating and modifying neutral landscape models in R. Methods Ecol Evol. 2018;9:2240–2248."))
1+
bibentry(
2+
header = "To cite NLMR in publications use:",
3+
bibtype = "Article",
4+
title = "NLMR and landscapetools: An integrated environment for simulating and modifying neutral landscape models in R",
5+
author = c(
6+
person("Marco", "Sciaini"),
7+
person("Matthias", "Fritsch"),
8+
person("Cedric", "Scherer"),
9+
person("Craig E.", "Simpkins")
10+
),
11+
journal = "Methods in Ecology and Evolution",
12+
volume = "9",
13+
pages = "2240--2248",
14+
year = "2018",
15+
doi = "10.1111/2041-210X.13076",
16+
textVersion = "Sciaini M, Fritsch M, Scherer C, Simpkins CE. NLMR and landscapetools: An integrated environment for simulating and modifying neutral landscape models in R. Methods Ecol Evol. 2018;9:2240-2248."
17+
)

man/landscapetools-package.Rd

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vignettes/overview.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ It is basically designed to accompany all the packages in [r-spatialecology](htt
2828

2929
# Visualize
3030

31-
There are a plethora of R packages to visualize spatial data, all of them covering unique aspects and ways to do that (find a short introduction [here](https://docs.ropensci.org/NLMR/articles/articles/visualize_nlms.html)). With [NLMR](https://docs.ropensci.org/NLMR), we needed a way to visualize landscapes without much fuss and also have a way to visualize many of them in a way we found sufficient.
31+
There are a plethora of R packages to visualize spatial data, all of them covering unique aspects and ways to do that (find a short introduction [here](https://docs.ropensci.org/NLMR/articles/getstarted.html)). With [NLMR](https://docs.ropensci.org/NLMR/), we needed a way to visualize landscapes without much fuss and also have a way to visualize many of them in a way we found sufficient.
3232

3333
## General raster plotting
3434
```{r fig.retina=2, message=FALSE, warning=FALSE}
@@ -122,7 +122,7 @@ summary(scaled_landscape)
122122
```
123123

124124
## Merge
125-
`util_merge` most likely makes sense in the context of [NLMR](https://docs.ropensci.org/NLMR). If you merge multiple
125+
`util_merge` most likely makes sense in the context of [NLMR](https://docs.ropensci.org/NLMR/). If you merge multiple
126126
neutral landscapes models, you can create more feasible landscape
127127
patterns for certain questions, or come up with ecotones if you
128128
merge fractal patterns with gradients.

0 commit comments

Comments
 (0)