Skip to content
Prev 14778 / 21318 Next

[Bioc-devel] What is Bioconductor's position on allowing users to create files in the working directory without an explicit path definition in the filename

In response to Vince?s comment:

My package already has an implementation for checking if the file exists and then to explicitly require the user?s permission for removing the file

In response to Lori?s comment:

In my implementation of BiocFileCache, if a user provides a filename without an explicit path definition this particular file is created within the Cache directory and the user is notified regarding this, i.e. a warning is issued. Otherwise, if an explicit definition is provided, the file is created on location and a tracking symlink is placed in the Cache directory. The filenames and paths are hashed to create unique identifiers and the full path itself is stored as an additional metadata column. 

To locate the file, users are able to query the cache using another wrapper function I built. They can also list all files that are being tracked throughout the package.

Even then, a few users have expressed distress regarding this implementation as this is a non-standard one. Standard in this context would typically be how we handle files in shell. 

Can you provide additional suggestions regarding procedures that may alleviate user confusion? 


Koustav Pal,
Post-Doctoral Fellow in Genome Architecture,
Computational Genomics Group,
IFOM - The FIRC Institute of Molecular Oncology,
Via Adamello 16,
20139 Milano, Italy.
Phone: +393441130157
E-mail: koustav.pal at ifom.eu