Giter VIP home page Giter VIP logo

Comments (6)

hadley avatar hadley commented on June 1, 2024

Can you please provide a minimal reprex (reproducible example)? The goal of a reprex is to make it as easy as possible for me to recreate your problem so that I can fix it: please help me help you!

If you've never heard of a reprex before, start by reading "What is a reprex", and follow the advice further down the page.

from tidyverse.

ahcyip avatar ahcyip commented on June 1, 2024
tidyverse_update()
#> Error in eval(expr, envir, enclos): could not find function "tidyverse_update"
library(tidyverse)
#> Loading tidyverse: ggplot2
#> Loading tidyverse: tibble
#> Loading tidyverse: tidyr
#> Loading tidyverse: readr
#> Loading tidyverse: purrr
#> Loading tidyverse: dplyr
#> Conflicts with tidy packages ----------------------------------------------
#> filter(): dplyr, stats
#> lag():    dplyr, stats
tidyverse_update()
#> The following packages are out of date:
#>  * ggplot2 (2.2.0 -> 2.2.1)
#>  * tidyr   (0.6.0 -> 0.6.1)
#> Update now?

#1: Yes
#2: No

# Selection: Yes
# Warning: packages ‘ggplot2’, ‘tidyr’ are in use and will not be installed

from tidyverse.

hadley avatar hadley commented on June 1, 2024

Hmmm, I'm not sure what system you're on that's preventing this, but try not loading tidyverse and instead just running tidyverse::tidyverse_update()

from tidyverse.

ahcyip avatar ahcyip commented on June 1, 2024

Thank you! tidyverse::tidyverse_update() worked.

Rstudio 1.0.136 on Windows 10
tidyverse_update() #Error: could not find function "tidyverse_update"

from tidyverse.

ahcyip avatar ahcyip commented on June 1, 2024

Sorry, still having trouble with tidyverse_update().
Maybe I'm not following proper installation procedure - don't install packages while they are currently loaded?
Things seem to be working fine if I restart RStudio and do the install/update before running anything else.

tidyverse::tidyverse_update()
The following packages are out of date:

  • purrr (0.2.2 -> 0.2.2.2)
  • readr (1.0.0 -> 1.1.0)
  • tibble (1.2 -> 1.3.0)
  • tidyr (0.6.1 -> 0.6.2)
    Update now?

1: Yes
2: No

Selection: 1
package ‘purrr’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘purrr’
package ‘readr’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘readr’
package ‘tibble’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘tibble’
package ‘tidyr’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘tidyr’

library(tidyverse) # 6 core tidyverse packages
Loading tidyverse: ggplot2
Loading tidyverse: tibble
Loading tidyverse: tidyr
Loading tidyverse: readr
Loading tidyverse: purrr
Loading tidyverse: dplyr
Error : .onAttach failed in attachNamespace() for 'tidyverse', details:
call: FUN(X[[i]], ...)
error: there is no package called ‘tibble’
Error: package or namespace load failed for ‘tidyverse’

from tidyverse.

JohnRoelofse avatar JohnRoelofse commented on June 1, 2024

I ran into the same problem now. I just restarted R Studio and used install.packages() to update each package that couldn't update using tidyverse_update().

from tidyverse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.