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

Can't install rlang 0.4.7 on windows 10 x64 #1024

Closed
Andrzej-Andrzej opened this issue Jul 12, 2020 · 10 comments
Closed

Can't install rlang 0.4.7 on windows 10 x64 #1024

Andrzej-Andrzej opened this issue Jul 12, 2020 · 10 comments

Comments

@Andrzej-Andrzej
Copy link

Hi ,
I can't install rlang 0.4.7 on windows 10 x64. Version 0.4.6 is OK.
What should I do ?
R 4.0.2,
When I try to install it I receive an errors about "permission denied", I can't even install dev version of rlang.

@lionel-
Copy link
Member

lionel- commented Jul 13, 2020

I don't think I can help you with permission errors. Maybe post in a help forum like Community or StackOverflow? I would try to include more information in your question.

@lionel- lionel- closed this as completed Jul 13, 2020
@lionel-
Copy link
Member

lionel- commented Jul 13, 2020

Maybe the permission error only occurs when compiling, so if you wait for the binaries to come out, it might resolve itself. You can see on https://cran.r-project.org/web/packages/rlang/index.html that Windows binaries are still not there.

@Andrzej-Andrzej
Copy link
Author

Andrzej-Andrzej commented Jul 13, 2020

Yes, that problem occurs when compiling, but why rlang can't compile properly whilst other packages can ?
When rlang windows binaries will be available on Cran ?

Error: Unknown lifecycle stage superseded
Backtrace:
x

  1. -tools:::.install_packages()
  2. -tools:::do_install(pkg)
  3. \-tools:::do_install_source(pkg_name, instdir, pkg, desc)
    
  4.   \-tools:::.convertRdfiles(...)
    
  5.     \-tools:::.convert(...)
    
  6.       +-base::withCallingHandlers(...)
    
  7.       \-base::tryCatch(expr, error = .ehandler)
    
  8.         \-base:::tryCatchList(expr, classes, parentenv, handlers)
    
  9.           \-base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
    
  10.             \-value[[3L]](cond)
    

@lionel-
Copy link
Member

lionel- commented Jul 13, 2020

Sorry I don't know the answer to these questions.

@lionel-
Copy link
Member

lionel- commented Jul 13, 2020

oh hmmm, this is interesting:

Error: Unknown lifecycle stage superseded

@lionel- lionel- reopened this Jul 13, 2020
@lionel-
Copy link
Member

lionel- commented Jul 13, 2020

I think it's using the old rlang:::lifecycle() function from your previous install to create the doc files, instead of the new version.

Can you try reinstalling with a completely fresh session? Double-check in sessionInfo() that rlang is not already loaded before installing.

@dnadle
Copy link

dnadle commented Jul 18, 2020

I get a 404. rlang_0.4.7.zip is not present in https://cran.rstudio.com/bin/windows/contrib/4.0/

@lionel-
Copy link
Member

lionel- commented Jul 19, 2020

Maybe the binary didn't propagate to that mirror yet. Try https://cran.r-project.org/bin/windows/contrib/4.0/rlang_0.4.7.zip instead.

@lionel- lionel- closed this as completed Jul 19, 2020
@Shicheng-Guo
Copy link

Same here, \R\R-4.0.2\library\rlang\libs\x64\rlang.dll: Permission denied

_install.packages("rlang_0.4.7.tar.gz", repos = NULL, type = "source")

  • installing source package 'rlang' ...
    ** package 'rlang' successfully unpacked and MD5 sums checked
    ERROR: cannot remove earlier installation, is it in use?
  • removing 'C:/Users/sguo2/OneDrive - JNJ/Documents/R/R-4.0.2/library/rlang'
  • restoring previous '/R/R-4.0.2/library/rlang'
    Warning in file.copy(lp, dirname(pkgdir), recursive = TRUE, copy.date = TRUE) :
    problem copying R\R-4.0.2\library\00LOCK-rlang\rlang\libs\x64\rlang.dll to R\R-4.0.2\library\rlang\libs\x64\rlang.dll: Permission denied
    Warning in install.packages :
    installation of package ‘rlang_0.4.7.tar.gz’ had non-zero exit status_

@lionel-
Copy link
Member

lionel- commented Aug 4, 2020

@Shicheng-Guo I think this is the relevant part:

ERROR: cannot remove earlier installation, is it in use?

See rstats-wtf/what-they-forgot#62 (comment)

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

No branches or pull requests

4 participants