This is a simple fix to avoid proceeding into the if closure for cases where there would be only one value greater than 0, causing an error when attempting to generate a histogram.
Build is successful on both my work and local systems:
Win 10 x64 R 3.4.1
and Win 7 x64 R 3.4.3
I tried trelliscope() on both the reproducible example provided by @ataustin and a much larger project (~30 displays, many thousands of panels). Both rendered successfully without error.
What was done :
Addresses #55
This is a simple fix to avoid proceeding into the
if
closure for cases where there would be only one value greater than 0, causing an error when attempting to generate a histogram.Build is successful on both my work and local systems: Win 10 x64 R 3.4.1 and Win 7 x64 R 3.4.3
I tried
trelliscope()
on both the reproducible example provided by @ataustin and a much larger project (~30 displays, many thousands of panels). Both rendered successfully without error.For reference, this is the example I tried:
Notes :
get_cog_distributions()
, though I'm happy to do that and provide the results here if needed.