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

Add unit tests #1

Open
MKatz-DHSC opened this issue Jul 1, 2024 · 4 comments
Open

Add unit tests #1

MKatz-DHSC opened this issue Jul 1, 2024 · 4 comments
Assignees

Comments

@MKatz-DHSC
Copy link
Contributor

Add unit testing to the package?

@MKatz-DHSC MKatz-DHSC self-assigned this Jul 1, 2024
@MKatz-DHSC MKatz-DHSC transferred this issue from DataS-DHSC/consultations Jul 1, 2024
@MKatz-DHSC MKatz-DHSC removed their assignment Nov 25, 2024
@jriley-dhsc jriley-dhsc self-assigned this Nov 25, 2024
@jriley-dhsc
Copy link
Contributor

Will need to borrow some helper functions from _example package. Looking initially at the clean_text, but I'm sure there'll be more.

@jriley-dhsc
Copy link
Contributor

jriley-dhsc commented Dec 2, 2024

  • summarise_words
  • glossary.r
  • lda_fit.r
  • lda_model.r
  • lda_plots.r
  • ngram_summary.r
  • raw_word_summary.r
  • stem_words.r
  • summarise_stemming.r
  • summarise_text_cleaner.r
  • tokens.r
  • unnest_ngrams.r
  • unnest_to_dtm.r
  • unnest_words.r
  • word_summary.r
  • write_plot.r

@jriley-dhsc
Copy link
Contributor

summarise_text_cleaner is non-obvious for testing - it attempts to inverse clean_words, but this is a user-supplied function, not one from the library.

@jriley-dhsc
Copy link
Contributor

Testing glossary.r blocked by #11

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