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 tiny fixes #71

Merged
merged 3 commits into from
Dec 17, 2024
Merged

Add tiny fixes #71

merged 3 commits into from
Dec 17, 2024

Conversation

dfsnow
Copy link
Member

@dfsnow dfsnow commented Dec 17, 2024

This PR makes a few tiny fixes to get the residential model up and running. See PR comments for details.

@@ -1,2 +1,3 @@
ARROW_S3=ON
ARROW_WITH_SNAPPY=ON
AWS_REGION=us-east-1
Copy link
Member Author

Choose a reason for hiding this comment

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

This is present in the res repo but not this one. Not having it causes the SNS topic publish to fail.

Comment on lines +91 to +95
if (sum(!is.na(n_sales)) >= min_n) {
return(fn)
} else {
return(rep(na_type, length(n_sales)))
}
Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

All the changes in this file were just automatically performed by renv.

Copy link
Member Author

Choose a reason for hiding this comment

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

The deps in this lockfile were slightly ahead of the versions in the default renv.lock. This resulted in a renv out of sync error in production because we install these deps using renv::restore(lockfile="renv/profiles/reporting/renv.lock"), meaning they overwrite whatever version is initially installed from the default lockfile.

Syncing the versions fixes this issue.

@dfsnow dfsnow marked this pull request as ready for review December 17, 2024 23:02
Copy link
Contributor

@jeancochrane jeancochrane left a comment

Choose a reason for hiding this comment

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

All good 👍🏻

@dfsnow dfsnow merged commit 352b8ef into 2025-assessment-year Dec 17, 2024
7 checks passed
@dfsnow dfsnow deleted the dfsnow/minor-fixes branch December 17, 2024 23:03
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.

2 participants