Closed latot closed 1 year ago
What do you get with R CMD check
?
(I was already writing this when @gaborcsardi posted.)
There are some syntactical irregularities above.
But let's assume that's a matter of issue authoring?
There are two main things to know:
R CMD check
under the hood. So it's transmitting the results of checks maintained in base R, not in this package. If you build and check your package without using rcmdcheck, you'll see the same result.R CMD check
can't detect it. That is addressed here in the R Packages book: https://r-pkgs.org/dependencies-in-practice.html#how-to-not-use-a-package-in-importsmmm, I know the syntax is the best, that is the smaller version, first, I'll update the main post with other code that is easier to check with the full logs.
Now, the libs are not used indirectly, they are in the code, now you can see it.
I didn't know rcmdcheck
only capture the results, which is the best place to report this?
Thx!
which is the best place to report this?
You'd have to report as a bug in base R or open a discussion on a mailing list. But if I were you, I'd use the technique described in the reference above to silence the NOTE and just let it go.
D: Okis, thx for the suggestion, if is not worth report it, I'll go with that options :)
Thx!
Hi all, I was creating a library with some "types", is a type of expression from the
typed
library, basically it helps to check if a variable has some propoerties, like the vector to be only integers, a dataframe with some columns, etc, etc.The code works like this:
In the package sfnetworks is added as a needed package, but rcmdcheck says:
Seems if some libraries are used inside some expressions rcmdcheck does not detect it.
There is a
sf
warning too, because there is other function in my lib the uses it.Thx!