Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
BartJanvanRossum committed Feb 5, 2025
1 parent d131ae6 commit 9012763
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ public
^CRAN-RELEASE$
developmentScripts
pkgdown
revdep
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ Roxygen: list(markdown = TRUE)
Suggests:
rmarkdown,
knitr,
tinytest
tinytest,
R.utils
VignetteBuilder: knitr
URL: https://biometris.github.io/statgenIBD/index.html, https://github.com/Biometris/statgenIBD/
BugReports: https://github.com/Biometris/statgenIBD/issues
File renamed without changes.
5 changes: 3 additions & 2 deletions inst/tinytest/test_readRABBIT.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,11 @@ expect_equal(barleyMPP$markers, barleyMPP2$markers)

## Define input files.

genoFileJulia <- file.path("rabbitJulia", "example_magicreconstruct_ancestry.csv.gz")
pedFileJulia <- file.path("rabbitJulia", "example_ped.csv")
genoFileJulia <- file.path(".", "example_magicreconstruct_ancestry.csv.gz")
pedFileJulia <- file.path(".", "example_ped.csv")

## Different combinations of inputs should give similar output.

expect_silent(exMPP <- readRABBIT(infile = genoFileJulia))
expect_silent(exMPP2 <- readRABBIT(infile = genoFileJulia, pedFile = pedFileJulia))

Expand Down

0 comments on commit 9012763

Please sign in to comment.