390-2020-09-Fall / foofactors

Minimally viable R package based on the "R Packages" book Chapter 2: The whole game
https://r-pkgs.org/whole-game.html
Other
1 stars 0 forks source link

Haleys first reprex #21

Open heschmidt opened 4 years ago

heschmidt commented 4 years ago
library(dplyr)
#> Warning: package 'dplyr' was built under R version 3.6.2
#> 
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#> 
#>     filter, lag
#> The following objects are masked from 'package:base':
#> 
#>     intersect, setdiff, setequal, union

ggplot(mtcars, aes(x = as.factor(cyl), y = hp)) +
  geom_boxplot()
#> Error in ggplot(mtcars, aes(x = as.factor(cyl), y = hp)): could not find function "ggplot"

Created on 2020-10-06 by the reprex package (v0.3.0)

heschmidt commented 4 years ago
library(dplyr)
#> Warning: package 'dplyr' was built under R version 3.6.2
#> 
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#> 
#>     filter, lag
#> The following objects are masked from 'package:base':
#> 
#>     intersect, setdiff, setequal, union
library(ggplot2)
#> Warning: package 'ggplot2' was built under R version 3.6.2
ggplot(mtcars, aes(x = as.factor(cyl), y = hp)) +
  geom_boxplot()

Created on 2020-10-06 by the reprex package (v0.3.0)