Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dramanica committed Oct 19, 2024
1 parent 8732195 commit cb11a1d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/vcf-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
devtools
any::devtools
needs: check

# - uses: r-lib/actions/check-r-package@v2
Expand All @@ -58,9 +58,8 @@ jobs:
vcf_path <- system.file("extdata/pop_b.vcf", package = "tidypopgen")
pop_b_vcf_gt <- gen_tibble(vcf_path, quiet=TRUE,backingfile = tempfile(),
parser="vcfR")
all.equal(show_genotypes(pop_b_gt),show_genotypes(pop_b_vcf_gt))
# reload it in chunks
pop_b_vcf_gt2 <- gen_tibble(vcf_path, quiet=TRUE,backingfile = tempfile(),
chunk_size = 2, parser = "vcfR")
all.equal(show_genotypes(pop_b_vcf_gt2),show_genotypes(pop_b_vcf_gt))
pop_b_vcf_fast_gt <- gen_tibble(vcf_path, quiet=TRUE,backingfile = tempfile(),
chunk_size = 2, parser = "cpp")
all.equal(show_genotypes(pop_b_vcf_fast_gt),show_genotypes(pop_b_vcf_gt))
shell: Rscript {0}

0 comments on commit cb11a1d

Please sign in to comment.