Search code examples
rutf-8packageroxygen2

Warning about UTF-8 with roxygen2


I have a problem about UTF-8. After conducting roxygen2::roxygenise() for my package, it showed the warning message 'roxygen2 requires Encoding: UTF-8'. How can I fix it?

roxygen2::roxygenise()

>     Writing NAMESPACE
>     
>     Loading ABXTT
>     
>     Writing NAMESPACE
>     
>     Warning message:
>     
>     roxygen2 requires Encoding: UTF-8

Solution

  • Add:

    Encoding: UTF-8
    

    to your DESCRIPTION file.