Skip to content

Commit 6e56324

Browse files
Merge pull request #237 from lorenzwalthert/master
Explicit NULL creation to make styler compatible with R3.2.0 (#237).
2 parents 2ba82fd + 30d83aa commit 6e56324

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/initialize.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ initialize_spaces <- function(pd_flat) {
3939
}
4040

4141
remove_line_col <- function(pd_flat) {
42-
pd_flat[c("line1", "line2", "col1", "col2")] <- NULL
42+
pd_flat[c("line1", "line2", "col1", "col2")] <- rep(list(NULL), 4)
4343
pd_flat
4444
}
4545

0 commit comments

Comments
 (0)