Skip to content

Commit 1b339f4

Browse files
remove col and line columns
1 parent 96dbeb2 commit 1b339f4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

R/initialize.R

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ initialize_attributes <- function(pd_flat) {
99
init_pd <-
1010
initialize_newlines(pd_flat) %>%
1111
initialize_spaces() %>%
12+
remove_line_col() %>%
1213
initialize_multi_line() %>%
1314
initialize_indention_ref_id() %>%
1415
initialize_indent() %>%
@@ -37,6 +38,14 @@ initialize_spaces <- function(pd_flat) {
3738
pd_flat
3839
}
3940

41+
remove_line_col <- function(pd_flat) {
42+
pd_flat$line1 <- NULL
43+
pd_flat$col1 <- NULL
44+
pd_flat$line2 <- NULL
45+
pd_flat$col2 <- NULL
46+
pd_flat
47+
}
48+
4049
#' @describeIn initialize_attributes Initializes `multi_line`.
4150
initialize_multi_line <- function(pd_flat) {
4251
nrow <- nrow(pd_flat)

0 commit comments

Comments
 (0)