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

Problems with installation "missing value where TRUE/FALSE needed" #58

Open
itpradise opened this issue Nov 24, 2021 · 8 comments
Open

Comments

@itpradise
Copy link

I tried to install the package dlookr but there is a error message:
"Error in install.packages : missing value where TRUE/FALSE needed"
Someone can help me with this?

@choonghyunryu
Copy link
Owner

@itpradise,

Information is too limited.
Please provide the full error message and the result of sessionInfo().

@swati1415
Copy link

We were getting the same error below is complete code
Install.packages("dlookr")
Installing package into ‘C:/Users/Apaar Agarwal/OneDrive/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
also installing the dependencies ‘websocket’, ‘libcoin’, ‘mvtnorm’, ‘inum’, ‘reactR’, ‘pagedown’, ‘partykit’, ‘reactable’

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/websocket_1.4.1.zip'
Content type 'application/zip' length 4077999 bytes (3.9 MB)
downloaded 3.9 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/libcoin_1.0-9.zip'
Content type 'application/zip' length 1005140 bytes (981 KB)
downloaded 981 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/mvtnorm_1.1-3.zip'
Content type 'application/zip' length 271312 bytes (264 KB)
downloaded 264 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/inum_1.0-4.zip'
Content type 'application/zip' length 39403 bytes (38 KB)
downloaded 38 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/reactR_0.4.4.zip'
Content type 'application/zip' length 623678 bytes (609 KB)
downloaded 609 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/pagedown_0.16.zip'
Content type 'application/zip' length 306038 bytes (298 KB)
downloaded 298 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/partykit_1.2-15.zip'
Content type 'application/zip' length 2455366 bytes (2.3 MB)
downloaded 2.3 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/reactable_0.2.3.zip'
Content type 'application/zip' length 347696 bytes (339 KB)
downloaded 339 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/dlookr_0.5.4.zip'
Content type 'application/zip' length 2008792 bytes (1.9 MB)
downloaded 1.9 MB

Error in install.packages : missing value where TRUE/FALSE needed

@choonghyunryu
Copy link
Owner

choonghyunryu commented Feb 28, 2022

@swati1415,

thank you your response.

Try to run clean R session (no Rstudio, no other instances running, etc) and run following command:

install.packages("dlookr", dependencies = TRUE, repos = "https://cran.r-project.org/")

If this failed please provide results (from the same session) from running sessionInfo().

@swati1415
Copy link

swati1415 commented Feb 28, 2022 via email

@swati1415
Copy link

swati1415 commented Mar 2, 2022 via email

@choonghyunryu
Copy link
Owner

@swati1415,

Thanks for your response.

However, there is no explicit answer to whether the problem has been resolved.
Is the problem resolved?

Regards

@DChal01
Copy link

DChal01 commented Mar 3, 2022

I tried the solution you proposed, but unfortunately it didn't resolve the problem.

@choonghyunryu
Copy link
Owner

Please refer to the following URL. It seems to be an R package installation environment issue.:

https://community.rstudio.com/t/error-error-in-install-packages-missing-value-where-true-false-needed/58351/6

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

4 participants