We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d08625f commit 7e92180Copy full SHA for 7e92180
1 file changed
src/makeExplicit.js
@@ -45,11 +45,12 @@ async function makeRFunctionCallExplicit() {
45
{
46
# Attempt to read the file, process it,
47
# and write the updated content
48
- content <-
+ formalistContent <-
49
readLines('${formalistPath}', encoding = 'UTF-8', warn = FALSE) |>
50
paste0(collapse = '\\n')
51
- updated_content <- pedant::add_double_colons(content)
52
- writeLines(enc2utf8(updated_content), con = '${formalistPath}')
+ formalistContent <- pedant::add_double_colons(formalistContent)
+ writeLines(enc2utf8(formalistContent), con = '${formalistPath}')
53
+ rm(formalistContent)
54
},
55
error = function(e) {
56
# If an error occurs during the formating process,
0 commit comments