Conversation
|
Checks are not passing. This branch seems to be out of date compared to develop. |
modified: NAMESPACE modified: tests/testthat/test-multi_rarefy.R
modified: tests/testthat/test-do_phyloseq.R
|
|
What should I do here next @jibarozzo @B-Kristy ? |
|
The errors in the check point to: https://github.com/germs-lab/BRCore/actions/runs/15202638884/job/42759431560?pr=30 I am currently working on another where I think I inherited these error. Let's see what the tests say. |
|
This is what you need to do. In your do_phyloseq.R update this: Option 1 Note that I am calling You load Then uodate the man pages, NAMESPACE, etc... |
|
@jibarozzo now the error is different is at line 252 it seems the and at 227 there is this what is |
|
|
ok, then I will just add the |
|
|
| import(rlang) | ||
| import(tibble) | ||
| import(tidyr) | ||
| import(tidyverse) |
There was a problem hiding this comment.
@Gian77 Let's not import "tidyverse" completely. See https://stackoverflow.com/questions/44992890/including-tidyverse-packages-in-another-package
There was a problem hiding this comment.
The tests are failing because you updated NAMESPACE but not DESCRIPTION. First update DESCRIPTION then NAMESPACE. Everything declared in the description must be declared in namespece, and vice versa.
There was a problem hiding this comment.
Where are you importing "furrr" and tidyverse"?
| export(is_hpc_environment) | ||
| export(multi_rarefy) | ||
| export(nmds_screen_parallel) | ||
| export(parallel_multi_rarefy) |
There was a problem hiding this comment.
Where is this function?
…ts/Depends entries:
'furrr', 'tidyverse'" introduced by undeclared exports and mismatch between NAMESPACE and DESCRIPTION.
|
Submitted the requested changes. Let's see if tests pass. If they do, I'll merge tomorrow. |
|
@Gian77 Once I solved the NAMESPACE and DESCRIPTION issues we encounter a new error. This time in the tests themselves. |
| read_counts <- sample_sums(test_phyloseq_rare) | ||
|
|
||
| # Test if all the samples have the same number of reads | ||
| expect_true(all(read_counts == read_counts[1])) |
There was a problem hiding this comment.
This is the source of error failure in Github actions. In local machine this works. @Gian77
There was a problem hiding this comment.
Yeah, locally works... Sorry to have do extra work to fix my push problems :D
|
Do you think we can reject this PR and close it so we can move forward? I am not sure why does not work... |
|
I'm jumping back on this this week. I've been out of office. |
|
ok, here we go |
|
@jibarozzo why is failing on macos? |
According to Co-pilot: "The macOS failure likely arises due to implicit differences in R's handling of data structures or file reading between macOS and Ubuntu." I'll implement some changes in the tests and see. Stay put |
|
I am more than ready! @jibarozzo |
|
@Gian77 checks passed. |
|
@jibarozzo This is great! Thank you. We can keep cranking then now! |
I added the two checks for the
multi_rarefy()and thedo_phyloseq(). I tested thm locally and they seem to work. I used thetest_phyloseqdataset for the test because theesophagousis really too small.