I run a program on Databricks, and also test it locally. I'm about to use the renv
package to have more control over the R environment on Databricks.
I know renv
and the R environment don't control everything – and my local machine and Databricks are on different OS – and falls short of containerizing like with Docker, but as a halfway point, I'm wondering if it makes sense to upload the renv
lockfile
from my local machine so that I force Databricks to use the same package versions.
Would this work / do any good? Or would it likely fail because the underlying OS are different?