I'm developing a package which breaks some CRAN standard, therefore I don't plan to submit it to CRAN but I would like to make my travis CHECK as strict as possible.
Is there a way to substitute :::
operator so it can pass --as-cran
check?
Or is there a way I can suppress this one particular warning while making check?
The second question might be even more valuable as I may run into other --as-cran
exception.
I'm aware I can ask package maintainer to export particular function but looking for some less intrusive solution.
So long as you promise you aren't going to get me on the PBR blacklist:
`%:::%` <- `:::`
Then use %:::%
as you would :::
. This will pass the check, but really not recommended, and as people are suggesting in the comments, all you are doing is faking it to get a (fake) travis gold star since accessing non-exported functions is definitely a no no in terms of CRAN acceptable things to do (and with good reason).
There are some notes that show up during --as-cran
checks that you can circumvent without going against the spirit of the note, but this isn't really one of those cases.