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

Install only 64-bit on R-devel Windows #339

Closed
yutannihilation opened this issue Aug 7, 2021 · 2 comments
Closed

Install only 64-bit on R-devel Windows #339

yutannihilation opened this issue Aug 7, 2021 · 2 comments

Comments

@yutannihilation
Copy link
Contributor

It seems the R-devel stopped providing 32-bit binaries for Windows. Accordingly, installing both arch is now problematic as it will make R CMD check run as multiarch by default unless --no-multiarch is specified, whereas 32-bit binaries are not available. So, I think setup-r action should install only 64-bit when the version is devel (though I don't find the option for this yet).

Here's the error I got when I run R-devel GitHub Action.

 ** running tests for arch 'i386' ...

  Running 'testthat.R'

 ERROR

Running the tests in 'tests/testthat.R' failed.

Complete output:

  > library(testthat)

  Error: package 'testthat' is not installed for 'arch = i386'

  Execution halted

** running tests for arch 'x64' ...

  Running 'testthat.R'

 OK

(https://github.com/yutannihilation/string2path/runs/3267901746?check_suite_focus=true#step:12:184)

R-release

❯ wget -O testthat_R-release.zip https://cran.r-project.org/bin/windows/contrib/4.1/testthat_3.0.4.zip
❯ unzip -l testthat_R-release.zip | grep libs
        0  2021-08-05 13:55   testthat/libs/
        0  2021-08-05 13:54   testthat/libs/i386/
    14851  2021-08-05 13:54   testthat/libs/i386/symbols.rds
  1433102  2021-08-05 13:54   testthat/libs/i386/testthat.dll
        0  2021-08-05 13:55   testthat/libs/x64/
    14984  2021-08-05 13:55   testthat/libs/x64/symbols.rds
  1271296  2021-08-05 13:55   testthat/libs/x64/testthat.dll

R-devel

❯ wget -O testthat_R-devel.zip https://cran.r-project.org/bin/windows/contrib/4.2/testthat_3.0.4.zip
❯ unzip -l testthat_R-devel.zip | grep libs
        0  2021-07-31 12:54   testthat/libs/
        0  2021-07-31 12:54   testthat/libs/x64/
    15005  2021-07-31 12:54   testthat/libs/x64/symbols.rds
  1271296  2021-07-31 12:54   testthat/libs/x64/testthat.dll

@yutannihilation
Copy link
Contributor Author

It seems this is resolved now 🎉 (maybe on R-devel's side?). Closing.

riccardoporreca added a commit to miraisolutions/rTRNG that referenced this issue Mar 9, 2022
* This should not be an issue anymore on `r-devel`, see #26 and r-lib/actions#339

This reverts commit 3a07928.
riccardoporreca added a commit to miraisolutions/rTRNG that referenced this issue Mar 9, 2022
* This should not be an issue anymore on `r-devel`, see #26 and r-lib/actions#339

This reverts commit cd896d1.
@github-actions
Copy link

github-actions bot commented Nov 6, 2022

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue and include a link to this issue

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant