I am trying to use github actions for package checking adapted from biocthis
for my package rmelting
.
I am having issues with macOS and windows for both r-devel 4.1.0 (BioC 3.13) and r-release 4.0.4 (BioC 3.12).
All the builds are failing with the following message in both macOS and windows.
ERROR: dependency ‘rJava’ is not available for package ‘rmelting’
Bioconductor machines are testing successfully with a modification according to .BBSoptions.
# The reason this package is marked as unsupported on win32 is that
# it requires the Java JDK. However it seems that Oracle no longer
# provides the JDK for 32-bit windows:
# https://www.oracle.com/java/technologies/javase-jdk14-downloads.html
UnsupportedPlatforms: win32
I have tried the following fixes with no success.
- Adding
actions/setup-java@v1
to the yml file. - For windows, tried
"--no-multiarch"
option for both installingrJava
andrmelting
.
How to setup rJava
properly for all these platforms ?
I did check all the packages that depend on
rJava
as suggested, but could not find any with GHA workflows for macOS and windows.Right now I have disabled the windows and macOS tests in the GHA workflow.