-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no applicable method for 'smoothType' applied to an object of class "c('adam', 'smooth')" #204
Comments
Hi, Thanks for your message! smoothType is an internal function that extracts the type of model. It looks like a bug in how it is defined and how it is exported from the package. I'll fix this. Also, I noticed an issue with the interval type. This is now fixed in d49850c If you want to have the fix, you'll need to install the package from github. |
Should be fixed now in db1546e Please check and let me know if the problem (or a similar one) persists. |
Hello Ivan, Thanks for your quick reply. I have tested the new version and the standard example for smoothCombine() now works.
I am not sure this is still a bug or just me providing wrong parameters/data. |
Can you please try |
I have tried that but it makes no difference:
|
Thanks! I'll have a look when I have free time and try to fix it. Apologies for inconvenience. |
When I run the example code from smoothCombine() i get the following error:
I also get this error with my own data when i call smoothCombine()
I tried detaching/removing and reinstalling the smooth package from CRAN but still the error persists.
I am on linux with R 4.3 and:
If i look in the code for smoothCombine() there is a reference to a variable "smoothType" (on line 99) but it is never set:
And i can confirm that there are no names in the models object:
So if i run this code snippet manually i get the same error:
What should smoothType be? Do i have to set it manually before calling smoothCombine()?
Making the models named parameters does solve the smoothType error but throws another error:
The text was updated successfully, but these errors were encountered: