stevenpawley / h2oparsnip

Model Wrappers for H2O models
Other
19 stars 3 forks source link

Error installing the package : Error: package or namespace load failed for 'h2oparsnip': #3

Closed manher1992 closed 4 years ago

manher1992 commented 4 years ago

Hey, During the installation I get the error :

building package indices testing if installed package can be loaded from temporary location Error: package or namespace load failed for 'h2oparsnip': .onLoad failed in loadNamespace() for 'h2oparsnip', details: call: NULL error: The values passed to set_encoding() are missing arguments: 'compute_intercept', 'remove_intercept' Fehler: Laden fehlgeschlagen Ausführung angehalten ERROR: loading failed

Do you have any idea where this error comes from ?

stevenpawley commented 4 years ago

Thanks for reporting. Looks like recent changes with parsnip have caused the issue - some additional encoding options were added to parsnip to specify how each model_spec deals with encoding factor variables. I'll update h20parnip later today to accommodate this.

manher1992 commented 4 years ago

Let me know when I can try again. I'll test it right away.

stevenpawley commented 4 years ago

It should be fixed and updated now to reflect the new encoding options in parsnip.

manher1992 commented 4 years ago

Thank you, it works.