fontawesome/ 0000755 0001762 0000144 00000000000 14716153232 012605 5 ustar ligges users fontawesome/tests/ 0000755 0001762 0000144 00000000000 14716150410 013742 5 ustar ligges users fontawesome/tests/testthat/ 0000755 0001762 0000144 00000000000 14716153232 015607 5 ustar ligges users fontawesome/tests/testthat/test-fa_icon.R 0000644 0001762 0000144 00000021725 14715741135 020320 0 ustar ligges users library(dplyr)
test_that("Getting a basic FA icon works", {
# Emit a Font Awesome icon (`file`) as SVG within `svg` tags;
# refer to the icon with the "short" name
expect_equal(
as.character(fa(name = "file", prefer_type = "solid")),
''
)
expect_equal(
as.character(fa(name = "file", prefer_type = "regular")),
''
)
# Emit a Font Awesome icon (`file`) as SVG within `