File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -3,25 +3,25 @@ library(dataedu)
33context(" test-palette_dataedu.R" )
44
55test_that(" dataedu_pal() main works" , {
6- p <- dataedu_pal()
6+ p <- dataedu ::: dataedu_pal()
77 expect_is(p , " function" )
8- for (i in 1 : 5 ) {
8+ for (i in 1 : 6 ) {
99 expect_hexcolor(p(i ))
1010 }
1111})
1212
1313test_that(" dataedu_pal() reverse works" , {
14- p <- dataedu_pal(reverse = TRUE )
14+ p <- dataedu ::: dataedu_pal(reverse = TRUE )
1515 expect_is(p , " function" )
16- for (i in 1 : 5 ) {
16+ for (i in 1 : 6 ) {
1717 expect_hexcolor(p(i ))
1818 }
1919})
2020
2121test_that(" scale_color_dataedu() works" , {
22- expect_is(scale_color_dataedu(), " ScaleDiscrete" )
22+ expect_is(dataedu ::: scale_color_dataedu(), " ScaleDiscrete" )
2323})
2424
2525test_that(" scale_fill_dataedu() works" , {
26- expect_is(scale_fill_dataedu(), " ScaleDiscrete" )
26+ expect_is(dataedu ::: scale_fill_dataedu(), " ScaleDiscrete" )
2727})
You can’t perform that action at this time.
0 commit comments