YAML turns "n" into FALSE
Closed this issue · 1 comments
hughjonesd commented
From the YAML:
args:
n: number of points in polygon [int]
This leads to the Norway problem.
In R:
> devout::devinfo$device_call$polygon
$desc
[1] "draw a polygon"
$args
$args$`FALSE`
[1] "number of points in polygon [int]"
$args$x
[1] "coords [vec dbl]"
$args$y
[1] "coords [vec dbl]"
coolbutuseless commented
Thanks! I had previously fixed the 'y' names to stop them being interpreted as TRUE, but had somehow neglected the 'n' names.