powered by
cat
Calls cat if cond==TRUE.
cond==TRUE
catif(cond, ...)condition_cat(cond, ...)
condition_cat(cond, ...)
Invisibly cond.
cond
logical: condition, if true then cat is called, otherwise not
further parameters
catif(TRUE, "PDF") # Should appear catif(FALSE, "Moodle") # Should not appear
Run the code above in your browser using DataLab