Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to avoid subdirectory overload - but it doesn't work yet #217

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nickjparkinson
Copy link

@raisin-toast - I had a crack but I just cannot seem to get this change to work.

It seems to work fine with .png. But as soon as we go to saving .pptx, it doesn't like the filenames. I think lines 203 and 221 are the problems. Any hints?

@@ -171,6 +173,11 @@ grattan_save <- function(filename,

# create subdirectory
dir <- tools::file_path_sans_ext(filename)

if (isFALSE(subdirectory)) {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sure there is a more elegant way than this - any hints?

@MattCowgill
Copy link
Contributor

I can't help but feel partly responsible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option not to create subdirectory by default in grattan_save
2 participants