Skip to content

Track roxygen-generated NAMESPACE and documentation in git #15

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

Closed
brookslogan opened this issue Feb 15, 2022 · 0 comments
Closed

Track roxygen-generated NAMESPACE and documentation in git #15

brookslogan opened this issue Feb 15, 2022 · 0 comments

Comments

@brookslogan
Copy link
Contributor

Installing the package via

devtools::install_github("cmu-delphi/delphi-epidata-r", ref="fix-rbuildignore-makefile-typo")

produces multiple instances of these warnings:

Warning messages:
1: replacing previous import ‘jsonlite::unbox’ by ‘rlang::unbox’ when loading ‘delphi.epidata’ 
2: replacing previous import ‘jsonlite::flatten’ by ‘rlang::flatten’ when loading ‘delphi.epidata’ 

and attempts to read the documentation, e.g.,

help(epirange)

come back with

No documentation for ‘epirange’ in specified packages and libraries:

while cloning and running devtools::document() then devtools::unload() then devtools::install() appears to resolve the above problems.

While it's not the git way to track auto-generated files, it seems to be the R way. Tracking the NAMESPACE and .Rd files should simplify and improve the installation experience.

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