Re: [R-pkg-devel] CRAN Package Check Results - No protocol specified (OS X only)

2020-02-20 Thread Jeroen Ooms
On Tue, Feb 18, 2020 at 1:29 AM Dominic Comtois wrote: > > Hello, > > On my package's check results ( > https://cran.r-project.org/web/checks/check_results_summarytools.html), I > see a bunch of warnings with "No protocol specified" messages. This happens > only with OS X, and I can't reproduce th

Re: [R-pkg-devel] no visible binding for '<<-' assignment note

2020-02-20 Thread Max Turgeon
Hi Weimin, From the R docs, if there is no visible binding for the deep assignment, meaning there is the variable "dnormfun" not already defined in the parent environment, then an assignment is made in the global assignment. Is this really what you want to do, define a function "dnormfun" that

[R-pkg-devel] no visible binding for '<<-' assignment note

2020-02-20 Thread Weimin Zhang
Dear all, In the last submission of my package the CRAN gave this note: "Check: R code for possible problems, Result: NOTE: no visible binding for '<<-' assignment..." How can I bypass this note? This is the local function which cause this note: dnormfun <<- function(muvalue, sigmavalue, aNumb