• R语言
  • Rmd 用`Knit to PDF(Beamer)`生成包含中文的演示文稿时弹出关于`CJK`的警告

我在Windows10上用tinytex生成包含中文的演示文稿,可以生成出来,但是警告内容如下:

Warning message:
LaTeX Warning: You have requested package `xecjk',
               but the package provides `xeCJK'.
Package xeCJK Warning: Fandol is being set as the default font for CJK text.
(xeCJK)                Please make sure it has been properly installed.
Package fontspec Warning: Font "FandolHei-Regular" does not contain requested
(fontspec)                Script "CJK".
Package fontspec Warning: Font "FandolFang-Regular" does not contain requested
(fontspec)                Script "CJK".

请问如何解决这个警告呢?
版本信息如下:

xfun::session_info('rmarkdown')
    #> R version 4.0.2 (2020-06-22)
    #> Platform: x86_64-w64-mingw32/x64 (64-bit)
    #> Running under: Windows 10 x64 (build 14393)
    #> 
    #> Locale:
    #>   LC_COLLATE=Chinese (Simplified)_China.936 
    #>   LC_CTYPE=Chinese (Simplified)_China.936   
    #>   LC_MONETARY=Chinese (Simplified)_China.936
    #>   LC_NUMERIC=C                              
    #>   LC_TIME=Chinese (Simplified)_China.936    
    #> 
    #> Package version:
    #>   base64enc_0.1.3 digest_0.6.25   evaluate_0.14   glue_1.4.1     
    #>   graphics_4.0.1  grDevices_4.0.1 highr_0.8       htmltools_0.5.0
    #>   jsonlite_1.6.1  knitr_1.28      magrittr_1.5    markdown_1.1   
    #>   methods_4.0.1   mime_0.9        rlang_0.4.6     rmarkdown_2.2  
    #>   stats_4.0.1     stringi_1.4.6   stringr_1.4.0   tinytex_0.25   
    #>   tools_4.0.1     utils_4.0.1     xfun_0.14       yaml_2.2.1     
    #> 
    #> Pandoc version: 2.10.1

<sup>Created on 2020-10-11 by the reprex package (v0.3.0)</sup>