Closed colearendt closed 3 years ago
My thought is that each pin should be one "thing", but that thing might be a directory. I'm not sure how much work this will be; I think it's mostly testing it and fixing all the places that I assumed that a pin would be a file.
Superseded by #427, I think.
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.
Current / legacy pins behavior:
zip
a directoryzip = TRUE
argument to "force" the zip behaviorHowever,
zip = TRUE
is a confusing way to tell pins "I want to publish a directory, please zip it up for me"withr::with_dir()
in thezip
flow did not work, because it changes the working directory sufficiently to break the inherent directory names / zip name /.zip
output location, etc.I had to change this (
saved_model
is a directory):To this: