소스 검색

Fix #3 extrafonts -> extrafont (thanks @statnmap)

pull/4/head
Garrick Aden-Buie 8 년 전
부모
커밋
7ff1eeafaf
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. +4
    -4
      R/theme_pomological.R

+ 4
- 4
R/theme_pomological.R 파일 보기

@@ -141,13 +141,13 @@ check_font <- function(font_name) {
} else {
if (!font_name %in% extrafont::fonts()) {
if (font_name %in% font_urls$name) {
warning("Font '", font_name, "' isn't in the extrafonts font list (but it may still work). ",
"If recently installed, you can try running `extrafonts::font_import()`. ",
warning("Font '", font_name, "' isn't in the extrafont font list (but it may still work). ",
"If recently installed, you can try running `extrafont::font_import()`. ",
"To install, visit: ", font_urls[font_urls$name == font_name, "url"],
call. = FALSE)
} else {
warning("Font '", font_name, "' isn't in the extrafonts font list (but it may still work). ",
"If recently installed, you can try running `extrafonts::font_import()`. ",
warning("Font '", font_name, "' isn't in the extrafont font list (but it may still work). ",
"If recently installed, you can try running `extrafont::font_import()`. ",
call. = FALSE)
}
}

Loading…
취소
저장