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

Qualify package names #42

Merged
merged 4 commits into from
Mar 18, 2024
Merged

Qualify package names #42

merged 4 commits into from
Mar 18, 2024

Conversation

r-ash
Copy link
Collaborator

@r-ash r-ash commented Mar 14, 2024

I'm trying to add github actions to naomi (instead of using buildkite)

That is raising an error because a call in this package can't find unzip function see https://github.com/mrc-ide/naomi/actions/runs/8283097208/job/22665482224?pr=433#step:8:7663

or with setNames function https://github.com/mrc-ide/naomi/actions/runs/8283701894/job/22667510478?pr=433#step:7:7661

This PR qualifies all package names which were being raised in an R CMD note. Regenerated the docs, added some missing imports into the DESCRIPTION. I have removed the old .travis.yml whilst I was here as that is no longer used.

@r-ash r-ash requested a review from jeffeaton March 14, 2024 15:42
@r-ash r-ash changed the title Import utils function Qualify package names Mar 14, 2024
Copy link
Collaborator

@jeffeaton jeffeaton left a comment

Choose a reason for hiding this comment

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

Thanks, wow you touched some really niche code here. Thank you for cleaning this up.

One question about what plyr dependency is needed for. Not disputing, but I don't have recollection of it.

Shall we bump the version number and NEWS?

@@ -11,6 +11,8 @@ Imports:
epp (>= 0.4.1),
fastmatch (>= 1.1),
mvtnorm,
plyr,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Where is plyr used? I don't have recollection of using that.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Looks like this is only used in 1 place actually, https://github.com/mrc-ide/eppasm/blob/master/R/read-spectrum-pop1.R#L43

Copy link
Collaborator

Choose a reason for hiding this comment

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

hmmm, not really needed there. but not worth the effort to unwind it!

@r-ash
Copy link
Collaborator Author

r-ash commented Mar 15, 2024

Shall we bump the version number and NEWS?

Good shout, I've updated that

Copy link
Collaborator

@jeffeaton jeffeaton left a comment

Choose a reason for hiding this comment

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

lgtm

@r-ash r-ash merged commit fd37b5e into master Mar 18, 2024
5 checks passed
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