- using R Under development (unstable) (2024-12-17 r87446 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.3.0
GNU Fortran (GCC) 13.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'dartR/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'dartR' version '2.9.7'
- 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'dartR' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... 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 ... [12s] OK
- checking whether the package can be loaded with stated dependencies ... [12s] OK
- checking whether the package can be unloaded cleanly ... [11s] OK
- checking whether the namespace can be loaded with stated dependencies ... [10s] OK
- checking whether the namespace can be unloaded cleanly ... [11s] OK
- checking loading without being on the library search path ... [12s] OK
- checking whether startup messages can be suppressed ... [12s] 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 ... [67s] OK
- checking Rd files ... [4s] NOTE
checkRd: (-1) gl.filter.maf.Rd:7: Lost braces; missing escapes or markup?
7 | {adegenet} object}
| ^
checkRd: (-1) gl.pcoa.Rd:68: Lost braces; missing escapes or markup?
68 | The function is essentially a wrapper for glPca {adegenet} or pcoa \{ape\}
| ^
checkRd: (-1) gl.play.history.Rd:17: Lost braces
17 | code{x2@other$history[c(1,4,5)]}). [optional].}
| ^
checkRd: (-1) utils.jackknife.Rd:49: Lost braces
49 | bold{Note} that when n is very small, jackknife resampling is not recommended.
| ^
checkRd: (-1) utils.jackknife.Rd:51: Lost braces
51 | Parallel computation is implemented. The argument code{n.cores} indicates the
| ^
- checking Rd metadata ... OK
- checking Rd cross-references ... NOTE
Found the following Rd file(s) with Rd \link{} targets missing package
anchors:
gl.genleastcost.Rd: landgenreport, popgenreport, wassermann, lgrMMRR
utils.dart2genlight.Rd: adegenet
Please provide package anchors for all Rd \link{} targets not in the
package itself and the base packages.
- 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 contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [4s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking sizes of PDF files under 'inst/doc' ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [40s] ERROR
Running examples in 'dartR-Ex.R' failed
The error most likely occurred in:
> ### Name: gl.filter.ld
> ### Title: Filters loci based on linkage disequilibrium (LD)
> ### Aliases: gl.filter.ld
>
> ### ** Examples
>
> ## Not run:
> ##D test <- bandicoot.gl
> ##D test <- gl.filter.callrate(test,threshold = 1)
> ##D res <- gl.report.ld.map(test)
> ##D res_2 <- gl.filter.ld(x=test,ld_report = res)
> ##D res_3 <- gl.report.ld.map(res_2)
> ## End(Not run)
> if ((requireNamespace("snpStats", quietly = TRUE)) & (requireNamespace("fields", quietly = TRUE))) {
+ test <- gl.filter.callrate(platypus.gl, threshold = 1)
+ test <- gl.filter.monomorphs(test)
+ test <- test[,1:20]
+ report <- gl.report.ld.map(test)
+ res <- gl.filter.ld(x=test,ld_report = report)
+ }
Starting gl.filter.callrate
Processing genlight object with SNP data
Warning: data include loci that are scored NA across all individuals.
Consider filtering using gl <- gl.filter.allna(gl)
Warning: Data may include monomorphic loci in call rate
calculations for filtering
Recalculating Call Rate
Removing loci based on Call Rate, threshold = 1
Completed: gl.filter.callrate
Starting gl.filter.monomorphs
Processing genlight object with SNP data
Identifying monomorphic loci
Removing monomorphic loci and loci with all missing
data
Completed: gl.filter.monomorphs
Starting gl.report.ld.map
Processing genlight object with SNP data
Calculating pairwise LD in population SEVERN_ABOVE
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [13s] OK
Running 'testthat.R' [13s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [9s] OK
- checking PDF version of manual ... [34s] OK
- checking HTML version of manual ... [45s] OK
- DONE
Status: 1 ERROR, 2 NOTEs