Hi,
    I am seeking help on error messages from Debian-gcc check  –

  1.  My package passed checks on windows and macos,  but failed on debian-gcc 
with testthat.R error. I don’t have a linux box, and was not able to check it 
via r-hub-linux-platforms since some of bioc dependencies are not installed on 
r-hub. What should I do for the error check, any ideas?
  2.  testthat.R runs pretty well on my macos machine. I am thinking error from 
debian was caused by tempdir()? this is the code of how I created the temp 
folder  fd_out = as.character(paste0(tempdir(), "/", "outputs", "/")) . The 
error will go away if I change the code to fd_out = tempdir() ?
  3.  Also,  tempdir() is something like this 
"/var/folders/_p/vkt5cmsn2559zqnyhpdwnnsr0000gn/T//RtmpUHe1uR" .  I wonder if 
the double slashes doesn’t recognized by linux?

Thanks,

Joan Zhang

Version: 0.1.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [157s/277s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(epitopR)
     >
     > test_check("epitopR")
     [ FAIL 1 | WARN 0 | SKIP 2 | PASS 0 ]

     ══ Skipped tests 
═══════════════════════════════════════════════════════════════
     • empty test (2)

     ══ Failed tests 
════════════════════════════════════════════════════════════════
     ── Error (test-core_mut.R:10:3): test core_mut 
────────────────────────────────
     
<vctrs_error_subscript_oob/vctrs_error_subscript/rlang_error/error/condition>
     Error in `select(., -c(id, seq_num))`: Can't subset columns that don't 
exist.
     x Column `id` doesn't exist.



        [[alternative HTML version deleted]]

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to