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

visit_structure() needs to handle missing project setup #181

Closed
PatrickRWright opened this issue Mar 19, 2020 · 1 comment · Fixed by #188
Closed

visit_structure() needs to handle missing project setup #181

PatrickRWright opened this issue Mar 19, 2020 · 1 comment · Fixed by #188
Assignees
Labels
bug Something isn't working

Comments

@PatrickRWright
Copy link
Collaborator

PatrickRWright commented Mar 19, 2020

Describe the bug
visit_structure() fails without project setup being part of export without a useful error.

To Reproduce

export_location <- system.file("extdata", "sT_exports", "exp_opt",
 "s_export_CSV-xls_CTU05_only_column_names.zip", package = "secuTrialR")
sT_export <- read_secuTrial(data_dir = export_location)
vs <- visit_structure(sT_export)

Expected behavior
Throw an Error saying that this will only work if project setup was exported.

@PatrickRWright PatrickRWright added the bug Something isn't working label Mar 19, 2020
@PatrickRWright
Copy link
Collaborator Author

This can probably be remedied in conjunction with the feedback that we will hopefully be getting from Steffi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants