[R-pkg-devel] 'stringi' package on Windows

2020-11-21 Thread Dan Zigmond
in the previous iteration of the package without issue, but it seems perhaps there is some issue with stringi under Windows right now? Dan . ---------- Dan Zigmond d...@shmonk.com [[alternative HTML version deleted]] __ R-

Re: [R-pkg-devel] warning: binary constants are a C++14 feature or GCC extension

2020-11-21 Thread Dan Zigmond
Thank you! That's very helpful. Dan . ------ Dan Zigmond d...@shmonk.com On Sat, Nov 21, 2020 at 5:14 PM David Kepplinger wrote: > Dear Dan, > > As the warning says, the binary notation you use is only valid with > C++14 and onwards. Y

[R-pkg-devel] warning: binary constants are a C++14 feature or GCC extension

2020-11-21 Thread Dan Zigmond
t allowed in CRAN? I could substitute decimal constants, but that will be a bit more obtuse. The other platforms seems to allow this; only the Debian check failed. Dan . ------ Dan Zigmond d...@shmonk.com [[alternative HTML versio

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

2020-09-03 Thread Dan Zigmond
That was where I started, but for some reason that triggered a WARNING about these non-ASCII characters, which seemed worse. :-) Dan . -- Dan Zigmond d...@shmonk.com On Thu, Sep 3, 2020 at 3:26 PM Ben Bolker wrote: >OK, trying again. > >Would i

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

2020-09-03 Thread Dan Zigmond
yway. Dan . ---------- Dan Zigmond d...@shmonk.com On Thu, Sep 3, 2020 at 2:59 PM Gábor Csárdi wrote: > On Thu, Sep 3, 2020 at 10:25 PM Dan Zigmond wrote: > > > > Thanks, Gabor. I want these to be easily available to package users > though – that's w

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

2020-09-03 Thread Dan Zigmond
these variables (eg, pali_alphabet) will already exist when the user attaches the package – but is there a way I can tweak them after the package has been loaded? Dan . ---------- Dan Zigmond d...@shmonk.com On Thu, Sep 3, 2020 at 2:56 PM William Dunlap wrote: > > I

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

2020-09-03 Thread Dan Zigmond
Given that both trigger a NOTE, is there a reason to favor the assign solution over just using <<-? Dan . ------ Dan Zigmond d...@shmonk.com On Thu, Sep 3, 2020 at 2:46 PM Joshua Ulrich wrote: > On Thu, Sep 3, 2020 at 4:36 PM Ben Bolker wrote: > > &

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

2020-09-03 Thread Dan Zigmond
there any other solution? Dan . ---------- Dan Zigmond d...@shmonk.com On Thu, Sep 3, 2020 at 1:40 PM Gábor Csárdi wrote: > Store the cached data in an environment within the package: > > pali_data <- new.env(parent = emptyenv()) > > pali_string_fix <-

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

2020-09-03 Thread Dan Zigmond
o deal with all the Unicode escape sequences after that. However, this is getting rejected by the CRAN checks with the message: * checking R code for possible problems ... [4s] NOTE pali_string_fix: no visible binding for '<<-' assignment to 'pali_alphabet' I'm