Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New load message repeats package name #94

Closed
mfherman opened this issue Nov 16, 2017 · 1 comment
Closed

New load message repeats package name #94

mfherman opened this issue Nov 16, 2017 · 1 comment

Comments

@mfherman
Copy link

This mostly is an aesthetic issue, but I notice that when loading tidyverse 1.2.1, the startup message will recycle and reprint the name of a tidyverse package if you load an odd number of packages with the library(tidyverse) call. This would be the case if you previously load one of the tidyverse packages and then call library(tidyverse). Below are examples that demonstrate this.

No repeats:

library(tidyverse)
#> ── Attaching packages ──────────────────────────────────────────────── tidyverse 1.2.1 ──
#> ✔ ggplot2 2.2.1.9000     ✔ purrr   0.2.4     
#> ✔ tibble  1.3.4          ✔ dplyr   0.7.4     
#> ✔ tidyr   0.7.2          ✔ stringr 1.2.0     
#> ✔ readr   1.1.1          ✔ forcats 0.2.0
#> ── Conflicts ─────────────────────────────────────────────────── tidyverse_conflicts() ──
#> ✖ dplyr::filter() masks stats::filter()
#> ✖ dplyr::lag()    masks stats::lag()

Repeats tibble:

library(ggplot2)
library(tidyverse)
#> ── Attaching packages ──────────────────────────────────────────────── tidyverse 1.2.1 ──
#> ✔ tibble  1.3.4     ✔ purrr   0.2.4
#> ✔ tidyr   0.7.2     ✔ dplyr   0.7.4
#> ✔ readr   1.1.1     ✔ stringr 1.2.0
#> ✔ tibble  1.3.4     ✔ forcats 0.2.0
#> ── Conflicts ─────────────────────────────────────────────────── tidyverse_conflicts() ──
#> ✖ dplyr::filter() masks stats::filter()
#> ✖ dplyr::lag()    masks stats::lag()

No repeats:

library(ggplot2)
library(purrr)
library(tidyverse)
#> ── Attaching packages ──────────────────────────────────────────────── tidyverse 1.2.1 ──
#> ✔ tibble  1.3.4     ✔ dplyr   0.7.4
#> ✔ tidyr   0.7.2     ✔ stringr 1.2.0
#> ✔ readr   1.1.1     ✔ forcats 0.2.0
#> ── Conflicts ─────────────────────────────────────────────────── tidyverse_conflicts() ──
#> ✖ dplyr::filter() masks stats::filter()
#> ✖ dplyr::lag()    masks stats::lag()

Repeats tidyr:

library(ggplot2)
library(purrr)
library(tibble)
library(tidyverse)
#> ── Attaching packages ──────────────────────────────────────────────── tidyverse 1.2.1 ──
#> ✔ tidyr   0.7.2     ✔ dplyr   0.7.4
#> ✔ readr   1.1.1     ✔ stringr 1.2.0
#> ✔ tidyr   0.7.2     ✔ forcats 0.2.0
#> ── Conflicts ─────────────────────────────────────────────────── tidyverse_conflicts() ──
#> ✖ dplyr::filter() masks stats::filter()
#> ✖ dplyr::lag()    masks stats::lag()
@hadley
Copy link
Member

hadley commented Nov 16, 2017

Doh. Thanks for the bug report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants