geanders / noaastormevents_paper

0 stars 0 forks source link

Conflicts with loading tidyverse package #1

Closed theresekon closed 4 years ago

theresekon commented 4 years ago

When I knit the noaastormevents paper and it tries to run library(noaastormevents) and library(tidyverse), I get a list of conflicts that appears like this:

-- Conflicts ------------------------------------------------------- tidyverse_conflicts() -- x dplyr::filter() masks stats::filter() x dplyr::lag() masks stats::lag(

geanders commented 4 years ago

These are fine. It just means that if you call filter or lag now, it will use the tidyverse version, rather than the stats version that otherwise would have run. This won't be a problem for this paper.

You can get rid of this by adding warning = FALSE and message = FALSE to the r code chunk options. Change

  ```{r}

to

  ```{r warning = FALSE, message = FALSE}

for the code chunk where you load the tidyverse package, and it should take away those messages.

theresekon commented 4 years ago

Okay thank you! Adding in that line took away the messages.

geanders commented 4 years ago

Great! Do you have permissions to close an issue? (Do you see a little "Close" button at the end of this thread that you can click?) If so, go ahead and close this one. If not, I'll check the repo settings and get you that permission.