Skip to content

[R-package] CRAN error: r-devel-linux-x86_64-debian-clang #5502

@jameslamb

Description

@jameslamb

Description

CRAN checks for {lightgbm} are showing an ERROR for the r-devel-linux-x86_64-debian-clang check flavor.

image

https://cran.r-project.org/web/checks/check_results_lightgbm.html

Reproducible example

I haven't tried to reproduce this yet outside of the CRAN system.

According to CRAN's logs (link), exactly one test is failing.

     == Failed ======================================================================
     -- 1. Failure (test_basic.R:1276:5): lgb.train() supports non-ASCII feature name
     dumped_model[["feature_names"]] not identical to iconv(feature_names, to = "UTF-8").
     4/4 mismatches
     x[1]: "F_é\u009b¶"
     y[1]: "F_<U+96F6>"
    
     x[2]: "F_äž\u0080"
     y[2]: "F_<U+4E00>"
    
     x[3]: "F_äº\u008c"
     y[3]: "F_<U+4E8C>"
    
     x[4]: "F_äž\u0089"
     y[4]: "F_<U+4E09>"
    
     == DONE ========================================================================
     Error: Test failures
     Execution halted

Additional Comments

This project has a CI job (#4164) that is intended to exactly replicate CRAN's r-devel-linux-x86_64-debian-clang check. That job has been succeeding. I'm not sure yet what the difference is between that job and CRAN's setup.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions