Skip to content

Conversation

@jennybc
Copy link
Contributor

@jennybc jennybc commented Jul 31, 2025

Fixes #276

It appears that this test setup inadvertently worked in the past, but no longer does as a side effect of the commit I mention in #276.

But the path argument of the create_*() functions has long been documented like so (emphasis mine, for this conversation):

A path. If it exists, it is used. If it does not exist, it is created, provided that the parent path exists.

So this PR makes sure that the directory {TMPDIR}/subdir/subdir2 exists prior to trying to create a project in it. Apparently this worked in the past, but it was always sort of counter to the docs.

@jennybc jennybc mentioned this pull request Jul 31, 2025
24 tasks
@VincentGuyader VincentGuyader self-requested a review August 4, 2025 13:34
@VincentGuyader VincentGuyader merged commit ab739c6 into ThinkR-open:main Aug 4, 2025
8 of 9 checks passed
@jennybc
Copy link
Contributor Author

jennybc commented Aug 28, 2025

usethis 3.2.0 is on CRAN now FYI.

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.

Test failure with soon-to-be-released usethis

2 participants