Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log startup script execution by default #720

Merged
merged 1 commit into from
Mar 1, 2023
Merged

Conversation

hadley
Copy link
Member

@hadley hadley commented Feb 28, 2023

Fixes #542

@hadley hadley requested a review from aronatkins February 28, 2023 23:30
taskStart(quiet, "Running {script}")

env <- new_environment(parent = globalenv())
source(script, verbose = verbose, local = env)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idle musing: This isn't a current use case, but we could eventually have a stable environment across all of these user tasks, which might let folks (somehow) build state during the "pre" step that can then get consumed during the "post" step..

@hadley hadley merged commit 935f25e into main Mar 1, 2023
@hadley hadley deleted the log-startup-scripts branch March 1, 2023 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rsconnect profile options ignored
2 participants