Skip to content

Commit dfd7657

Browse files
committed
merge
Merge branch '211_subset@main' of https://github.com/insightsengineering/teal.code into 211_subset@main # Conflicts: # R/utils-get_code_dependency.R
2 parents 089514c + 0ced369 commit dfd7657

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

R/extract_code_as_is_prototype.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ get_line_ids <- function(pd) {
4646
}
4747

4848
split_code <- function(code, parsed_code) {
49-
5049
pd <- utils::getParseData(parsed_code)
5150
pd <- pd[pd$token != "';'", ]
5251
lines_ids <- get_line_ids(pd)

R/utils-get_code_dependency.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ get_code_dependency <- function(code, names, check_names = TRUE) {
6969
code_ids <- sort(unique(c(lib_ind, ind)))
7070
code_split[code_ids]
7171
#trimws(paste(as.character(code[code_ids]), comments[code_ids]))
72+
7273
}
7374

7475
#' Locate function call token

0 commit comments

Comments
 (0)