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

Unit testing #27

Merged
merged 62 commits into from
Dec 15, 2022
Merged

Unit testing #27

merged 62 commits into from
Dec 15, 2022

Commits on Oct 25, 2022

  1. Restyle using styler::tidyverse_style()

    Wright committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    de6d40a View commit details
    Browse the repository at this point in the history
  2. Remove commented code

    Wright committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    b6bf66c View commit details
    Browse the repository at this point in the history
  3. Change variables and fxn names to snake_case

    Closes #17
    Wright committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    b8bc838 View commit details
    Browse the repository at this point in the history
  4. Eliminate use of getwd

    Closes #9
    Wright committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    780d978 View commit details
    Browse the repository at this point in the history
  5. Refactor load_data

    Closes #11
    Wright committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    d90f1fc View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2022

  1. Allll the refactoring

    Made errors and return values more consistent, updated roxygen documentation to remove redundancy. test_field_num is half done and broken, will fix soon
    Wright committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    bef93d8 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2022

  1. Change test_field_num to test_fields_match

    Checks for mismatched field names and order now
    Wright committed Oct 27, 2022
    Configuration menu
    Copy the full SHA
    4277b30 View commit details
    Browse the repository at this point in the history
  2. Update return value documentation

    Closes #10, closes #8
    Wright committed Oct 27, 2022
    Configuration menu
    Copy the full SHA
    8d772b2 View commit details
    Browse the repository at this point in the history
  3. Update gitignore

    Wright committed Oct 27, 2022
    Configuration menu
    Copy the full SHA
    bc9ab0c View commit details
    Browse the repository at this point in the history
  4. Fix logical operators

    Wright committed Oct 27, 2022
    Configuration menu
    Copy the full SHA
    35eba95 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6646e7d View commit details
    Browse the repository at this point in the history
  6. Merge branch 'main' into refactoring

    # Conflicts:
    #	NAMESPACE
    #	R/tabular_data_congruence.R
    #	man/test_delimiter.Rd
    #	man/test_dup_data_files.Rd
    #	man/test_dup_meta_entries.Rd
    #	man/test_field_num.Rd
    #	man/test_file_name_match.Rd
    #	man/test_footer.Rd
    #	man/test_header_num.Rd
    #	man/test_metadata_version.Rd
    #	man/test_validate_schema.Rd
    Wright committed Oct 27, 2022
    Configuration menu
    Copy the full SHA
    7fab2ab View commit details
    Browse the repository at this point in the history
  7. Add script to try out tests

    Will run tests on an arbitrary number of data packages as long as they're all in the same folder
    Wright committed Oct 27, 2022
    Configuration menu
    Copy the full SHA
    50d570f View commit details
    Browse the repository at this point in the history
  8. First stab at testing numeric fields

    Still needs work
    Wright committed Oct 27, 2022
    Configuration menu
    Copy the full SHA
    148f35d View commit details
    Browse the repository at this point in the history
  9. Typo fix

    Wright committed Oct 27, 2022
    Configuration menu
    Copy the full SHA
    9efc4f8 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2022

  1. Add ability to use magrittr pipes

    Wright committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    03c3ed5 View commit details
    Browse the repository at this point in the history
  2. Fix test_fields_match()

    Wright committed Oct 31, 2022
    1 Configuration menu
    Copy the full SHA
    526d842 View commit details
    Browse the repository at this point in the history
  3. Add comments to testing script

    Wright committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    b0e0c11 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2022

  1. Add date range check.

    Currently breaks for anything not in ISO format
    Wright committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    b761f0f View commit details
    Browse the repository at this point in the history
  2. Documentation tweak

    Wright committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    a36960e View commit details
    Browse the repository at this point in the history
  3. Add function for converting EML datetime format strings to R-compatib…

    …le format strings
    
    Will move to a more appropriate package eventually
    Wright committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    5f286e2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7e2ce10 View commit details
    Browse the repository at this point in the history
  5. Improvements to test_date_range

    It still has issues. Doesn't handle year-only columns gracefully.
    Wright committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    8bba851 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2022

  1. Update authors/contributors

    Wright committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    f69271b View commit details
    Browse the repository at this point in the history
  2. Update test_date_range

    It now behaves nicely for columns that are year only or year/month only
    Wright committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    c47d4fd View commit details
    Browse the repository at this point in the history
  3. Update temporary testing script

    Wright committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    2cba090 View commit details
    Browse the repository at this point in the history
  4. Refactoring

    Wright committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    0dc79d0 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2022

  1. Fixes to test_date_range

    Wright committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    8aaa61e View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2022

  1. Configuration menu
    Copy the full SHA
    a4b68dc View commit details
    Browse the repository at this point in the history
  2. Add testthat framework

    Wright committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    942b6bf View commit details
    Browse the repository at this point in the history
  3. Add imports

    Wright committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    5231532 View commit details
    Browse the repository at this point in the history
  4. Fixes to load_metadata

    Wright committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    3c42285 View commit details
    Browse the repository at this point in the history
  5. Add tests for load_metadata

    Wright committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    007ab42 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2022

  1. Update EMLeditor fxn names

    Wright committed Dec 1, 2022
    Configuration menu
    Copy the full SHA
    2f467f4 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2022

  1. Update example files for testing

    Wright committed Dec 5, 2022
    Configuration menu
    Copy the full SHA
    592b2fd View commit details
    Browse the repository at this point in the history
  2. Add tests

    Wright committed Dec 5, 2022
    Configuration menu
    Copy the full SHA
    ca2e270 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2022

  1. Configuration menu
    Copy the full SHA
    15463ad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e1a3a6 View commit details
    Browse the repository at this point in the history
  3. Fix test_header_num and test_delimiter to handle case when some (but …

    …not all) tables are missing header/delimiter info
    Wright committed Dec 6, 2022
    Configuration menu
    Copy the full SHA
    1b5ae6c View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2022

  1. Configuration menu
    Copy the full SHA
    315e456 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1e78d6a View commit details
    Browse the repository at this point in the history
  3. Fix test_date_range to identify columns where some but not all dates …

    …failed to parse
    Wright committed Dec 7, 2022
    Configuration menu
    Copy the full SHA
    d8f82ca View commit details
    Browse the repository at this point in the history
  4. Add unit tests

    Wright committed Dec 7, 2022
    Configuration menu
    Copy the full SHA
    33e69a1 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2022

  1. Fix tests

    Wright committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    4862a43 View commit details
    Browse the repository at this point in the history
  2. Fix R CMD check issues, add github actions for test coverage, R CMD c…

    …heck, and pkgdown
    Wright committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    0639867 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    978c8e1 View commit details
    Browse the repository at this point in the history
  4. Remove duplicate badge

    Wright committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    d087844 View commit details
    Browse the repository at this point in the history
  5. Attempted bugfix in pkgdown action

    Wright committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    0c47db8 View commit details
    Browse the repository at this point in the history
  6. Fix arcticdatautils import

    Wright committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    caade01 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d426350 View commit details
    Browse the repository at this point in the history
  8. Maybe this time

    Wright committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    ffbe9bc View commit details
    Browse the repository at this point in the history
  9. Manually create pkgdown site

    Wright committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    7a39d4f View commit details
    Browse the repository at this point in the history
  10. remove docs from gitignore

    Wright committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    279da58 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2022

  1. Configuration menu
    Copy the full SHA
    2675a9e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    988b705 View commit details
    Browse the repository at this point in the history
  3. Bugfix

    Wright committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    17a7778 View commit details
    Browse the repository at this point in the history
  4. Update DESCRIPTION

    Wright committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    59084ee View commit details
    Browse the repository at this point in the history
  5. Documentation for run_congruence_checks

    Wright committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    5150b43 View commit details
    Browse the repository at this point in the history
  6. Add tests for run_congruence_check

    Wright committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    0c9f9b5 View commit details
    Browse the repository at this point in the history
  7. Clean up author info

    Wright committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    939f406 View commit details
    Browse the repository at this point in the history
  8. Update pkgdown site

    Wright committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    7bc112f View commit details
    Browse the repository at this point in the history
  9. Resolve merge conflicts

    Merge branch 'main' into unit-testing
    
    # Conflicts:
    #	R/tabular_data_congruence.R
    #	man/test_dup_data_files.Rd
    #	man/test_fields_match.Rd
    Wright committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    f0e1248 View commit details
    Browse the repository at this point in the history