Skip to content

Commit

Permalink
use get_code instead of get_code_dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
m7pr committed Feb 6, 2024
1 parent db0a420 commit e92fa63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/get_rcode_utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ get_rcode_str_install <- function() {
get_datasets_code <- function(datanames, datasets, hashes) {
# preprocessing code
str_prepro <-
teal.data:::get_code_dependency(attr(datasets, "preprocessing_code"), names = datanames, check_names = FALSE)
teal.data::get_code(attr(datasets, "preprocessing_code"), datanames = datanames, check_names = FALSE)
if (length(str_prepro) == 0) {
str_prepro <- "message('Preprocessing is empty')"
} else {
Expand Down

0 comments on commit e92fa63

Please sign in to comment.