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

implement 'useCI' or similar to set up basic .travis file for automated module testing #74

Closed
achubaty opened this issue Sep 7, 2018 · 3 comments
Assignees

Comments

@achubaty
Copy link
Contributor

achubaty commented Sep 7, 2018

see here for getting travis setup for non-R packge code.

We would need to:

  1. install any system dependencies (GDAL, mapshaper, etc.); [to be done by the user]
  2. install all dependency packages (start with SpaDES and testthat, then parse the module metadata for reqdPkgs and install them);
  3. ensure the template test .R files each load any packages required of them and clean up after themselves.
@eliotmcintire
Copy link
Contributor

@achubaty Is this done?

@achubaty
Copy link
Contributor Author

achubaty commented Sep 14, 2020

No. Automating this will be too tricky and it depends on the user setting up travis and GHA, etc. and dealing with system dependencies. (made easier using the mechanisms in place for GHA).

Since I'm doing this for several modules already, I should put this info in vignette instead so the user knows how to do it.

@achubaty
Copy link
Contributor Author

achubaty commented Sep 15, 2020

@eliotmcintire Apparently it's partially implemented in b42eeef.

Reviewing now. Did you end up removing usethis from Suggests, because I am using it for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants