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

usethis-like function to create boilerplate code #170

Closed
7 tasks
krlmlr opened this issue Jan 28, 2019 · 4 comments
Closed
7 tasks

usethis-like function to create boilerplate code #170

krlmlr opened this issue Jan 28, 2019 · 4 comments

Comments

@krlmlr
Copy link
Member

@krlmlr krlmlr commented Jan 28, 2019

perhaps with RStudio add-in?

  • construction
  • validation
  • casting
  • coercion
  • as_() and is_()
  • setOldClass()
  • tests (with a separate function?)
@jennybc
Copy link
Member

@jennybc jennybc commented Mar 4, 2020

Tests?

@jennybc jennybc mentioned this issue Mar 4, 2020
@krlmlr
Copy link
Member Author

@krlmlr krlmlr commented Mar 5, 2020

Would that be another function -- use_vctr(name) and use_vctr_test(name = active_file_name()) ?

@jennybc
Copy link
Member

@jennybc jennybc commented Mar 5, 2020

I'm not sure. I just want to register the fact that there may be some standard test-able behaviours that could be scaffolded with an eventual template for vctrs S3 boilerplate.

@hadley
Copy link
Member

@hadley hadley commented Apr 3, 2020

I think we can close this now, since the amount of boilerplate will dramatically decrease once #985 is implemented

@hadley hadley closed this as completed Apr 3, 2020
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

3 participants