Closed tripartio closed 1 month ago
This is a good idea! I'll merge for now, but will most likely change it when implementing the major changes in the attributes branch. (These invisible
calls can be placed into any function, right? For instance a __import
function in zzz.R
.)
(These
invisible
calls can be placed into any function, right? For instance a__import
function inzzz.R
.)
I'm not sure; it's a bit of a mystery to me what R-CMD-CHECK can see or not. I created the PR by trial and error. So, maybe that would work as well.
When trying to CHECK the package for another PR, I keep running into the annoying point that
R-CMD-CHECK
does not see some usages of some packages and so keeps on complaining about it. I saw your attempt to get around this with theimports.R
file, but unfortunately, that doesn't seem to work. So, I've tried to fix this by adding theinvisible()
calls directly in some relevantml*
functions. That's a bit messy since it clutters the code just for a workaround, but it should permanently silenceR-CMD-CHECK
. So, this PR is just a proposal; I don't know if you'll like this workaround.Note that I did not do anything about the
tibble
reference because I've submitted another PR (https://github.com/JonasMoss/univariateML/pull/53) that directly uses thetibble
package, thus resolving the issue legitimately.