Poppr version 2.8.6
poppr 2.8.6
BUG FIX
read.genalex()
now can import columns with entirely "T" alleles as "T"
instead of "TRUE". (See #214 for details, thanks to @planteering for pointing it out).
NEW IMPORTS
- Progress bars are now implemented via the
{progressr}
package,
which gives the user control over what should be displayed (or not). For
example, to get auditory updates instead of a progress bar, you can use the
"beepr" package and setprogressr::handlers("beepr")
. This will play an alert
for each step (~50) and a final sound. To suppress all progress bars entirely,
you can useprogressr::handlers("void")
. These progress bars have replaced
theutils::txtProgressBar()
anddplyr::progress_estimated()
bars.
Here's a fun demonstration of how you can customize poppr's progress bars, which you can read more about in the {progressr} documentation
if (!require("progress")) install.packages("progress")
library("poppr")
data(Pinf)
library("progressr")
handlers(
handler_progress(
format = ":spin :current/:total [:bar] :percent in :elapsed ETA: :eta",
complete = "^",
incomplete = "_",
current = "😻",
clear = FALSE
)
)
ia(Pinf, sample = 399, plot = FALSE)