HenrikBengtsson/R.matlab

R-devel bug?: ERROR: Detected objects with duplicated names (A). Only the last occurance of each duplicated object will be available in MATLAB if completed: writeMat.default(filename, A = A, B = B, A = C)

Closed this issue · 2 comments

https://www.r-project.org/nosvn/R.check/r-devel-windows-x86_64-new-UL/R.matlab-00check.html reports on 2022-01-05:

using R Under development (unstable) (2021-12-30 r81418 ucrt)
using platform: x86_64-w64-mingw32 (64-bit)
using session charset: UTF-8
checking for file 'R.matlab/DESCRIPTION' ... OK
this is package 'R.matlab' version '3.6.2'
...
checking tests ...
Check process probably crashed or hung up for 20 minutes ... killed
Most likely this happened in the example checks (?),
if not, ignore the following last lines of example output:
Warning: R.methodsS3::throw() is deprecated. Use base::stop() instead, or R.oo::throw().
ERROR: Detected objects with duplicated names (A). Only the last occurance of each duplicated object will be available in MATLAB if completed: writeMat.default(filename, A = A, B = B, A = C)
> 

This does not happen on any other platforms and from the error message, it looks like duplicated(names) incorrectly reports A as being duplicated.

Most likely a hiccup with this specific revision on CRAN; it works fine with:

 version  R Under development (unstable) (2022-01-04 r81445 ucrt)
 os       Windows Server x64 (build 17763)
 system   x86_64, mingw32

on GHA.

Yes, a hiccup. Gone now