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

NOTE from "R check" about hidden file ".github". #631

Closed
rolfTurner opened this issue Aug 3, 2024 · 1 comment
Closed

NOTE from "R check" about hidden file ".github". #631

rolfTurner opened this issue Aug 3, 2024 · 1 comment

Comments

@rolfTurner
Copy link

I'm nearly there, thanks (hugely!) to wise counsel from Gábor Csárdi.

There's just one thing that bothers me slightly: when I run rhub::rhub_check(...)
I get a NOTE from "R check" to the effect that it

Found the following hidden files and directories:
  .github
These were most likely included in error. See section 'Package
structure' in the 'Writing R Extensions' manual.

If I remove the .github directory, the procedure crashes at square zero with the problem described in the issue (630) that I previously raised: "Workflow does not have 'workflow_dispatch' trigger. Gábor explained to me that the file "rhub.yaml" is needed for rhub_check() to work, and that file lives in ".github".

So should I just ignore the aforementioned NOTE?

@gaborcsardi
Copy link
Collaborator

Add

^[.]github$

to your .Rbuildignore file.

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