insightsengineering / insightsengineering/teal

Error when dataset not available

Open
#1,480 1 comment 0 reactions 0 assignees View on GitHub
core
Dominant language
R
Stars
263
Forks
59
Avg merge
5d 17h
Merged PRs (30d)
5

Description

When a module is called with `data_extract_spec`s that refer to datasets absent in the data, a warning is raised in the console.
```
Warning message:
Dataset `ADTTEE` is missing for module 'Regression Analysis'. Datasets available in data: `ADSL` and `ADAE`.
```

This is a warning, not an error. However, when one proceeds to run the app regardless, the app will raise an error:

![Image](https://github.com/user-attachments/assets/a9b25b45-6452-4fce-aaeb-4cd6e46c91db)

The encodings remain responsive, I can even attempt to select a variable from the absent dataset but there are no choices, which is safe.

![Image](https://github.com/user-attachments/assets/82e448e0-feab-48dc-b52a-43590fdcb334)

Is this condition upgrade intended? Would it be possible to allow the app to run without all specified datasets?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.