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

rlang 0.4.2 windows binary #873

Closed
enoshliang opened this issue Nov 25, 2019 · 4 comments
Closed

rlang 0.4.2 windows binary #873

enoshliang opened this issue Nov 25, 2019 · 4 comments

Comments

@enoshliang
Copy link

Hello, when I tried to install devtools, the following message showed up

There is a binary version available but the source version is later:
binary source needs_compilation
rlang 0.4.1 0.4.2 TRUE

Binaries will be installed

Then when I tried to install another package "phenor" that is dependent on it, the following error message showed up

package ‘rlang’ successfully unpacked and MD5 sums checked
Error: Failed to install 'phenor' from GitHub:
(converted from warning) cannot remove prior installation of package ‘rlang’

Can anyone help me with updating rlang to its latest version?

@lionel-
Copy link
Member

lionel- commented Nov 25, 2019

This should do it:

install.packages("rlang", type = "binary")

@enoshliang
Copy link
Author

thank you, but the same message showed up

There is a binary version available (and will be installed) but the source version is later:
binary source
rlang 0.4.1 0.4.2

I also tried

install.packages("rlang", type = "source")

and got the following error

Warning in system(cmd) : 'make' not found
ERROR: compilation failed for package 'rlang'

  • removing '\ad.uky.edu/AS/Geography/LLI225/Documents/R/win-library/3.6/rlang'
    Warning in install.packages :
    installation of package ‘rlang’ had non-zero exit status

@lionel-
Copy link
Member

lionel- commented Nov 25, 2019

Are you sure it didn't work? The message above says the binary version "will be installed".

By the way, check rstats-wtf/what-they-forgot#62 (comment)

@lionel-
Copy link
Member

lionel- commented Nov 25, 2019

oops sorry I didn't read your initial post properly. Check the link above for how to properly install binary packages on Windows. Following the advice there should fix your issue. In particular, all sessions must be closed.

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