Skip to content

Commit f15fb6f

Browse files
committed
Merge pull request #907 from yihui/rm-movies
fixes #837: remove the movies object
2 parents 1d5ab78 + c17f894 commit f15fb6f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

R/geom-bar-histogram.r

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@
113113
#' ggplot(diamonds_small, aes(depth, fill = cut)) +
114114
#' geom_density(alpha = 0.2) + xlim(55, 70)
115115
#' }
116+
#' rm(movies)
116117
geom_histogram <- function (mapping = NULL, data = NULL, stat = "bin", position = "stack", ...) {
117118
GeomHistogram$new(mapping = mapping, data = data, stat = stat, position = position, ...)
118119
}

man/geom_histogram.Rd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,5 +140,6 @@ ggplot(diamonds_small, aes(price, fill = cut)) +
140140
ggplot(diamonds_small, aes(depth, fill = cut)) +
141141
geom_density(alpha = 0.2) + xlim(55, 70)
142142
}
143+
rm(movies)
143144
}
144145

0 commit comments

Comments
 (0)