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

Adding codemetar makes R CMD check() fail for macOS label:question #336

Open
BuissonFlorent opened this issue Jan 21, 2023 · 2 comments
Open

Comments

@BuissonFlorent
Copy link

Hello,
I just added codemetar to the package I'm working on, and it made R CMD check fail for macOS (see output below). I couldn't find a solution on the GitHub page or in the rOpenSci Packages guide, so I figured I should ask here rather than cobbling together a workaround on my own. Thanks for any advice/help!

❯ checking whether package ‘BehavioralDataAnalysis’ can be installed ... [23s/32s] WARNING
  See below...

❯ checking top-level files ... NOTE
  Non-standard file/directory found at top level:
    ‘codemeta.json’

0 errors ✔ | 1 warning ✖ | 1 note ✖
Error: Error: R CMD check found WARNINGs
Execution halted
Error: Process completed with exit code 1.
@BuissonFlorent BuissonFlorent changed the title Adding codemetar makes R CMD check() fail for macOS Adding codemetar makes R CMD check() fail for macOS label:question Jan 21, 2023
@maelle
Copy link
Member

maelle commented Jan 26, 2023

👋 @BuissonFlorent! The file should be added to .Rbuildignore, for instance by running usethis::use_build_ignore("codemeta.json").

Do you want to make a PR to add this point to the documentation?

@BuissonFlorent
Copy link
Author

Just dropping a line to say I'll make the PR, probably this weekend or the next one, so that no one else feels the need to do so in the meantime.

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

2 participants