poissonconsulting / chk

An R package for developers to check user-supplied function arguments
https://poissonconsulting.github.io/chk/
Other
48 stars 4 forks source link

Potential functions to add to `chk` (first version of the diagram) #140

Open flor14 opened 1 week ago

flor14 commented 1 week ago

Hello

Here there is a first version of chk diagram. Part of the diagram is based on the book Advanced R.

The existence of objects mentioned in Advanced R that do not currently have a corresponding chk function should not be the sole criterion for deciding which new functions to include in the package. The goal of this issue is to list these objects as sources of potential new chk functions for further discussion.

Both the diagram and the final comments are open to feedback and modifications.

image

Note: The functions highlighted in pink may be confusing. I marked them this way to remind myself to add some clarifying comments in the documentation.

What is currently not covered?

#> $class
#> [1] "tbl_df"     "tbl"        "data.frame"
joethorley commented 4 days ago

@flor14 - can you provide a checklist of possible functions to add such as the following that I could quickly overview and then select the ones that make sense?

flor14 commented 15 hours ago

Data types missing

I will not go into detail regarding my data.frame comment because I am still not familiar with all the functions that are part of check_data

flor14 commented 2 hours ago

Also, #129