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

Cran submission 0.7.6 #33

Merged
merged 6 commits into from
Apr 3, 2024
Merged

Cran submission 0.7.6 #33

merged 6 commits into from
Apr 3, 2024

Conversation

weirichs
Copy link
Owner

Some final adjustments so that the package can be submitted to CRAN.

@weirichs weirichs requested a review from sachseka March 27, 2024 12:17
@sachseka sachseka self-assigned this Apr 2, 2024
Copy link
Collaborator

@sachseka sachseka left a comment

Choose a reason for hiding this comment

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

In general, looks very good to me! I requested some optional changes according to my preferences, however, this could also be submitted as is.

NEWS.md Outdated
@@ -1,8 +1,10 @@
# eatTools 0.7.6

* add argument checks using the checkmate package
* bugfix in `halveString()` for splitting at the last instance of a regular expression
* new function `rbind_fill_vector()` allows `rbind()` for non-dimensional vectors of unequal length, filling empty entries with NA
Copy link
Collaborator

@sachseka sachseka Apr 2, 2024

Choose a reason for hiding this comment

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

NIT: vectors are unidimensional and not non-dimensional? (r didnt i get what you meant?)

Copy link
Owner Author

Choose a reason for hiding this comment

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

Thanks, I changed it to "unidimensional"

R/makeTria.r Outdated
Copy link
Collaborator

Choose a reason for hiding this comment

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

What does this funtion do? According to initial comment and man-page a matrix should be input, but instead a data.frame is taken and returned. Further, I expected according to description that it converts full covariance matrices to triangles but this is just re-sort of columns according to the amount of missings in these columns. This should be described in man-page and further checks should be added that input corresponds to what is needed (dfr and cols with unequal amounts of NAs).

Copy link
Owner Author

Choose a reason for hiding this comment

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

I've added some checks in the function code and a details section in the description. The function should actually only be called internally and is only exported to the namespace so that eatAnalysis and eatModel packages can access it.

@weirichs weirichs merged commit ce5fd23 into master Apr 3, 2024
8 checks passed
@weirichs weirichs deleted the cran_submission_0.7.6 branch April 3, 2024 13:14
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