Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Poppy Miller
sourceR
Commits
ac4ddc93
Commit
ac4ddc93
authored
Apr 11, 2017
by
Chris Jewell
Browse files
Fix to badly behaved isFiniteInteger function which was unlisting matrices.
parent
60ca9127
Changes
1
Hide whitespace changes
Inline
Side-by-side
R/utils.R
View file @
ac4ddc93
...
...
@@ -9,7 +9,9 @@
isFiniteInteger
=
function
(
x
)
{
is.finite
(
x
)
&
isTRUE
(
all.equal
(
x
,
as.integer
(
x
)))
int
=
x
mode
(
x
)
=
'integer'
is.finite
(
x
)
&
isTRUE
(
all.equal
(
x
,
int
))
}
isFiniteLogical
=
function
(
x
)
{
...
...
Write
Preview
Supports
Markdown
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