streamgraph
streamgraph copied to clipboard
function missing
i can find the function sg_add_marker() in the help pages but it seems missing.
no errors while installing the latest package version 0.8.1 on R.3.4.2
> g%>% sg_add_marker(x=2010,"ahoi")
Error in sg_add_marker(., x = 2010, "ahoi") :
could not find function "sg_add_marker"
> ls("package:streamgraph")
[1] "%>%" "renderStreamgraph" "sg_annotate" "sg_axis_x" "sg_axis_y"
[6] "sg_colors" "sg_fill_brewer" "sg_fill_manual" "sg_fill_tableau" "sg_legend"
[11] "sg_title" "streamgraph" "streamgraphOutput" "widgetThumbnail"
keep up the good work. cheers!
Seems like there is the @export line missing in https://github.com/hrbrmstr/streamgraph/blob/master/R/marker.r
Workarounds until this is fixed in this repo:
- Copy that code in yours and use it.
- Get the package code, fix locally and install from that version