Skip to content

Commit

Permalink
Fix for Issue #252
Browse files Browse the repository at this point in the history
tests: increased suffix length in `plotLoadings()` label-length check
  • Loading branch information
Max-Bladen committed Oct 6, 2022
1 parent 970e8a9 commit 9b3acd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-plotLoadings.R
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ test_that("plotLoadings margin errrors is handled properly", code = {
gene = nutrimouse$gene
lipid = nutrimouse$lipid
## extend feature names
suff <- "-a-long-suffix-from-abolutely-nowhere-which-is-gonna-be-longer-than-margins"
suff <- "-a-long-suffix-from-abolutely-nowhere-which-is-gonna-be-longer-than-margins-and-you-best-believe-that-this-suffix-is-too-long"
colnames(gene) <- paste0(colnames(gene), suff)
colnames(lipid) <- paste0(colnames(lipid), suff)
data = list(gene = gene, lipid = lipid)
Expand Down

0 comments on commit 9b3acd8

Please sign in to comment.