Skip to content

Write to a temporary directory rather than user's home directory #8

@jwokaty

Description

@jwokaty

I run the Bioconductor builds and noticed tripr is writing to the user's home directory on both devel and release during R CMD check. This isn't allowed (see BioC Packages - Other Data). We recommend that it instead write to a temporary directory using BiocFileCache or R's default caching directory tools::R_user_dir("tripr", which="cache").

On the Linux builder, I see the following, which I've truncated:

biocbuild@nebbiolo1:~$ tree Documents
Documents
└── my_output
    ├── output_124745
    │   ├── Analysis
    │   │   ├── clonotypes_bar_plot_with_threshold0.1.png
    │   │   ├── hist3D-nucleotides_top_20clonotypes__BcellA_BcellB.png
    │   │   ├── image2D-nucleotides_top_20clonotypes__BcellA_BcellB.png
    │   │   └── persp3D-nucleotides_top_20clonotypes__BcellA_BcellB.png
    │   └── output_tables
    │       ├── Clonotypes_Summary.V.GENE+Summary.AA.JUNCTIONAll_Data.txt
    │       ├── Clonotypes_Summary.V.GENE+Summary.AA.JUNCTION_BcellA.txt
    │       ├── Clonotypes_Summary.V.GENE+Summary.AA.JUNCTION_BcellB.txt
    │       ├── filterin_clono_All_Data.txt
    │       ├── filterin_clono_BcellA.txt
    │       └── filterin_clono_BcellB.txt

We appreciate your attention to this matter as well as your contribution to Bioconductor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions