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

function missing #30

Open
hoppydata opened this issue Nov 29, 2017 · 1 comment
Open

function missing #30

hoppydata opened this issue Nov 29, 2017 · 1 comment

Comments

@hoppydata
Copy link

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!

@jmcastagnetto
Copy link

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:

  1. Copy that code in yours and use it.
  2. Get the package code, fix locally and install from that version

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