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

dot_to_package() requires a man/ and a R/ folder #332

Open
ha0ye opened this issue Jul 19, 2022 · 1 comment
Open

dot_to_package() requires a man/ and a R/ folder #332

ha0ye opened this issue Jul 19, 2022 · 1 comment

Comments

@ha0ye
Copy link

ha0ye commented Jul 19, 2022

I have some R packages that are code-less, using the structure for other reasons - basically packaging contents to use automated machinery, such as {{pkgdown}}.

When I try to use write_codemeta() to generate a codemeta.json file, it fails when an error in dot_to_package(). After checking the code, it seems that this function wants a folder that has DESCRIPTION, NAMESPACE, man/ and R/. (The last two don't exist in my repos)

files <- c("DESCRIPTION", "NAMESPACE", "man", "R")

I think the last two checks can be removed.

example repo:
https://github.com/uf-repro/rmarkdown-intro

@maelle
Copy link
Member

maelle commented Jul 20, 2022

@cboettig if you're ok with this change I can make a PR

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