Inf
#159 #160 (@joshwlambert).DAISIE_SR_loglik_CS_M1()
is now DAISIE_loglik_CS_shift()
.boost/numeric/odeint/stepper/bulirsch_stoer.hpp
,
address the issue by passing previously uninitialised variable as boost::units::quantity<boost::units::si::dimensionless, double>
.message()
and warning()
.
Add internal functions to address this. verbose
variable is now numeric,
varying from 0 to 3. Increasing values increase amount of messages to be
printed. Change default of printing some output to golden rule of silence
verbose == 0
. To print again, set verbose >= 1
.options(warn = -1)
that suppress warnings in non standard
way. Use suppressWarnings()
where appropriate.DESCRIPTION
.:::
.internal
to document without index but use
noRd
instead. are_area_pars()
is now internal.\dontrun
examples in documentation with \donttest
. Speed up
examples.LICENSE.note
, inst/COPYRIGHTS
to clarify license and copyrights. Pipe
such files in DESCRIPTION
.CXX_STD
flag on Makevars[.win].boost/numeric/odeint/stepper/bulirsch_stoer.hpp
. This
is done by including the patched header file src/patched_bulrisch_stoer.h
before boost/numeric/odeint
to shadow
boost/numeric/odeint/stepper/bulrisch_stoer.hpp
The issue is not fixed in BOOST_VERSION == 1.81.0.
Must check for fixes in upcomming boost (BH) releases.src/DAISIE_loglik_rhs_FORTRAN.f95
.-D_HAS_AUTO_PTR_ETC
flag fix via Makevars[.win] to
comply with CRAN requests and to force C++ standard C++14 without using
SystemRequirements line in DESCRIPTION, at CRAN's request._HAS_AUTO_PTR_ETC
and BOOST_NO_AUTO_PTR
.'DDD'
version 5.2.1.DAISIE_ML_*()
and integration tests don't run on CRAN due to too long runtime.sprintf
('Rcpp' and 'BH'), 'DAISIE' now requires Rcpp v(>= 1.0.10) and BH v(>= 1.81.0-1). See https://github.com/RcppCore/Rcpp/pull/1236 and https://github.com/eddelbuettel/bh/pull/90 respectively. Also require package 'DDD' v(>= 5.0.0).DAISIE_count_species()
to count the number of species in a datalist or simulated data.print_parameters_and_loglik()
.DAISIE_sim_cr_iw()
, which wrongly computed number of species at present. #147DAISIE_loglik_CS()
on the likelihood code for the continental sampling (probability of initial presence on the island).DAISIE_sim_cr_iw()
so replication works correctly.stac_key
vignette for details on each case):
methode = "odeint::adams_bashforth_moulton_X"
to the list of available
numeric integrators for parameter estimation.is.data.frame()
rather than class(foo) == "data.frame"
to satisfy CRAN note.DAISIE_CS_max_steps()
to manually change the maximum number of integration steps for the CS C++ integrators.totaltime
to total_time
.'deSolve'
are reinstated as the default ODE solvers.N.B.: MacOS users may experience issues when installing DAISIE, especially when on MacOS Big Sur. If that is you case, please see here for detailed installation instructions.
methode
to:
"odeint::runge_kutta_cash_karp54"
"odeint::runge_kutta_fehlberg78"
[default]"odeint::runge_kutta_dopri5"
"odeint::bulirsch_stoer"
without the odeint::
-prefix, the deSolve::ode
method is assumed. deSolve::ode
using "lsodes"
is still the default, as before. Make sure CS_version = 0
(default) to use C++ ODEINT numerical integration.
DAISIE_IW_num_threads()
for ML estimation of the IW model when more threads are available.N.B.: MacOS users may experience issues when installing DAISIE, especially when on MacOS Big Sur. If that is you case, please see here for detailed installation instructions.
N.B.: MacOS users may experience issues when installing DAISIE, especially when on MacOS Big Sur. If that is you case, please see here for detailed installation instructions.
CS_version = 0
. Improve CS_version
documentation.N.B.: MacOS users may experience issues when installing DAISIE, especially when on MacOS Big Sur. If that is you case, please see here for detailed installation instructions.
num_cycles
argument to ML functions, allowing to specify how many cycles the optimizer should take. Defaults to 1.N.B.: MacOS users may experience issues when installing DAISIE, especially when on MacOS Big Sur. If that is you case, please see here for detailed installation instructions.
N.B.: MacOS users may experience issues when installing DAISIE, especially when on MacOS Big Sur. If that is you case, please see here for detailed installation instructions.
DAISIE_loglikg_IW()
is now more efficient and numerically stable. Numerical integration is now done via C++ with package odeint
.MinAge
data status in DAISIE data objects. A status containing MinAge
sets a lower boundary for colonization in situations when the precise colonization time is unknown. This is interpreted by DAISIE_dataprep()
so that the information is passed on to the likelihood optimization functions. See the DAISIE_dataprep()
help page for more details. In the back-end this results in new stac
values 8 and 9.DAISIE_ONEcolonist()
when recolonization occurs. It has now been fixed so that the colonization and branching times are stored in the way that we now think is the best for it to be dealt with in the likelihood code. In recolonization cases, $other_clades_same_ancestor
renamed to $all_colonisations
. #125cond
.DAISIE_*_VERSION_NUMBER()
and all DAISIE_calc_*_rate()
funcions and get_brts_mya()
. #126DAISIE_make_global()
and create_island()
are now internal. #127NEWS.md
file to track changes to the package.Expands the possibility of conditioning simulations and MLE of the CS model on the number of colonizing lineages.
In simulation and ML functions, the cond
argument can now be greater than one. A non-zero cond
signifies that the ML or simulation is conditioned on having at least cond
colonizations on the island.
Implements #121, at sim and ML level.
Add BugReports, Website and missing ORCID in DESCRIPTION.
DESCRIPTION
.DAISIE_sim_relaxed_rate()
input is closer to DAISIE_ML()
input.DAISIE_sim_*()
syntax.DAISIE_ML_CS()
.sample_freq = Inf
in DAISIE_sim_*()
functions.DAISIE_plot_input()
. (Requires additional dependencies).Minor update to v2.0: when empty islands are simulated the output list contains only one element instead of two (where the second indicated stac = 0, i.e. no surviving colonization).
Contains the functions used in:
Valente L., Etienne R.S., Garcia-R J.C. (2019) Deep macroevolutionary impact of humans on New Zealand's unique avifauna. Current Biology , 29, 2563-2569.e4. https://doi.org/10.1016/j.cub.2019.06.058
Valente L., Phillimore A.B., Melo M. et al. (2020) A simple dynamic model explains the diversity of island birds worldwide. Nature , 579, 92–96. https://doi.org/10.1038/s41586-020-2022-5
Hauffe T, Delicado D, Etienne R.S. and Valente L. (2020) Lake expansion elevates equilibrium diversity via increasing colonisation. Journal of Biogeography. https://doi.org/10.1111/jbi.13914