paulhibbing / AGread

Read Accelerometer Files from ActiGraph Accelerometers
Other
15 stars 4 forks source link

Warning about data checks #33

Closed muschellij2 closed 3 years ago

muschellij2 commented 3 years ago

Simple checks to see if data has large oddities.

paulhibbing commented 3 years ago

@muschellij2 FWIW, warning will concatenate your message for you. Saves a small amount of trouble, unless there's another unknown-to-me reason for wrapping it around paste0 😃

> warning("This prints ", "as just ", 1, " warning message", call. = FALSE)
Warning message:
This prints as just 1 warning message 
muschellij2 commented 3 years ago

No, that's fine. I wasn't 100% sure if used paste or paste0, but see in the docs there's no separator. Best, John

On Wed, Jan 27, 2021 at 4:59 PM paulhibbing notifications@github.com wrote:

@muschellij2 https://github.com/muschellij2 FWIW, warning will concatenate your message for you. Saves a small amount of trouble, unless there's another unknown-to-me reason for wrapping it around paste0 😃

warning("This prints ", "as just ", 1, " warning message", call. = FALSE)

Warning message:

This prints as just 1 warning message

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/paulhibbing/AGread/pull/33#issuecomment-768606751, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIGPLWPHSUFZOKJMHDNJQTS4CEFXANCNFSM4WUHWRUQ .