This is an R package that implements the ecocrop algorithm.
You can install it with:
install.packages('Recocrop', repos='https://cropmodels.r-universe.dev')