Skip to content

Commit

Permalink
Add handling for JSON vectors
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAxthelm committed May 24, 2024
1 parent 9c3f6aa commit 0718c4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/parse_json_params.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ parse_params <- function(
schema_file = NULL
) {
log_trace("Parsing params.")
if (file.exists(json)) {
if (length(json) == 1L && file.exists(json)) {
log_trace("Reading params from file: {json}.}")
} else {
log_trace("Reading params from string.")
Expand Down

0 comments on commit 0718c4c

Please sign in to comment.