mdsr-book / mdsr2exercises

exercises for Modern Data Science with R
0 stars 2 forks source link

bear-bid-drawer.Rmd #9

Closed nicholasjhorton closed 3 years ago

nicholasjhorton commented 3 years ago

Do we need to fake out the solution?

processing file: ~/Downloads/foo.Rmd
Quitting from lines 3-7 (~/Downloads/foo.Rmd) 
Quitting from lines 9-10 (~/Downloads/foo.Rmd) 
Error: package 'dplyr' is required by 'recipes' so will not be detached
In addition: There were 21 warnings (use warnings() to see them)
Execution halted
Error in Rscript_render(f, render_args, render_meta, add1, add2) : 
  Failed to compile index.Rmd
Calls: <Anonymous> ... render_book -> render_new_session -> Rscript_render
Execution halted

Exited with status 1.

here's the exercise:

mdsr2exercises::setup()
library(tidyverse)
library(mdsr)
detach("package:dplyr")

TITLE GOES HERE: The following code chunk throws an error.

mtcars %>%
  select(mpg, cyl)
beanumber commented 3 years ago

Does this only happen when you compile the solutions manual with the learning chapters?

nicholasjhorton commented 3 years ago

Yes.