[X ] I have provided the necessary information about my issue.
If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there.
If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included xfun::session_info('formatR').
If I have posted the same issue elsewhere, I have also mentioned it in this issue.
[ x] I have learned the Github Markdown syntax, and formatted my issue correctly.
I understand that my issue may be closed if I don't fulfill my promises.
Description
Unwanted white-space characters are inserted while running tidy_file().
Example:
Input:
idMatches <- function(tree1, tree2, least.inclusive=TRUE)
{
#set the results table up
results <- tableSetup(tree1, tree2)
#define tree1 nodes here
nodes1 <- getNode()
}
Output
Note: Line no. 4 has four white-space characters inserted (should be none).
idMatches <- function(tree1, tree2, least.inclusive = TRUE) {
# set the results table up
results <- tableSetup(tree1, tree2)
# define tree1 nodes here
nodes1 <- getNode()
}
By filing an issue to this repo, I promise that
xfun::session_info('formatR')
.I understand that my issue may be closed if I don't fulfill my promises.
Description
Unwanted white-space characters are inserted while running
tidy_file()
.Example:
Input:
Output
Note: Line no. 4 has four white-space characters inserted (should be none).
Session info: