From 7c5bbde00e0f33385158f277b9a7a6bb5b0322da Mon Sep 17 00:00:00 2001 From: Joyce Robbins Date: Sat, 12 Oct 2019 09:00:58 -0400 Subject: [PATCH] add troubleshooting tips --- basics.Rmd | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/basics.Rmd b/basics.Rmd index 42f105f97..71ba85830 100644 --- a/basics.Rmd +++ b/basics.Rmd @@ -67,6 +67,20 @@ rstudio_latest_version <- **General advice**: don't get caught up in the details. Keep a list of questions and move on. +## Troubleshooting + +### Document doesn't knit + +Click "Session" "Restart R" and then run the chunks one by one from the top until you find the error. + +### Functions stop working + +Strange behavior from functions that previously worked are often caused by function conflicts. This can happen if you have two packages loaded with the same function names. To indicate the proper package, *namespace* it. Conflicts commonly occure with `select` and `filter` and `map`. If you intend the tidyverse ones use: + +`dplyr::select`, `dplyr::filter` and `purrr::map`. + +(Run across other conflicts or have more troubleshooting tips? Submit an [issue](https://github.com/jtr13/edav/issues){target="_blank"} + ## Tips & Tricks ### Knitr