Closed wlandau closed 4 years ago
Possible reason: sapply()
returns an empty list for keys
. Maybe vapply()
would be safer. Not sure if this is the only thing that needs to be done internally.
https://github.com/mschubert/clustermq/blob/b1bbb49a6d38a33cf3fc70024ba2e242464248f0/R/qsys.r#L246
I'm very confused by this issue:
Ok, I see the issue: glue
is replacing all double curly braces {{ ... }}
by a single curly brace { ... }
.
This is not recognized by the template fillter, because it needs double braces. Nothing to do with iterated data though?
However, the error message could be improved.
Proposed change, after:
If there are not matches for the required keys, fail with a clean error message
Great catch. Sorry for the confusion. When I changed my code to use glue correctly it works like a charm. Thanks!
Q()
struggles to fill in the template when we supply a nested list as iterated data. On an SGE cluster: