The roundwork package was outsourced from scrutiny, a much larger and less focused package. (See this Github issue for the rationale.) However, all functions that were copied to roundwork are still part of scrutiny as of version 0.5.0.
For now, this can create ambiguities when using both packages
together. Here is how to avoid such problems in an interactive script.
Package developers should simply use package::function()
syntax, as usual.
Resolving conflicts
Make sure that all roundwork functions are used instead of their scrutiny counterparts by the same names. To do so, use the conflicted package:
library(conflicted)
library(scrutiny)
library(roundwork)
conflict_prefer_matching("round", "roundwork", quiet = TRUE)
You can then run round_up
without parentheses and check
the namespace
signature at the bottom. If it says
namespace:roundwork
, everything is fine. If not, please open an
issue.