# NOT RUN {
# If this is FALSE, you really need to ditch that old copy of S-PLUS
is_r()
assertive.base::dont_stop(assert_is_r())
# Release, patched, devel, etc.
is_r_release()
is_r_patched()
is_r_devel()
is_r_alpha()
is_r_beta()
is_r_release_candidate()
is_r_revised()
switch(
version$status,
Patched = assert_is_r_patched(),
"Under development (unstable)" = assert_is_r_devel(),
alpha = assert_is_r_alpha(),
beta = assert_is_r_beta(),
RC = assert_is_r_release_candidate(),
Revised = assert_is_r_revised(),
assert_is_r_release()
)
# IDE
is_architect()
is_emacs()
is_visual_studio()
is_rstudio()
# Custom R distribution
is_revo_r()
# }
Run the code above in your browser using DataLab