Skip to content
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

Error using window on FLBiol #48

Closed
pdolder opened this issue Dec 18, 2017 · 2 comments
Closed

Error using window on FLBiol #48

pdolder opened this issue Dec 18, 2017 · 2 comments

Comments

@pdolder
Copy link
Member

pdolder commented Dec 18, 2017

Hi,

I get the error:

"Error in names(object@mat) <- name :
'names' attribute [200] must be the same length as the vector [1]"

when using window() on an FLBiol to expand the year range. This has only occurred since the change to FLCore_2.6.5.9018, so something to do with the new predictModel for fec and mat. Note though, it did not occur in the previous version I was using (.9010, I think) which already had the predictModel class.

A minimum example is:

biol <- FLBiol()
window(biol, 1, 200)

Any ideas?

Thanks,
Paul

@iagomosqueira
Copy link
Member

iagomosqueira commented Dec 18, 2017

This got broken when fixing something else, apologies. Version 2.6.5.2019 has the fix.

@pdolder
Copy link
Member Author

pdolder commented Dec 18, 2017

Great, thanks!

@pdolder pdolder closed this as completed Dec 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants