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

New roxygen 6.0.0 is deletes all .Rd files and leaves empty NAMESPACE #574

Closed
lukasz-bednarz-reddeersystems opened this issue Feb 2, 2017 · 1 comment

Comments

@lukasz-bednarz-reddeersystems

I have just upgraded to latest version of roxygen 6.0.0 and one of my private packages stopped builing completely.
Roxygen deletes all .Rd files without writing new ones and deletes all contents of NAMESPACE.

The only difference that exist in the package that doesn't build with 6.0.0 is that I am exporting classes that are built in real-time by class builder

#' derived class SomeDerivedClass
#'
#' @title SomeDerivedClass
#' @name SomeDerivedClass-class
#' @doctype class
#' @rdname SomeDerivedClass-class
#' @exportClass SomeDerivedClass

derived_class_factory("SomeDerivedClass", ....)

here derived_class_factory invokes "setClass" that creates new class based on its parameters.

Would this possibly unsettle new version of roxygen?

How can I possibly debug this issue? I am not able to share the package as it is internal development.

At the moment I have rolled back to 5.0.1 and it works.

Regards,

Lukasz

@hadley
Copy link
Member

hadley commented Feb 2, 2017

You probably have a blank line in your Rbuildignore. It's fixed in dev

@hadley hadley closed this as completed Feb 2, 2017
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