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

refactor: unpackage the functions in R/ folder, clean repo #115

Merged
merged 4 commits into from
May 13, 2024
Merged

Conversation

dshemetov
Copy link
Contributor

  • Unpackage the repo, so there's no need to renv::install(".") every time you change a function
  • Documentation cleans
  • Some file reorganization

@dshemetov dshemetov requested a review from dsweber2 April 24, 2024 01:37
@dshemetov dshemetov changed the base branch from main to ds/covid-prod April 24, 2024 01:37
Base automatically changed from ds/covid-prod to main April 24, 2024 01:43
@dshemetov dshemetov force-pushed the ds/clean branch 4 times, most recently from a2f4440 to 7250e7d Compare April 24, 2024 22:28
@dshemetov
Copy link
Contributor Author

dshemetov commented Apr 25, 2024

I think the CI is just borked because of the recent R 4.4 update. I think the actions haven't been fixed yet. Yup, just reran it and it's fine.

Copy link
Contributor

@dsweber2 dsweber2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bunch of random things, but yeah, if we're making this actually reference-able by non-group members, we should probably clean it up a great deal

Makefile Show resolved Hide resolved
R/latency_adjusting.R Outdated Show resolved Hide resolved
R/looping.R Outdated Show resolved Hide resolved
R/manage_S3.R Outdated Show resolved Hide resolved
scripts/extra-packages.R Outdated Show resolved Hide resolved
scripts/targets-common.R Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we source this file in covid_hosp_prod, we should probably make a separate scripts/targets-exploration-common.R for the parts that are only used in exploration, so as to reduce on the overhead to understanding the prod version

Makefile Outdated Show resolved Hide resolved
Makefile Show resolved Hide resolved
R/imports.R Show resolved Hide resolved
* mostly moving functions and changing the way
  imports are handled
* update ci, update renv
* bring back .PHONY
* remove make test-forecasters (just unskip and make test)
* move forecasters into subdirectory
Copy link
Contributor

@dsweber2 dsweber2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ty

@dshemetov dshemetov requested a review from dsweber2 May 13, 2024 21:53
Copy link
Contributor

@dsweber2 dsweber2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ty

@dshemetov dshemetov merged commit 54e3006 into main May 13, 2024
1 check passed
@dshemetov dshemetov deleted the ds/clean branch May 13, 2024 21:53
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

Successfully merging this pull request may close these issues.

None yet

2 participants