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

Fix env in runchecks #252

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

JAttig
Copy link

@JAttig JAttig commented Oct 16, 2023

fixes violating line L73
in run_all_checks() to fix #251

side fix in .renv-lock related to #230


By implementing a run_env argument, a wrapper function like this becomes possible:

run_all_sdtmvchecks_onlist <- function(.list, metads = NULL, ...){
  run_env <- new.env()
  list2env( .list, envir = run_env)
  myreport = do.call( 
    sdtmchecks_run_all_checks,
    args = append( list(metads=metads), set_options),
    envir = run_env
  )
}

see run_all_sdtmvchecks_onlist() for details (Roche internal only)

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.

1 participant