"...git@developer.sourcefind.cn:tsoc/superbenchmark.git" did not exist on "60b13256d08fdaa898be8f05c39637796223eac8"
Unverified Commit dc09d1b4 authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[R-package] fix inaccurate error message in Dataset get_colnames() method (#4588)



* [R-package] fix inaccurate log message in Dataset get_colnames() method

* Update R-package/R/lgb.Dataset.R
Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
parent e0d93b5d
...@@ -410,10 +410,10 @@ Dataset <- R6::R6Class( ...@@ -410,10 +410,10 @@ Dataset <- R6::R6Class(
} else { } else {
# Trying to work with unknown dimensions is not possible # Trying to work with unknown formats is not possible
stop( stop(
"dim: cannot get dimensions before dataset has been constructed, please call " "Dataset$get_colnames(): cannot get column names before dataset has been constructed, please call "
, "lgb.Dataset.construct explicitly" , "lgb.Dataset.construct() explicitly"
) )
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment