ThinkR-open / attachment

Tools to deal with dependencies in scripts, Rmd and packages
https://thinkr-open.github.io/attachment/
Other
108 stars 13 forks source link

Namespace not created if dont exists #32

Closed statnmap closed 3 years ago

statnmap commented 3 years ago

If the NAMESPACE is deleted, {attachment} does not re-create it.
Need to run devtools::document() to do so ?

VincentGuyader commented 3 years ago

attachement::att_amend_desc() should delete NAMESPACE then run roxygen2::roxygenise() then do his job :)

to avoid issue with missing NAMESPACE and corrupted NAMESPACE

VincentGuyader commented 3 years ago

not fixed yet.

step to reproduce :

-> no NAMESPACE created

statnmap commented 3 years ago

I found why. I am on it.

statnmap commented 3 years ago

This should work now, for both DESCRIPTION and NAMESPACE missing, if and only if parameter document=TRUE image

Please tell me.