I have a dataframe which I want to print as a warning to show NA
values.
The reason I can't use print alone is that I am running an RMarkdown document which I want to run without adding this dataframe to the pdf but separately print the dataframe with all my other warning messages in the console.
When I try message(df)
it just pastes a long string with all of the columns together and converts dates into numeric.
I tried using message(kable(df))
which was almost perfect but the rows don't appear on new lines. Any suggestions?