Skip to content

Error in .f(.x[[i]], ...) : object 'vignettebuilder' not found #39

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

Open
sfirke opened this issue Feb 10, 2018 · 1 comment
Open

Error in .f(.x[[i]], ...) : object 'vignettebuilder' not found #39

sfirke opened this issue Feb 10, 2018 · 1 comment

Comments

@sfirke
Copy link
Owner

sfirke commented Feb 10, 2018

^^ this error comes from changes to janitor::clean_names, currently on the master branch of the GitHub repo and going to CRAN sooner rather than later. It will start returning "vignette_builder" instead of "vignettebuilder" and other similar changes.

Fix when janitor goes to CRAN and start requiring janitor >= 1.0 then. Will be a quick fix.

@sfirke
Copy link
Owner Author

sfirke commented Feb 10, 2018

Upon further reflection, I remember one can check the user's version # of janitor and then either call the current clean_names if version <= 0.3.1 or clean_names(case = "old_janitor") if version > 0.3.1. That could easily be done now.

Like this:

if (packageVersion("foo") > "1.0.0") {
  foo::baz()
} else {
  foo::bar()
}

Source: http://r-pkgs.had.co.nz/release.html

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

1 participant