Hi H,

Thank you for the additional information.

I have pushed the git updates using tempdir() instead of getwd().  It sounds 
like that will probably fix the problem, and I will check tomorrow.

Best Wishes,
Charles

-----Original Message-----
From: Hervé Pagès <hpa...@fredhutch.org> 
Sent: Thursday, April 23, 2020 12:23 PM
To: Charles Warden <cwar...@coh.org>; Shepherd, Lori 
<lori.sheph...@roswellpark.org>; 'bioc-devel@r-project.org' 
<bioc-devel@r-project.org>
Subject: Re: [Bioc-devel] Windows Development Build Error Message for COHCAP

[Attention: This email came from an external source. Do not open attachments or 
click on links from unknown senders or unexpected emails.]

----------------------------------------------------------------------
Hi Charles,

On 4/23/20 10:19, Charles Warden wrote:

> My guess was that creating the temporary file in the working directory 
> instead of another folder might help.

FWIW here are 2 important reasons for writing temporary stuff to
tempdir() instead of the current working directory:

1. tempdir() is the only place that is guaranteed to be writable on every 
system. Yes the user home is very likely to be writable too but there is 
actually no guarantee and some systems have unconventional setups where it's 
not.

2. Whatever you put in tempdir() will automatically be removed at the end of 
the R session. Even though there are ways to achieve this with the temporary 
stuff you write in the user home, it's not automatic and hard to get right.

Cheers,
H.

--
Hervé Pagès

Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024

E-mail: hpa...@fredhutch.org
Phone:  (206) 667-5791
Fax:    (206) 667-1319

----------------------------------------------------------------------
------------------------------------------------------------
-SECURITY/CONFIDENTIALITY WARNING-  

This message and any attachments are intended solely for the individual or 
entity to which they are addressed. This communication may contain information 
that is privileged, confidential, or exempt from disclosure under applicable 
law (e.g., personal health information, research data, financial information). 
Because this e-mail has been sent without encryption, individuals other than 
the intended recipient may be able to view the information, forward it to 
others or tamper with the information without the knowledge or consent of the 
sender. If you are not the intended recipient, or the employee or person 
responsible for delivering the message to the intended recipient, any 
dissemination, distribution or copying of the communication is strictly 
prohibited. If you received the communication in error, please notify the 
sender immediately by replying to this message and deleting the message and any 
accompanying files from your system. If, due to the security risks, you do not 
wish to receive further communications via e-mail, please reply to this message 
and inform the sender that you do not wish to receive further e-mail from the 
sender. (LCP301)
------------------------------------------------------------
_______________________________________________
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel

Reply via email to