We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Posting in case others run into this and also to make sure this update was intended.
Previously, I've used:
> packageVersion("rappdirs") [1] ‘0.3.1’ > > rappdirs::user_cache_dir("foo", version = c("a", "b")) [1] "/home/hb/.cache/foo/a/b"
With the new rappdirs 0.3.2, I now get:
> packageVersion("rappdirs") [1] ‘0.3.2’ > rappdirs::user_cache_dir("foo", version = c("a", "b")) [1] "~/.cache/foo/a" "~/.cache/foo/b"
The reason appears to be that rappdirs:::file_path(x) is now vectorized;
rappdirs:::file_path(x)
> packageVersion("rappdirs") [1] ‘0.3.2’ > rappdirs:::file_path(c("a", "b")) [1] "a" "b"
> packageVersion("rappdirs") [1] ‘0.3.1’ > rappdirs:::file_path(c("a", "b")) [1] "a/b"
The solution/workaround for is:
> packageVersion("rappdirs") [1] ‘0.3.2’ > rappdirs::user_cache_dir("foo", version = do.call(file.path, as.list(c("a", "b")))) [1] "/home/hb/.cache/foo/a/b"
The text was updated successfully, but these errors were encountered:
Ooops, I'll fix that ASAP.
Sorry, something went wrong.
7934229
No branches or pull requests
Posting in case others run into this and also to make sure this update was intended.
Previously, I've used:
With the new rappdirs 0.3.2, I now get:
The reason appears to be that
rappdirs:::file_path(x)
is now vectorized;The solution/workaround for is:
The text was updated successfully, but these errors were encountered: