Skip to content

Commit

Permalink
Use base R deparse()
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasilge committed Sep 7, 2023
1 parent d085934 commit 433cfaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/write-plumber.R
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ vetiver_write_plumber <- function(board, name, version = NULL,
load_infra_pkgs <- glue_collapse(glue("library({infra_pkgs})"), sep = "\n")
load_required_pkgs <- glue_required_pkgs(v$metadata$required_pkgs, rsconnect)

board <- rlang::expr_deparse(pins::board_deparse(board))
board <- deparse(pins::board_deparse(board))
board <- glue('b <- {board}')

if (rlang::is_empty(plumber_dots)) {
Expand Down

0 comments on commit 433cfaa

Please sign in to comment.