- using R version 4.5.2 Patched (2026-01-31 r89392)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.3.0-12) 14.3.0
GNU Fortran (Debian 14.3.0-12) 14.3.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘microhaplot/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘microhaplot’ version ‘1.0.1’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘microhaplot’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [3s/5s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking LazyData ... INFO
'LazyData' is specified without a 'data' directory
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [5s/7s] ERROR
Running examples in ‘microhaplot-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: prepHaplotFiles
> ### Title: Extracts haplotype from alignment reads.
> ### Aliases: prepHaplotFiles
>
> ### ** Examples
>
>
> run.label <- "sebastes"
>
> sam.path <- tempdir()
> untar(system.file("extdata",
+ "sebastes_sam.tar.gz",
+ package="microhaplot"),
+ exdir = sam.path)
>
>
> label.path <- file.path(sam.path, "label.txt")
> vcf.path <- file.path(sam.path, "sebastes.vcf")
>
> mvShinyHaplot(tempdir())
[1] TRUE
> app.path <- file.path(tempdir(), "microhaplot")
>
> # retrieve system Perl version number
> perl.version <- as.numeric(system('perl -e "print $];"', intern=TRUE))
>
> if (perl.version >= 5.014) {
+ haplo.read.tbl <- prepHaplotFiles(run.label = run.label,
+ sam.path = sam.path,
+ out.path = tempdir(),
+ label.path = label.path,
+ vcf.path = vcf.path,
+ app.path = app.path)
+ }else {
+ message("Perl version is outdated. Must >= 5.014.")}
Perl is found in system
...running Hapture.pl to extract haplotype information (takes a while)...
Error:
! `tbl_df()` was deprecated in dplyr 1.0.0 and is now defunct.
ℹ Please use `tibble::as_tibble()` instead.
Backtrace:
▆
1. ├─microhaplot::prepHaplotFiles(...)
2. │ └─... %>% dplyr::tbl_df()
3. └─dplyr::tbl_df(.)
4. └─lifecycle::deprecate_stop("1.0.0", "tbl_df()", "tibble::as_tibble()")
5. └─lifecycle:::deprecate_stop0(msg)
6. └─rlang::cnd_signal(...)
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [5s/6s] OK
- checking PDF version of manual ... [4s/5s] OK
- checking HTML version of manual ... [0s/0s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR