fun_changed | R Documentation |
Check if a core R function changed between R versions
fun_changed(fn, from = NULL, to = NULL, package = NULL)
fn |
Character name of a function in a core R package. |
from |
Minimum R version (optional). |
to |
Maximum R version (optional). |
package |
Name of the package (optional). |
0 if there was no change. 1 if the function's arguments changed. 2 if the function was not present in all versions. If the function can't be found or exists in multiple packages, throws an error.
fun_changed("debugonce")
fun_changed("debugonce", "3.4.0", "3.4.3")
fun_changed("debugonce", "3.3.0", "3.4.3")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.