Closed stemangiola closed 3 months ago
Controllers are designed to operate only within the R session where they are originally created. They are not designed to be saved to disk. If you need to save something to disk to load later, I recommend instead saving the R code you used to generate the controller.
Prework
crew
package itself and not a user error, known limitation, or issue from another package thatcrew
depends on. For example, if you get errors runningtar_make_clustermq()
, try isolating the problem in a reproducible example that runsclustermq
and notcrew
. And for miscellaneous troubleshooting, please post to discussions instead of issues.Description
crew_controller_group cannot be saved to a variable and used inside _targets.R, but crew_controller_local can
Please describe the bug.
Reproducible example
This works
If I try to save the controller into a variable first, it fails with core dumped
But if I try to save a simpler controller, not a group, it works
I would like the second case to work.
Thanks a lot.