We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96dbeb2 commit 1b339f4Copy full SHA for 1b339f4
R/initialize.R
@@ -9,6 +9,7 @@ initialize_attributes <- function(pd_flat) {
9
init_pd <-
10
initialize_newlines(pd_flat) %>%
11
initialize_spaces() %>%
12
+ remove_line_col() %>%
13
initialize_multi_line() %>%
14
initialize_indention_ref_id() %>%
15
initialize_indent() %>%
@@ -37,6 +38,14 @@ initialize_spaces <- function(pd_flat) {
37
38
pd_flat
39
}
40
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
+
49
#' @describeIn initialize_attributes Initializes `multi_line`.
50
initialize_multi_line <- function(pd_flat) {
51
nrow <- nrow(pd_flat)
0 commit comments