Skip to content

[Rcpp-devel] [Pre-ANN] RcppArmadillo 0.7.960.1.0

7 messages · Dirk Eddelbuettel, Kurt Hornik

#
RcppArmadillo 0.7.960.1.0 has been ready for a few days and sitting at CRAN,
due to a seemingly unlucky combination of travel, weekend,, systems outage
and what not.  But it has been five full days now , and nobody has told me
what if anything is non-standard with the package so ... I give up now.

So it is as of now also in the drat repo for the RcppCore org, so just see
the README.md at
    https://github.com/RcppCore/drat
which has the following example which is applicable:

    # first add the repo
    drat:::add("RcppCore")
    # either install just one or more given packages
    install.packages("RcppArmadillo")
    # or update already installed packages
    update.packages()

You can also add the repo URL by hand to options("repos"), or supply it to
install.packages(), or ...  I happen to like drat.

The files NEWS.Rd and ChangeLog have the goods, I make a fuller announcement
if and when it makes it to CRAN.

This release features a lot of excellent Google Summer of Code work by
Binxiang Ni.  Again, more about that if and when we get to make a true
release announcement.

Dirk
#
Dirk:

When checking the reverse depends, we're seeing problems with quanteda,
both with the old version of this as well as the new one published last
night.  E.g.

Package: quanteda [Old version: 0.9.9-65, New version: 0.99]
Check: examples
New result: ERROR
  Running examples in ?quanteda-Ex.R? failed
  The error most likely occurred in:
  
  > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
  > ### Name: textmodel_wordfish
  > ### Title: wordfish text model
  > ### Aliases: textmodel_wordfish
  > 
  > ### ** Examples
  > 
  > textmodel_wordfish(data_dfm_lbgexample, dir = c(1,5))
  Error in wordfishcpp_mt(x, as.integer(dir), 1/(priors^2), tol, disp, dispersion_floor,  : 
    dfmSparse is not supported.
  Calls: textmodel_wordfish -> textmodel_wordfish.dfm -> wordfishcpp_mt -> .Call
  Execution halted

and in fact all problems seem to have the "dfmSparse is not supported."
errors.  Are you seeing these too?  Should we contact the quanteda
maintainer about this?

Best
-k
#
Hi Kurt,

Much appreciate the update.
On 16 August 2017 at 17:23, Kurt Hornik wrote:
| >>>>> Dirk Eddelbuettel writes:
| 
| Dirk:
| 
| When checking the reverse depends, we're seeing problems with quanteda,
| both with the old version of this as well as the new one published last
| night.  E.g.
| 
| Package: quanteda [Old version: 0.9.9-65, New version: 0.99]
| Check: examples
| New result: ERROR
|   Running examples in ?quanteda-Ex.R? failed
|   The error most likely occurred in:
|   
|   > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
|   > ### Name: textmodel_wordfish
|   > ### Title: wordfish text model
|   > ### Aliases: textmodel_wordfish
|   > 
|   > ### ** Examples
|   > 
|   > textmodel_wordfish(data_dfm_lbgexample, dir = c(1,5))
|   Error in wordfishcpp_mt(x, as.integer(dir), 1/(priors^2), tol, disp, dispersion_floor,  : 
|     dfmSparse is not supported.
|   Calls: textmodel_wordfish -> textmodel_wordfish.dfm -> wordfishcpp_mt -> .Call
|   Execution halted
| 
| and in fact all problems seem to have the "dfmSparse is not supported."
| errors.  Are you seeing these too?  Should we contact the quanteda
| maintainer about this?

I have been seeing _fairly consistent_ failures for quanteda with both Rcpp
and RcppArmadillo for quite some time.  You can see more details at the usual
rcpp-logs repo.

As such, I have ignored its most recent failure with RcppArmadillo
0.7.960.1.0. The last (of several) reverse depends logs preceding the upload
has its summary here:
https://github.com/RcppCore/rcpp-logs/blob/master/results/rcpparmadillo/RcppArmadillo-Summary-20170810.txt
As you can see: 372 passed, 3 failed and 2 were skipped by my choice.

On occassion, I dive into packages that fail, ie Rob's "forecast" apparently
only failed for me but not elsewhere.  As it was reproducible, Rob and I
agreed on a change he made.  So it no longer fails for me either.

Similarly, preceding the currently-pending upload of a new BH I have reached
out to two packages one of which was already updated, the other is pending.
But I don't have the bandwidth to chase all failures for all packages, and
some are too persistent. And that is why I uploaded RcppArmadillo last Friday.

Dirk

| Best
| -k
| 
| 
| > RcppArmadillo 0.7.960.1.0 has been ready for a few days and sitting at CRAN,
| > due to a seemingly unlucky combination of travel, weekend,, systems outage
| > and what not.  But it has been five full days now , and nobody has told me
| > what if anything is non-standard with the package so ... I give up now.
| 
| > So it is as of now also in the drat repo for the RcppCore org, so just see
| > the README.md at
| >     https://github.com/RcppCore/drat
| > which has the following example which is applicable:
| 
| >     # first add the repo
| >     drat:::add("RcppCore")
| >     # either install just one or more given packages
| >     install.packages("RcppArmadillo")
| >     # or update already installed packages
| >     update.packages()
| 
| > You can also add the repo URL by hand to options("repos"), or supply it to
| > install.packages(), or ...  I happen to like drat.
| 
| > The files NEWS.Rd and ChangeLog have the goods, I make a fuller announcement
| > if and when it makes it to CRAN.
| 
| > This release features a lot of excellent Google Summer of Code work by
| > Binxiang Ni.  Again, more about that if and when we get to make a true
| > release announcement.
| 
| > Dirk
| 
| > -- 
| > http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
|
#
Thanks.  So I guess we should publish the new RcppArmadillo and ask the
quanteda maintainer to fix as necessary?

Best
-k
#
On 16 August 2017 at 18:11, Kurt Hornik wrote:
| >>>>> Dirk Eddelbuettel writes:
| 
| Thanks.  So I guess we should publish the new RcppArmadillo and ask the
| quanteda maintainer to fix as necessary?

And I'll help. I have not interacted much with Ken, but we have mutual
acquaintances and I am sure we can sort this out "pronto".

And I looked some more, and it seems "weird" as it fails more with
RcppArmadillo than with Rcpp (see below).  But I am sure we will get this
squared away.

Much appreciate the feedback.

Cheers, Dirk

~/git/rcpp-logs/results/rcpparmadillo(master)$ grep quanteda result-20170*txt
result-20170206-223442.txt:"228","quanteda",0
result-20170411-202011.txt:"250","quanteda","ok"
result-20170503-184823.txt:"251","quanteda","ok"
result-20170504-125802.txt:"251","quanteda","ok"
result-20170516-173035.txt:"253","quanteda","ok"
result-20170523-182911.txt:"253","quanteda","failed"
result-20170525-022447.txt:"253","quanteda","failed"
result-20170531-133609.txt:"253","quanteda","ok"
result-20170619-161821.txt:"258","quanteda","failed"
result-20170801-235421.txt:"271","quanteda","failed"
result-20170803-183132.txt:"272","quanteda","failed"
result-20170808-173708.txt:"272","quanteda","failed"
result-20170810-164134.txt:"272","quanteda","failed"
~/git/rcpp-logs/results/rcpparmadillo(master)$ cd ../
~/git/rcpp-logs/results(master)$ grep quanteda result-20170*txt
result-20170103-192706.txt:"592","quanteda",1
result-20170104-181933.txt:"590","quanteda",1
result-20170105-175736.txt:"590","quanteda",1
result-20170106-183041.txt:"590","quanteda",1
result-20170110-150305.txt:"590","quanteda",0
result-20170216-192443.txt:"623","quanteda",0
result-20170303-041605.txt:"634","quanteda",0
result-20170313-235138.txt:"643","quanteda",0
result-20170316-080319.txt:"645","quanteda",0
result-20170330-114205.txt:"651","quanteda","ok"
result-20170414-061229.txt:"661","quanteda","ok"
result-20170414-232420.txt:"663","quanteda","ok"
result-20170415-224120.txt:"664","quanteda","ok"
result-20170418-002743.txt:"660","quanteda","ok"
result-20170419-211655.txt:"664","quanteda","ok"
result-20170507-012101.txt:"677","quanteda","ok"
result-20170508-000918.txt:"677","quanteda","ok"
result-20170509-044332.txt:"677","quanteda","ok"
result-20170519-031106.txt:"686","quanteda","ok"
result-20170615-072413.txt:"703","quanteda","ok"
result-20170619-004031.txt:"710","quanteda","ok"
result-20170630-045018.txt:"720","quanteda","failed"
result-20170706-042937.txt:"724","quanteda","ok"
result-20170709-132757.txt:"727","quanteda","ok"
result-20170711-085311.txt:"729","quanteda","ok"
~/git/rcpp-logs/results(master)$
#
Ok.  New RcppArmadillo on CRAN now.

Should we write to Ken?

-k
#
On 17 August 2017 at 14:42, Kurt Hornik wrote:
| >>>>> Dirk Eddelbuettel writes:
|
| > On 16 August 2017 at 18:11, Kurt Hornik wrote:
| > | >>>>> Dirk Eddelbuettel writes:
| > | 
| > | Thanks.  So I guess we should publish the new RcppArmadillo and ask the
| > | quanteda maintainer to fix as necessary?
| 
| > And I'll help. I have not interacted much with Ken, but we have mutual
| > acquaintances and I am sure we can sort this out "pronto".
| 
| > And I looked some more, and it seems "weird" as it fails more with
| > RcppArmadillo than with Rcpp (see below).  But I am sure we will get this
| > squared away.
| 
| Ok.  New RcppArmadillo on CRAN now.

Thank you.
 
| Should we write to Ken?

I will do that (and CC CRAN) once I get a chance to look more closely at the
issue, and possibly remedies.

Dirk

 
| -k
| 
| > Much appreciate the feedback.
| 
| > Cheers, Dirk
| 
| > ~/git/rcpp-logs/results/rcpparmadillo(master)$ grep quanteda result-20170*txt
| > result-20170206-223442.txt:"228","quanteda",0
| > result-20170411-202011.txt:"250","quanteda","ok"
| > result-20170503-184823.txt:"251","quanteda","ok"
| > result-20170504-125802.txt:"251","quanteda","ok"
| > result-20170516-173035.txt:"253","quanteda","ok"
| > result-20170523-182911.txt:"253","quanteda","failed"
| > result-20170525-022447.txt:"253","quanteda","failed"
| > result-20170531-133609.txt:"253","quanteda","ok"
| > result-20170619-161821.txt:"258","quanteda","failed"
| > result-20170801-235421.txt:"271","quanteda","failed"
| > result-20170803-183132.txt:"272","quanteda","failed"
| > result-20170808-173708.txt:"272","quanteda","failed"
| > result-20170810-164134.txt:"272","quanteda","failed"
| > ~/git/rcpp-logs/results/rcpparmadillo(master)$ cd ../
| > ~/git/rcpp-logs/results(master)$ grep quanteda result-20170*txt
| > result-20170103-192706.txt:"592","quanteda",1
| > result-20170104-181933.txt:"590","quanteda",1
| > result-20170105-175736.txt:"590","quanteda",1
| > result-20170106-183041.txt:"590","quanteda",1
| > result-20170110-150305.txt:"590","quanteda",0
| > result-20170216-192443.txt:"623","quanteda",0
| > result-20170303-041605.txt:"634","quanteda",0
| > result-20170313-235138.txt:"643","quanteda",0
| > result-20170316-080319.txt:"645","quanteda",0
| > result-20170330-114205.txt:"651","quanteda","ok"
| > result-20170414-061229.txt:"661","quanteda","ok"
| > result-20170414-232420.txt:"663","quanteda","ok"
| > result-20170415-224120.txt:"664","quanteda","ok"
| > result-20170418-002743.txt:"660","quanteda","ok"
| > result-20170419-211655.txt:"664","quanteda","ok"
| > result-20170507-012101.txt:"677","quanteda","ok"
| > result-20170508-000918.txt:"677","quanteda","ok"
| > result-20170509-044332.txt:"677","quanteda","ok"
| > result-20170519-031106.txt:"686","quanteda","ok"
| > result-20170615-072413.txt:"703","quanteda","ok"
| > result-20170619-004031.txt:"710","quanteda","ok"
| > result-20170630-045018.txt:"720","quanteda","failed"
| > result-20170706-042937.txt:"724","quanteda","ok"
| > result-20170709-132757.txt:"727","quanteda","ok"
| > result-20170711-085311.txt:"729","quanteda","ok"
| > ~/git/rcpp-logs/results(master)$ 
| 
| > -- 
| > http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org