Skip to content

Commit

Permalink
resolve pipe issue for CRAN release
Browse files Browse the repository at this point in the history
  • Loading branch information
wjakethompson committed Aug 16, 2021
1 parent 403b23f commit d51baae
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/testthat/test-data.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ test_that("data has expected dimensions", {
expect_equal(ncol(taylor_albums), 4L)

albums <-
taylor_all_songs[which((!taylor_all_songs$ep) &
!is.na(taylor_all_songs$album_name)),
"album_name"] |>
unique()
unique(taylor_all_songs[which((!taylor_all_songs$ep) &
!is.na(taylor_all_songs$album_name)),
"album_name"])

albums <- tolower(albums[[1]])
albums <- gsub("\\ ", "_", albums)
Expand Down

0 comments on commit d51baae

Please sign in to comment.