SDITools / adobeanalyticsr

R Client for Adobe Analytics API v2.0
Other
18 stars 9 forks source link

Names attached to segments is breaking again #131

Closed charlie-gallagher closed 2 years ago

charlie-gallagher commented 2 years ago

Quietly hitting my head against a wall.. I know we fixed this already, so I'm not sure how this got back in. But I'll try to write a few unit tests this time to make sure it always works in the future.

This fails.

aw_freeform_table(
  segmentId = c("All Visits" = "All_Visits")
)

This succeeds.

aw_freeform_table(
  segmentId = unname(c("All Visits" = "All_Visits"))
)