'Error when running align_move in moveVis package

I've got a move class object with 817 rows, downloaded from movebank using getMovebankData function, which I'm trying to visualize using the moveVis package. When using the align_move function:

m <- align_move(m = data, res = 6, unit= "hours",
            spaceMethod = "greatcircle")

I get the following error message:

Error in class(xx) <- cl : attempt to set an attribute on NULL

Where is the problem and how can I solve it?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source