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

Comments

Projects
None yet
2 participants
@mfherman

mfherman commented Nov 16, 2017

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

This comment has been minimized.

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