Skip to content

Commit

Permalink
Make sure pak is loaded in the subprocess
Browse files Browse the repository at this point in the history
Before running a command there. This is important
because loading pak there sets up the library path,
possibly more.
  • Loading branch information
gaborcsardi committed Aug 29, 2023
1 parent 8a7b9da commit b02fdfb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/subprocess.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ remote <- function(func, args = list()) {
cli.width = `__width__`,
width = `__width__`
)
asNamespace("pak")
`__body__`
}
)
Expand Down

0 comments on commit b02fdfb

Please sign in to comment.