NEWS
dartRverse 1.3.0 (2026-11-23)
- dartRverse packages at version 1.3.0 (dartR.data stays at 1.2.7, as on
CRAN; dartR.captive is 1.3.1, with a fix to
gl.test.offspring()):
file-backed (FBM) objects are
read from disk in blocks across dartR.base, dartR.popgen, dartR.spatial,
dartR.captive, dartR.sexlinked and dartR.sim (see their NEWS).
dartRverse_install() and gl.download.binary(): a tip above the table
says that the console can be clicked (versions, [install] links, ticks),
as few users expect that. In dartRverse_install() the line that
installs all packages now also comes before the table instead of after
it, where it was missed.
gl.download.binary(): "coancestry" (the program dartR_coancestry used
by dartR.captive::gl.relatedness() and gl.diagnostics.relatedness())
is documented, and the notice after its download names those functions.
dartRverse 1.2.7
dartRverse_install() now installs, updates and handles Bioconductor:
- Loaded dartR packages can be updated without restarting R. Affected
packages are unloaded and loaded again in their original place on the
search path. A restart is needed only if a package outside the dartRverse
imports the package, or on Windows if the update needs a newer version of
a loaded third-party package with compiled code.
dartRverse_install("all") now installs all 7 packages from CRAN, including
those not installed yet. It used to print commands to copy. Use
dartRverse_install("all", rep = "Github", branch = "dev") for a branch.
- Bioconductor packages that are missing or fail to load, including LEA, are
installed automatically. The function used to stop if SNPRelate or snpStats
was missing, and did not check LEA. BiocManager is a new dependency.
- The version table has links, where the console supports them, to CRAN and
Github and to run an install.
- The version table first says that it is reading the versions from CRAN
and Github, which can take a moment.
- Packages are installed in dependency order, not in the order given.
- Github installs no longer offer to upgrade outdated dependencies.
- R no longer asks whether to build a newer source version during an install.
- The download timeout is raised to at least 10 minutes during an install, and
a failed download from CRAN or Bioconductor is tried once more.
- Github installs use the Bioconductor release chosen by BiocManager, unless
R_BIOC_VERSION is set.
dartRverse_install() behaviour changes:
- A failed install now ends in an error naming the packages that failed,
after trying the others. A failed CRAN install used to give only a
warning, and a failed Github install skipped the remaining packages. The
restart message prints only after a successful install, and a package
detached for the install is re-attached if the install fails.
- The function no longer attaches dartR packages, so code that relied on
this must call
library(). library(dartRverse) still attaches them.
The version table marks a package that is installed but fails to load.
- Supplying
branch with rep = "CRAN" is now an error (branch used to
be ignored, so CRAN was installed). A NULL or vector branch and an
empty package are also errors, and duplicate package names install once.
dartR.data can be installed on its own without SNPRelate and snpStats.
- The Github commands printed by
dartRverse_install("all") now include
dartR.data and dartR.base.
- README: the example that installs a Github branch uses
rep; it used
repository, which is not an argument and gave an error.
- Startup message: a dartRverse package that is installed but fails to
load is now listed under "Installed but failed to load" with its error,
instead of "Not [yet] installed". A single missing core package is now
listed. The install advice includes snpStats.
options(dartRverse.quiet = TRUE) now also hides the welcome banner.
dartRverse_install(): an unknown package name now stops with an error
listing the valid names (it used to return -1), and an unrecognised or
NULL rep stops with an error (it used to do nothing). Several packages
can be installed in one call. Before installing, it checks for the
Bioconductor packages SNPRelate and snpStats and prints the
BiocManager::install() commands if either is missing. After
reinstalling a loaded package it tells the user to restart R. The
version table shows ? for versions it could not read instead of
stopping.
- devtools is no longer imported; Github installs use
remotes::install_github().
gl.download.binary(): listing mode (software = NULL) now shows the
binaries on branch (default "main") instead of always dev.
Software names are converted to lower case, so the documented
"NeEstimator", "Stairway2" and "Gone" now download. Download and
listing failures report their cause.
gl.download.binary() binaries table:
- In consoles that support links, such as RStudio, clicking a tick
downloads that binary into
tempdir(). Where links can only open web
pages, the tick opens the zip file. The links call the new alias
download_binary(), because RStudio does not run links to functions
with dots in their name.
- Ticks and crosses are drawn with symbols found in common console fonts
(
√ and ×), so the box around the table stays square.
- After a download,
gl.download.binary() says which software was
downloaded, which dartR functions use it (linked to their help pages where
the console supports it) and asks you to check their help pages to cite
the program and its methods correctly.
gl.download.binary() makes the unzipped mac and linux binaries
executable for everyone (mode 777), also when the zip file was made on
Windows.
- RCurl is no longer imported.