RakipInitiative / ModelRepository

Joint project of EFSA, Federal Institute For Risk Assessment, DTU and ANSES to create a online model repository.
GNU General Public License v3.0
2 stars 0 forks source link

testflows fail on Windows maven build ( R Home is invalid) #400

Closed schuelet closed 2 years ago

schuelet commented 2 years ago

When running maven clean verify with enabled testflows I get an error. Caused by: de.bund.bfr.knime.fsklab.preferences.RBinUtil$InvalidRHomeException: R_HOME does not exist. R_HOME ('lib\R') is meant to be the path to the folder which is the root of R's installation tree.

The path to R Home is not set properly for Windows. It works on Linux, presumably because the path happens to be usr/lib/R.

If the path needs to be set manually, where do I need to do that?

schuelet commented 2 years ago

@ahmadswaid The maven build still fails during the testflows with the same error.When I run the eclipse build, the preferences point to my local R. Are those the information that the maven script uses? Isn't the maven build supposed to take the bundled R to run the test-workflows on Windows?

image
schuelet commented 2 years ago

fixed in https://github.com/SiLeBAT/FSK-Lab/pull/1025