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

Building from github fails on Windows #497

Closed
Generalized opened this issue Jul 4, 2024 · 3 comments
Closed

Building from github fails on Windows #497

Generalized opened this issue Jul 4, 2024 · 3 comments
Labels

Comments

@Generalized
Copy link

Generalized commented Jul 4, 2024

Hi,

I use the command remotes::install_github("rvlenth/emmeans", dependencies = TRUE, build_opts = "")

It always worked, until now. I wanted to update the version that pools the degrees of freedom from imputed data. I noticed you mentioned some error in the code (*2 rather than ^2) and I'm afraid if my current version has this error...

But now it fails completely

Enter one or more numbers, or an empty line to skip updates: 
── R CMD build ────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔  checking for file 'C:\Users\.........\Temp\RtmpaGmsoH\remotes3a20159a5b54\rvlenth-emmeans-ce2cddf/DESCRIPTION' ... 
─  preparing 'emmeans': (433ms)
✔  checking DESCRIPTION meta-information ... 
─  checking for LF line-endings in source and make files and shell scripts (419ms)
─  checking for empty or unneeded directories
─  building 'emmeans_1.10.3.tar.gz'
   
    ERROR
   cannot change to directory ''
Error: Failed to install 'emmeans' from GitHub:
! System command 'Rcmd.exe' failed

I use R 4.2.0


OK, it works when the parameter build_opts is removed, i.e. this work: remotes::install_github("rvlenth/emmeans")

@Generalized Generalized added the bug label Jul 4, 2024
@rvlenth
Copy link
Owner

rvlenth commented Jul 4, 2024 via email

@Generalized
Copy link
Author

Thank you.
It also works when the parameter build_opts is removed, i.e. this work: remotes::install_github("rvlenth/emmeans")

And thank God I updated it, because I realized that the DFs are different from what I had previously working with imputed data. Now each row has different DF, which shows that the pooling is actually done through Rubin's rules. Now I have the chance to update all analyses before sending my work.

Repository owner deleted a comment from Generalized Jul 6, 2024
@rvlenth
Copy link
Owner

rvlenth commented Jul 6, 2024

I get the same error. I changed the instructions to omit build_opts and add build_vignettes = TRUE with a note that this argument may be omitted. It will be in the next push.

@rvlenth rvlenth closed this as completed Jul 6, 2024
rvlenth added a commit that referenced this issue Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants