Description Usage Arguments Details Value Examples
api_same_at
reports whether a function had the same API at a previous version or date.
1 2 | api_same_at(fun, version = version_at_date(package, date), package,
date = NULL, quiet = TRUE, current_fun = NULL, ...)
|
fun |
Function name as a character string. |
version |
Version as a character string. If omitted, use the version available at |
package |
Package. Alternatively, specify the function name as e.g. |
date |
Date, as a character string that can be read by |
quiet |
Logical. Try to minimize output from package installation. (Some output comes
from |
current_fun |
Current function for comparison. By default, |
... |
Arguments passed to |
If fun
is not exported at version
, api_same_at
returns FALSE
with a warning.
TRUE
or FALSE
.
1 2 3 4 5 6 | ## Not run:
api_same_at("clipr::write_clip", version = "0.1.1")
# equivalently
api_same_at("write_clip", "clipr", "0.1.1")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.