-
Notifications
You must be signed in to change notification settings - Fork 5
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
Potential functions to add to chk
(first version of the diagram)
#140
Comments
chk
(first version diagram)chk
(first version of the diagram)
@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?
|
Data types missing
Double data type
class
|
Also, #129
|
I think |
Also
|
Going with |
chk_time() is in dttr2 |
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 newchk
functions for further discussion.Both the diagram and the final comments are open to feedback and modifications.
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?
complex
andraw
don't have specific functions to check them (but they are mentioned as less frequently used).There are no
chk_*
andvld_*
functions for tibbles. Tibbles are not equal to data frames. They have a different class and can behave as specified in this section of Advanced RThere are no
chk_*
andvld_*
functions for classdifftimes
.Units attribute
Since the
chk_tz
function checks thetz
attribute of thePOSIXct
class, a similarchk_*
andvld_*
function could be developed to check theunits
attribute of thedifftime
class.Double
data type scalars There are some scalars for data typedouble
that don't have specific functions to check them:hexadecimal
,NaN
,Inf
,-Inf
,Scientific
.More functions for
data.frames
length()
may not be intuitive fordata.frames
.The text was updated successfully, but these errors were encountered: