Open ha0ye opened 2 years ago
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) https://github.com/ropensci/codemetar/blob/20376ab4f017f6561544fa6ee4a603cda753e434/R/utils.R#L147
write_codemeta()
codemeta.json
dot_to_package()
DESCRIPTION
NAMESPACE
man/
R/
I think the last two checks can be removed.
example repo: https://github.com/uf-repro/rmarkdown-intro
@cboettig if you're ok with this change I can make a PR
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 acodemeta.json
file, it fails when an error indot_to_package()
. After checking the code, it seems that this function wants a folder that hasDESCRIPTION
,NAMESPACE
,man/
andR/
. (The last two don't exist in my repos) https://github.com/ropensci/codemetar/blob/20376ab4f017f6561544fa6ee4a603cda753e434/R/utils.R#L147I think the last two checks can be removed.
example repo: https://github.com/uf-repro/rmarkdown-intro