Skip to content

[R-pkg-devel] R CMD check ERROR (strange to me)

7 messages · Wang, Zhu, Ivan Krylov, Iñaki Ucar +1 more

#
Hello,

I have encountered some strange error (see 00install.out). Please see the attached package and relevant files. It happened not just this package. I restart the system including VirtualBox but the problem is still there. I would appreciate any suggestions.

Thanks,

Zhu Wang



-------------- next part --------------
A non-text attachment was scrubbed...
Name: cts_1.0-22.tar.gz
Type: application/x-gzip
Size: 532744 bytes
Desc: cts_1.0-22.tar.gz
URL: <https://stat.ethz.ch/pipermail/r-package-devel/attachments/20190509/41e22180/attachment.bin>
#
On Thu, 9 May 2019 23:19:46 +0000
"Wang, Zhu" <wangz1 at uthscsa.edu> wrote:

            
It seems to have been stripped by the attachment filter, and there are
no compilation errors on my system. Can you include the relevant lines
from 00install.out inline?
#
00install.out

** testing if installed package can be loaded from temporary location
 ** checking absolute paths in shared objects and dynamic libraries
 mv: cannot move '/media/sf_Documents/Zwang/Rpkg/cts.Rcheck/00LOCK-cts/00new/cts' to '/media/sf_Documents/Zwang/Rpkg/cts.Rcheck/cts': File exists
 ERROR:   moving to final location failed
 * removing '/media/sf_Documents/Zwang/Rpkg/cts.Rcheck/cts'

-----Original Message-----
From: Ivan Krylov <krylov.r00t at gmail.com> 
Sent: Friday, May 10, 2019 1:12 AM
To: Wang, Zhu <wangz1 at uthscsa.edu>
Cc: R-package-devel at r-project.org
Subject: Re: [R-pkg-devel] R CMD check ERROR (strange to me)

On Thu, 9 May 2019 23:19:46 +0000
"Wang, Zhu" <wangz1 at uthscsa.edu> wrote:

            
It seems to have been stripped by the attachment filter, and there are no compilation errors on my system. Can you include the relevant lines from 00install.out inline?

--
Best regards,
Ivan
#
On Fri, 10 May 2019 at 15:42, Wang, Zhu <wangz1 at uthscsa.edu> wrote:
I believe this has something to do with the new staged installation.
Reported here:

https://stat.ethz.ch/pipermail/r-devel/2019-May/077736.html

Try to disable it with by setting the environment variable
R_INSTALL_STAGED=false

I?aki
#
Thanks I?aki for the tip that helps!

Best,

Zhu

-----Original Message-----
From: I?aki Ucar <iucar at fedoraproject.org> 
Sent: Friday, May 10, 2019 9:50 AM
To: Wang, Zhu <wangz1 at uthscsa.edu>
Cc: Ivan Krylov <krylov.r00t at gmail.com>; R-package-devel at r-project.org
Subject: Re: [R-pkg-devel] R CMD check ERROR (strange to me)
On Fri, 10 May 2019 at 15:42, Wang, Zhu <wangz1 at uthscsa.edu> wrote:
I believe this has something to do with the new staged installation.
Reported here:

https://stat.ethz.ch/pipermail/r-devel/2019-May/077736.html

Try to disable it with by setting the environment variable R_INSTALL_STAGED=false

I?aki
#
On 10 May 2019 at 16:49, I?aki Ucar wrote:
| On Fri, 10 May 2019 at 15:42, Wang, Zhu <wangz1 at uthscsa.edu> wrote:
| >
| > 00install.out
| >
| > ** testing if installed package can be loaded from temporary location
| >  ** checking absolute paths in shared objects and dynamic libraries
| >  mv: cannot move '/media/sf_Documents/Zwang/Rpkg/cts.Rcheck/00LOCK-cts/00new/cts' to '/media/sf_Documents/Zwang/Rpkg/cts.Rcheck/cts': File exists
| >  ERROR:   moving to final location failed
| >  * removing '/media/sf_Documents/Zwang/Rpkg/cts.Rcheck/cts'
| 
| I believe this has something to do with the new staged installation.
| Reported here:
| 
| https://stat.ethz.ch/pipermail/r-devel/2019-May/077736.html
| 
| Try to disable it with by setting the environment variable
| R_INSTALL_STAGED=false

Are you sure it is not just a permissions issue?  Same thing happens when you
mix running R CMD check as you and/or as root (ie via a Docker container).

Dirk
#
On Fri, 10 May 2019 at 17:30, Dirk Eddelbuettel <edd at debian.org> wrote:
Not completely sure, but /media/sf_* is the typical mount point of a
VirtualBox machine.

I?aki