Skip to content

Commit 54135cc

Browse files
committed
remove incorrect use of is.integer()
is.numeric(x) is TRUE even if x is an integer anyway
1 parent 82784e6 commit 54135cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/factor_barchart_class.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ setMethod(f="chart.plot",
4848

4949
X=dobj$data
5050

51-
if (is.numeric(obj$feature_to_plot) | is.integer()) {
51+
if (is.numeric(obj$feature_to_plot)) {
5252
varn=colnames(X)[obj$feature_to_plot]
5353
} else {
5454
varn=obj$feature_to_plot

0 commit comments

Comments
 (0)