Closed hannes101 closed 4 years ago
Hi @hannes101, thanks a lot for raising the issue.
The reason for the issue is that v0.10.0 introduced alternate names for some of the lode guidance functions. See the news file for details. The vignette you linked to on CRAN is pretty recent (last month), so it uses these updated names. Could you check the version number of your ggalluvial installation? If it is before v0.10.0, then an update should synchronize you with the CRAN vignette. (I re-installed from CRAN just now and was able to reproduce the figure as in the vignette.)
Strangely, the GitHub CRAN mirror is still at v0.9.1 and so does not reflect the changes from v0.10.0. I'm not sure why this is, and perhaps it's unrelated, but i noticed it while examining the issue.
Please comment again if this doesn't resolve things! If it does, please let me know by closing the issue. : )
Ok, that's then caused by the outdated version here in my corporate environment, which I can't update. Thanks for the really quick reply and sorry for not checking the versions properly.
Not a problem. The news file also shows which old names correspond to which new ones, in case it's not clear from the documentation. Take care.
Description of the issue
Thanks for the package, the plots are really nice. I just found a small issue in the vignette. I was using the vignette on CRAN (https://cran.r-project.org/web/packages/ggalluvial/vignettes/ggalluvial.html) to get to know the package and adapt my data to the needs of the package. There appears that somehow the value for the lode.guidance option of geom_flow changed. Because when you want to execute the plot
It fails with a warning:
I think this is because the values changed to the ones, currently described in help("lode-guidance-functions").