You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in an R package and followed the advice to call rex::register_shortcuts(pkg_name = "my_pkg") to avoid NOTEs by R CMD Check.
But when building the package, R CMD INSTALL prints a note like:
** byte-compile and prepare package for lazy loading
Note: possible error in 'or("1st_string", ': unused arguments ("3rd_string", "4th_string") at (...)
What's happening here?
When I wrap the strings in an additional c(), the note goes away. But rex:::or() takes a dots argument
I use a simple
in an R package and followed the advice to call
rex::register_shortcuts(pkg_name = "my_pkg")
to avoid NOTEs byR CMD Check
.But when building the package,
R CMD INSTALL
prints a note like:What's happening here?
When I wrap the strings in an additional
c()
, the note goes away. Butrex:::or()
takes a dots argumentso why the complaint about unused arguments? (they're actually properly used, it's just
R CMD INSTALL
that complains...)The text was updated successfully, but these errors were encountered: