Skip to content

Commit 9762bdd

Browse files
authored
Merge pull request #94 from wevertonbio/main
Change vignettes and update version
2 parents 485b50f + 2877f29 commit 9762bdd

13 files changed

+217
-150
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88
^docs$
99
^pkgdown$
1010
^\.github$
11+
^cran-comments\.md$

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: kuenm2
22
Type: Package
33
Title: Detailed Development of Ecological Niche Models
4-
Version: 0.0.12
4+
Version: 0.1.0
55
Authors@R: c(
66
person("Weverton C. F.", "Trindade", email = "wevertonf1993@gmail.com", role = c("aut", "cre"),
77
comment = c(ORCID = "0000-0003-2045-4555")),

NEWS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# kuenm2 0.1.0
2+
3+
* Initial CRAN submission.

R/advanced_cleaning.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
#' @param move_points_inside (logical) whether to move records outside of raster
2222
#' cells with valid values to the closest cell with values. Default = FALSE.
2323
#' @param move_limit_distance maximum distance to move records outside cells
24-
#' with valid values. Default = NULL. Must be defined if \code{move_points_inside}
25-
#' = TRUE.
24+
#' with valid values. Default = NULL. Must be defined if
25+
#' \code{move_points_inside} = TRUE.
2626
#' @param verbose (logical) whether to print messages of progress. Default =
2727
#' TRUE.
2828
#'

R/import_results.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ import_results <- function(projection,
268268

269269
#Get paths
270270
p_paths <- projection$paths
271-
root_directory = projection$root_directory}
271+
root_directory <- projection$root_directory}
272272

273273

274274
#Subset scenarios from mop and model projections

R/independent_evaluation.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ independent_evaluation <- function(fitted_models, new_data,
164164
"\nAvailable options for glm fitted_models are 'response' or 'cloglog'.")
165165
}
166166
if(type == "cloglog")
167-
type = "link"
167+
type <- "link"
168168
}
169169

170170
if(length(extrapolation_type) > 1){

R/plot_explore_partition.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ Please also provide a filled symbol for 'pch_in_range' (choose from 21, 22, 23,
274274
n_cols <- ceiling(sqrt(n_plots)) } else if (is.null(ncols) & n_plots <= 5){
275275
n_cols <- n_plots
276276
} else {
277-
n_cols = ncols}
277+
n_cols <- ncols}
278278
n_rows <- ceiling(n_plots / n_cols)
279279

280280

R/project_selected.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ project_selected <- function(models,
208208
"\nAvailable options for glm models are 'response' or 'cloglog'.")
209209
}
210210
if(type == "cloglog")
211-
type = "link"
211+
type <- "link"
212212
}
213213

214214
#Save parameters in a list to send to foreach nodes#

cran-comments.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## R CMD check results
2+
3+
0 errors | 0 warnings | 1 note
4+
5+
* This is a new release.

man/advanced_cleaning.Rd

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

0 commit comments

Comments
 (0)