Skip to content

Marxan input files (pu.dat, etc.) are being written to project main dir #49

@langfob

Description

@langfob

Not sure why, but pu.dat, puvspr.dat, and spec.dat are showing up in the main directory for the package (alongside the R directory, NAMESPACE file, etc.).

Has it always been doing this or is this a new bug?

Regardless, they should be going somewhere else.

Note that this is also listed as an issue in bdpgxupaper, so close it there too when this one closes.

In reading Rappdirs section of "Mastering software development in R", it mentions the rappdirs package and after loading that and entering ??rappdirs, I came across a quote from the CRAN policies that says:

Packages should not write in the users' home filespace, nor anywhere else on the file system apart from the R session's temporary directory (or during installation in the location pointed to by TMPDIR: and such usage should be cleaned up). Installing into the system's R installation (e.g., scripts to its bin directory) is not allowed.

Need to looks some more at this rappdirs package to see if it helps...

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions