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

devtools::release() breaks with unicode characters in tempdir() path #2508

Closed
mikolajsp opened this issue Mar 24, 2023 · 2 comments
Closed
Labels
reprex needs a minimal reproducible example

Comments

@mikolajsp
Copy link

Hello,

I've encountered an issue with the devtools::submit_cran() function. I would like to mention at the beginning, that I'm not sure if the problem is in the devtools package, or in some dependency like httr.

I'm working in a Windows environment, and my username has a unicode character in it, specifically "ł". For this reason, the default Windows temporary directory

Replication of the issue:

  1. Set the system environment variable TMPDIR to a path containing the character "ł", in my case it is C:\Users\Mikołaj\AppData\Local\Temp

  2. Try to release something to CRAN

Workaround:

Set the TMPDIR to a path without Unicode characters e.g. C:\temp

@jennybc
Copy link
Member

jennybc commented Mar 24, 2023

Possibly a duplicate of #2422

I would need to see more specifics to know for sure (a reprex, including session info), but I suspect the root problem might be one of the known issues in fs, such as r-lib/fs#383.

@jennybc jennybc added the reprex needs a minimal reproducible example label Mar 24, 2023
@jennybc
Copy link
Member

jennybc commented Nov 2, 2023

This thread seems to have gone cold.

@jennybc jennybc closed this as completed Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reprex needs a minimal reproducible example
Projects
None yet
Development

No branches or pull requests

2 participants