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

tmc getting started vignette is broken #520

Closed
nikolas-burkoff opened this issue Jun 29, 2022 · 1 comment · Fixed by #524
Closed

tmc getting started vignette is broken #520

nikolas-burkoff opened this issue Jun 29, 2022 · 1 comment · Fixed by #524
Assignees
Labels

Comments

@nikolas-burkoff
Copy link
Contributor

nikolas-burkoff commented Jun 29, 2022

library(scda)
library(teal.modules.clinical)

ADSL <- synthetic_cdisc_data("latest")$adsl
ADAE <- synthetic_cdisc_data("latest")$adae

app <- teal::init(
  data = teal.data::cdisc_data(
    teal.data::cdisc_dataset("ADSL", ADSL, code = "ADSL <- synthetic_cdisc_data('latest')$adsl"),
    teal.data::cdisc_dataset("ADAE", ADAE, code = "ADAE <- synthetic_cdisc_data('latest')$adae"),
    check = FALSE
  ),
  modules = list(
    tm_g_barchart_simple(
      label = "ADAE Analysis",
      x = teal.transform::data_extract_spec(
        dataname = "ADAE",
        select = teal.transform::select_spec(
          choices = teal.transform::variable_choices(ADAE),
          multiple = FALSE
        )
      )
    )
  )
)

if (interactive()) shiny::shinyApp(app$ui, app$server)

Image

FYI @donyunardi

@nikolas-burkoff
Copy link
Contributor Author

Should be closed by #524 no idea why some of the time the previous fix worked and other times it didn't

@nikolas-burkoff nikolas-burkoff linked a pull request Jun 30, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant