Skip to content

Commit

Permalink
Fix CRAN note
Browse files Browse the repository at this point in the history
  • Loading branch information
sgvignali committed Dec 16, 2024
1 parent 4636860 commit 8d04127
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 18 deletions.
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SDMtune 1.3.2
* Patch release to change maintainer email and fix CRAN note.

# SDMtune 1.3.1
* Minor improvements in documentation (#27)

Expand Down
4 changes: 2 additions & 2 deletions R/ANN-class.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ setOldClass("nnet")
#' @slot decay numeric. Weight decay.
#' @slot rang numeric. Initial random weights.
#' @slot maxit integer. Maximum number of iterations.
#' @slot model \link{nnet}. The randomForest model object.
#' @slot model [nnet][nnet::nnet]. The nnet model object.
#'
#' @details See \link{nnet} for the meaning of the slots.
#' @details See [nnet][nnet::nnet] for the meaning of the slots.
#'
#' @rdname ANN-class
#' @export
Expand Down
4 changes: 2 additions & 2 deletions R/BRT-class.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ setOldClass("gbm")
#' @slot shrinkage numeric. The shrinkage parameter.
#' @slot bag.fraction numeric. Random fraction of data used in the tree
#' expansion.
#' @slot model \link{gbm}. The Boosted Regression Tree model object.
#' @slot model [gbm][gbm::gbm]. The Boosted Regression Tree model object.
#'
#' @details See \link{gbm} for the meaning of the slots.
#' @details See [gbm][gbm::gbm] for the meaning of the slots.
#'
#' @rdname BRT-class
#' @export
Expand Down
6 changes: 4 additions & 2 deletions R/RF-class.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ setOldClass("randomForest")
#' @slot mtry integer. Number of variable randomly sampled.
#' @slot ntree integer. Number of grown trees.
#' @slot nodesize integer. Minimum size of terminal nodes.
#' @slot model \link{randomForest}. The randomForest model object.
#' @slot model [randomForest][randomForest::randomForest]. The randomForest
#' model object.
#'
#' @details See \link{randomForest} for the meaning of the slots.
#' @details See [randomForest][randomForest::randomForest] for the meaning of
#' the slots.
#'
#' @rdname RF-class
#' @export
Expand Down
6 changes: 3 additions & 3 deletions R/SDMmodel2MaxEnt.R
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#' SDMmodel2MaxEnt
#'
#' Converts an \linkS4class{SDMmodel} object containing a \linkS4class{Maxent}
#' model into a dismo \linkS4class{MaxEnt} object.
#' Converts an \linkS4class{SDMmodel} object containing a
#' [MaxEnt][dismo::maxent] model into a dismo [MaxEnt][dismo::maxent] object.
#'
#' @param model \linkS4class{SDMmodel} object to be converted.
#'
#' @return The converted dismo \linkS4class{MaxEnt} object.
#' @return The converted dismo [MaxEnt][dismo::maxent] object.
#' @export
#' @importFrom dismo maxent
#'
Expand Down
4 changes: 2 additions & 2 deletions man/ANN-class.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/BRT-class.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions man/RF-class.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/SDMmodel2MaxEnt.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8d04127

Please sign in to comment.