Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
20e63387
Unverified
Commit
20e63387
authored
Jun 06, 2021
by
James Lamb
Committed by
GitHub
Jun 05, 2021
Browse files
[R-package] resolve test warning about is.na() and handles (#4341)
parent
4ccf92be
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
R-package/tests/testthat/test_dataset.R
R-package/tests/testthat/test_dataset.R
+2
-1
No files found.
R-package/tests/testthat/test_dataset.R
View file @
20e63387
...
...
@@ -82,7 +82,8 @@ test_that("lgb.Dataset: Dataset should be able to construct from matrix and retu
,
lightgbm
:::
lgb.params2str
(
params
=
list
())
,
ref_handle
)
expect_false
(
is.na
(
handle
))
expect_is
(
handle
,
"externalptr"
)
expect_false
(
is.null
(
handle
))
.Call
(
LGBM_DatasetFree_R
,
handle
)
handle
<-
NULL
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment