extendr / extendr/extendr.github.io

NA handling

Open
#27 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10
Forks
8
Avg merge
20h 26m
Merged PRs (30d)
5

Description

Use extendr types for inputs which allow for missing values. Illustrate using match or ifelse statements to handle missing values. Discuss options:

- return a missing value (Rscalar::na() method or ().into_robj() for null
- Return a default value
- skip and return a smaller result using filter_map()

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.