Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default destination in cff_write_citation is in a temporary folder #78

Open
roaldarbol opened this issue Aug 6, 2024 · 1 comment
Open

Comments

@roaldarbol
Copy link

Hi there, thanks for this package!

I was walking through #51 to generate a inst/CITATION file, and it's mention in #51 (comment) that the default location is inst/CITATION, but it seems the default actually is a temporary folder. Is that a bug or a feature? I think the mentioned default makes a lot of sense, as that's exactly where you'd expect it to end up. :-)

> cff_write_citation(cff_obj)
ℹ Writing 2 entries ...Results written to /var/folders/rh/y9ws4bgj7x50twypcwtk2ypr0000gp/T//Rtmp8cLQvY/CITATION_6d794bd1d97
@roaldarbol
Copy link
Author

As an aside, it seems that saving it as inst/CITATION creates the cff format, whereas inst/CITATION_ creates the correct bibentry format - however, that file is not being picked up by citation() so the filename has to be manually edited afterwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant