Skip to content

Commit 0ab2554

Browse files
committed
logo position fixed
1 parent 5743fd1 commit 0ab2554

File tree

2 files changed

+57
-10
lines changed

2 files changed

+57
-10
lines changed

README.Rmd

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "kuenm2: Detailed Development of Ecological Niche Models"
2+
title: "kuenm2: Detailed Development of Ecological Niche Models <img src='man/figures/logo.png' align='right' height='25%' width='25%'/>"
33
author: "Weverton C. F. Trindade, Luis F. Arias-Giraldo, Luis Osorio-Olvera, A. Townsend Peterson, and Marlon E. Cobos"
44
output:
55
github_document:
@@ -26,7 +26,7 @@ opts_chunk$set(echo = TRUE, collapse = TRUE, comment = "#>")
2626

2727
**kuenm2** is an new version of **kuenm** [Cobos et al. 2019](https://peerj.com/articles/6281/), an R package designed to make the process of ecological niche modeling (ENM) easier, faster, and more reproducible, and at the same time more robust. The aim of this package is to facilitate crucial steps in the ENM process: data preparation, model calibration, selected model exploration, model projections, and analyses of uncertainty and variability.
2828

29-
This new version of the package reduces the dependency on a strictly organized working directory (now required only if projections to multiple scenarios are needed). Instead, kuenm2 functions generate specific R objects that store all the necessary information for subsequent steps. kuenm2 fits maximum entropy (Maxnet) models or logistic generalized linear models (GLMs). Maxnet models are created as described in [Phillips et al. (2017)](http://doi.wiley.com/10.1111/ecog.03049), and GLMs are constructed as in [Cobos and Peterson (2023)](https://doi.org/10.1371/journal.pone.0276951). The ENM workflow requires at minimum a `data.frame` containing occurrence record coordinates (longitude and latitude) and a `SpatRaster` object with predictor variables. Users could also use a `data.frame` containing a column indicating presence and background records (0/1), and other columns with predictor variable values.
29+
This new version of the package reduces the dependency on a strictly organized working directory (now required only if projections to multiple scenarios are needed). Instead, kuenm2 functions generate specific R objects that store all the necessary information for subsequent steps. kuenm2 fits maximum entropy (Maxnet) models or generalized linear models (GLMs). Maxnet models are created as described in [Phillips et al. (2017)](http://doi.wiley.com/10.1111/ecog.03049), and GLMs are constructed as in [Cobos and Peterson (2023)](https://doi.org/10.1371/journal.pone.0276951). The ENM workflow requires at minimum a `data.frame` containing occurrence record coordinates (longitude and latitude) and a `SpatRaster` object with predictor variables. Users could also use a `data.frame` containing a column indicating presence and background records (0/1), and other columns with predictor variable values.
3030

3131
<br>
3232

@@ -47,7 +47,7 @@ The development version of kuenm2 can be installed using the code below.
4747

4848
```{r installation1, eval=FALSE}
4949
# Installing and loading packages
50-
if(!require(remotes)){
50+
if(!require(remotes)) {
5151
install.packages("remotes")
5252
}
5353
@@ -83,6 +83,8 @@ The kuenm2 package facilitates the following steps in the ENM process: basic dat
8383
knitr::include_graphics("man/figures/kuenm2_map_gs.png")
8484
```
8585

86+
<br>
87+
8688
### Pre-modeling steps
8789

8890
#### Basic data cleaning
@@ -173,3 +175,18 @@ vignette("projections_chelsa")
173175
## Note on AI usage
174176

175177
To maintain high standards of code quality and documentation, we have used AI LLM tools in our package. We used these tools for grammatical polishing and exploring technical implementation strategies for specialized functions. We manually checked and tested all code and documentation refined with these tools.
178+
179+
<br>
180+
181+
## Contributing
182+
183+
We welcome contributions to improve `kuenm2`! To maintain the integrity and performance of the package, we follow a few core principles:
184+
185+
- **Quality over Quantity:** We prioritize well-thought-out, stable improvements over frequent, minor changes. Please ensure your code is well-documented and follows the existing style of the package.
186+
- **Minimal Dependencies:** One of the goals of `kuenm2` is to remain efficient. We prefer solutions that use base R or existing dependencies. Proposals that introduce new package dependencies will be strictly evaluated for their necessity.
187+
- **AI-Assisted Code:** If you use AI agents (like Copilot, ChatGPT, or Claude) to generate code alternatives or improvements, please:
188+
- *Manually verify* the logic and accuracy of the output.
189+
- *Demonstrate the benefit* via a benchmark for speed or a clear explanation of how it fixes a bug/improves readability. Describe this in your Pull Request.
190+
- **Testing:** New features should include examples, and tests should be performed to ensure they work as intended and do not break existing workflows.
191+
192+
If you have an idea for a major change, please open an Issue first to discuss it with the maintainers.

README.md

Lines changed: 37 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
kuenm2: Detailed Development of Ecological Niche Models <img src="man/figures/logo.png" align="right" height="25%" width = "25%"/>
1+
kuenm2: Detailed Development of Ecological Niche Models
2+
<img src='man/figures/logo.png' align='right' height='25%' width='25%'/>
23
================
34
Weverton C. F. Trindade, Luis F. Arias-Giraldo, Luis Osorio-Olvera, A.
45
Townsend Peterson, and Marlon E. Cobos
@@ -11,6 +12,7 @@ Townsend Peterson, and Marlon E. Cobos
1112
- [Post-modeling analysis](#post-modeling-analysis)
1213
- [Checking the vignettes](#checking-the-vignettes)
1314
- [Note on AI usage](#note-on-ai-usage)
15+
- [Contributing](#contributing)
1416

1517
<!-- badges: start -->
1618

@@ -37,10 +39,9 @@ organized working directory (now required only if projections to
3739
multiple scenarios are needed). Instead, kuenm2 functions generate
3840
specific R objects that store all the necessary information for
3941
subsequent steps. kuenm2 fits maximum entropy (Maxnet) models or
40-
logistic generalized linear models (GLMs). Maxnet models are created as
41-
described in [Phillips et
42-
al. (2017)](http://doi.wiley.com/10.1111/ecog.03049), and GLMs are
43-
constructed as in [Cobos and Peterson
42+
generalized linear models (GLMs). Maxnet models are created as described
43+
in [Phillips et al. (2017)](http://doi.wiley.com/10.1111/ecog.03049),
44+
and GLMs are constructed as in [Cobos and Peterson
4445
(2023)](https://doi.org/10.1371/journal.pone.0276951). The ENM workflow
4546
requires at minimum a `data.frame` containing occurrence record
4647
coordinates (longitude and latitude) and a `SpatRaster` object with
@@ -67,7 +68,7 @@ The development version of kuenm2 can be installed using the code below.
6768

6869
``` r
6970
# Installing and loading packages
70-
if(!require(remotes)){
71+
if(!require(remotes)) {
7172
install.packages("remotes")
7273
}
7374

@@ -114,14 +115,16 @@ listed in the section [Checking the vignettes](#checking-the-vignettes).
114115

115116
<div class="figure" style="text-align: center">
116117

117-
<img src="man/figures/kuenm2_map_gs.png" alt="Figure 1. Overview of the kuenm2 workflow for ecological niche modeling." />
118+
<img src="man/figures/kuenm2_map_gs.png" alt="Figure 1. Overview of the kuenm2 workflow for ecological niche modeling." width="461" />
118119
<p class="caption">
119120

120121
Figure 1. Overview of the kuenm2 workflow for ecological niche modeling.
121122
</p>
122123

123124
</div>
124125

126+
<br>
127+
125128
### Pre-modeling steps
126129

127130
#### Basic data cleaning
@@ -277,3 +280,30 @@ used AI LLM tools in our package. We used these tools for grammatical
277280
polishing and exploring technical implementation strategies for
278281
specialized functions. We manually checked and tested all code and
279282
documentation refined with these tools.
283+
284+
<br>
285+
286+
## Contributing
287+
288+
We welcome contributions to improve `kuenm2`! To maintain the integrity
289+
and performance of the package, we follow a few core principles:
290+
291+
- **Quality over Quantity:** We prioritize well-thought-out, stable
292+
improvements over frequent, minor changes. Please ensure your code is
293+
well-documented and follows the existing style of the package.
294+
- **Minimal Dependencies:** One of the goals of `kuenm2` is to remain
295+
efficient. We prefer solutions that use base R or existing
296+
dependencies. Proposals that introduce new package dependencies will
297+
be strictly evaluated for their necessity.
298+
- **AI-Assisted Code:** If you use AI agents (like Copilot, ChatGPT, or
299+
Claude) to generate code alternatives or improvements, please:
300+
- *Manually verify* the logic and accuracy of the output.
301+
- *Demonstrate the benefit* via a benchmark for speed or a clear
302+
explanation of how it fixes a bug/improves readability. Describe
303+
this in your Pull Request.
304+
- **Testing:** New features should include examples, and tests should be
305+
performed to ensure they work as intended and do not break existing
306+
workflows.
307+
308+
If you have an idea for a major change, please open an Issue first to
309+
discuss it with the maintainers.

0 commit comments

Comments
 (0)