knitr::opts_chunk$set(echo = TRUE)

evoregions

the function evoregions need to be revised with care. It was working well, but I implement a set of changes in the behavior of the function.

Some changes are:

Also, I have some sugestions to be implemented:\ * The argument max.n.clust.method should be removed. It only provides one option, and do not need an argument. In addition, I think that this functionality shouldn't be within the evoregions function. It should be provided as sepated function to find the maximun number of cluster. In the evoregions function, we can set the max.n.clust with a default number (i think 10 or 15 is ok) and explain what functions could be used to define this number.

afilliation.evoreg

Not working well.

The function calculates the affiliation without error (using evoregion class) but the order of the sites in the output differs from the input. As this function is intented to be used to map the zones of transition, this mismatch in the output generates a map without recognizable pattern.

Then, I think this function need to be reviewed e re-written.

some issues in this function:

some suggestion: I think the evo.classification could be transformed into two new arguments. phylo.comp, regions. The first a matrix to be computed the distance among sites, the second the regions provided by the phylogenetic classification. I allows to remove the necessity of predict the behaviour of each class (phyloregion or evoregion)

tipranges_to_BioGeoBEARS

Function included in the package to save a phyllip file as required by BioGeoBEARS

Issues - May 15 2022

Issues - May 17 2022

Issues - May 18 2022

Issues - May 19th 2022

Issues - May 24th 2022 [AVR]

Add dependency on R >= 3.5.0 because serialized objects in
     serialize/load version 3 cannot be read in older versions of R.
     File(s) containing such objects:
       'Herodotools/inst/extdata/resDEC_akodon.rds'
use_this::use_package("sp", "suggest")
use_this::use_package("rgeos", "suggest")
use_this::use_package("terra", "suggest")

In addition, put the following code in line 17 of the 'function_gridfilter.R' file:

  pkg_req <- c("rgeos", "sp", "raster", "terra")

  for(pkg in pkg_req) {
    if (!requireNamespace(pkg, quietly = TRUE)) {
      stop(
        paste0("Package '", pkg, "' must be installed to use this function."),
        call. = FALSE
      )
    }
  }

Open issues May 25

Open issues May 26

open issues may 27

open issues June 17



GabrielNakamura/Rrodotus documentation built on Aug. 31, 2023, 2:13 p.m.