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

translate_package() in batch mode gives Error in if (tolower(prompt("Exit now to repair any of these? [y/N]")) %chin%: argument is of length zero #224

Closed
HenrikBengtsson opened this issue Oct 20, 2021 · 1 comment · Fixed by #244

Comments

@HenrikBengtsson
Copy link

Running translate_package() in batch mode gives:

$ Rscript -e "potools::translate_package()"
...
Potential replacement:
cat(gettextf("%s\n", s))
Exit now to repair any of these? [y/N]
Error in if (tolower(prompt("Exit now to repair any of these? [y/N]")) %chin%  : 
  argument is of length zero
Calls: <Anonymous>

This is with potools 0.2.2.

@MichaelChirico
Copy link
Owner

Thanks! an oversight on my part

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 a pull request may close this issue.

2 participants