Skip to content

Commit 0d4755d

Browse files
committed
par -> graphics::par
1 parent ddae0c7 commit 0d4755d

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

R/ds.contourPlot.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ ds.contourPlot <- function(x=NULL, y=NULL, type='combine', show='all', numints=2
121121
}
122122

123123
# Save par and setup reseting of par values
124-
old_par <- par(no.readonly = TRUE)
125-
on.exit(par(old_par), add = TRUE)
124+
old_par <- graphics::par(no.readonly = TRUE)
125+
on.exit(graphics::par(old_par), add = TRUE)
126126

127127
# check if the input objects are defined in all the studies
128128
isDefined(datasources, x)

R/ds.heatmapPlot.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ ds.heatmapPlot <- function(x=NULL, y=NULL, type="combine", show="all", numints=2
170170
}
171171

172172
# Save par and setup reseting of par values
173-
old_par <- par(no.readonly = TRUE)
174-
on.exit(par(old_par), add = TRUE)
173+
old_par <- graphics::par(no.readonly = TRUE)
174+
on.exit(graphics::par(old_par), add = TRUE)
175175

176176
# check if the input objects are defined in all the studies
177177
isDefined(datasources, x)

R/ds.histogram.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ ds.histogram <- function(x=NULL, type="split", num.breaks=10, method="smallCells
168168
}
169169

170170
# Save par and setup reseting of par values
171-
old_par <- par(no.readonly = TRUE)
172-
on.exit(par(old_par), add = TRUE)
171+
old_par <- graphics::par(no.readonly = TRUE)
172+
on.exit(graphics::par(old_par), add = TRUE)
173173

174174
# check if the input object is defined in all the studies
175175
isDefined(datasources, x)

R/ds.scatterPlot.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ ds.scatterPlot <- function(x=NULL, y=NULL, method='deterministic', k=3, noise=0.
148148
}
149149

150150
# Save par and setup reseting of par values
151-
old_par <- par(no.readonly = TRUE)
152-
on.exit(par(old_par), add = TRUE)
151+
old_par <- graphics::par(no.readonly = TRUE)
152+
on.exit(graphics::par(old_par), add = TRUE)
153153

154154
# check if the input objects are defined in all the studies
155155
isDefined(datasources, x)

0 commit comments

Comments
 (0)