Skip to content

Commit 5c67497

Browse files
committed
attempt to fix bug with R 3.5.0
1 parent 46b007b commit 5c67497

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/02_cars_to_db.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ process_df <- function(df) {
1313
# shift header left and remove last column
1414
if (!is.na(colnames(df)[26])) {
1515
colnames(df) <-
16-
colnames(df) %>%
16+
c(colnames(df), "NA") %>%
1717
tail(-1)
1818
assert_that(df %>% dplyr::select(26) %>% is.na %>% all)
1919
df <-
@@ -22,7 +22,7 @@ process_df <- function(df) {
2222
}
2323

2424
# DATE
25-
# identify date from first column lable
25+
# identify date from first column label
2626
date <-
2727
df %>%
2828
colnames %>%

0 commit comments

Comments
 (0)