8000 ph_phylomatic function test failing · Issue #34 · ropensci/phylocomr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
ph_phylomatic function test failing #34
Open
@LunaSare

Description

@LunaSare

Simple devtools::check() gives error below, but running the functions outside the test does work:

══ Failed tests ════════════════════════════════════════════════════════════════
── Error (test-phylomatic.R:20:2): ph_phylomatic works with chr string input ───
Error: Program '/private/var/folders/ss/2tpkp325521_kfgn59g44vd80000gn/T/RtmptTM9Ev/phylocomr.Rcheck/phylocomr/bin//phylomatic' terminated by SIGNAL (Trace/BPT trap: 5)
Backtrace:1. └─phylocomr::ph_phylomatic(taxa = taxa_str, phylo = phylo_str) at test-phylomatic.R:20:1
 2.   ├─base::suppressWarnings(...)
 3.   │ └─base::withCallingHandlers(...)
 4.   └─phylocomr::phylomatic(...)
 5.     └─phylocomr:::run("phylomatic", args, intern)
 6.       └─sys::exec_internal(path, args, error = FALSE)
 7.         └─sys::exec_wait(...)
 8.           └─sys:::execute(...)

Running the following from RStudio or R command line works:

taxa_file <- system.file("examples/taxa", package = "phylocomr")
phylo_file <- system.file("examples/phylo", package = "phylocomr")

taxa_str <- readLines(taxa_file)
phylo_str <- readLines(phylo_file)

 aa <- ph_phylomatic(taxa = taxa_str, phylo = phylo_str)
Session Info
> sessionInfo()
R version 4.2.0 (2022-04-22)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Monterey 12.6

Matrix products: default
BLAS:   /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/lib/libRblas.0.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

loaded via a namespace (and not attached):
[1] compiler_4.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0