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

Transformation suffixes to prefixes #397

Closed
wants to merge 4 commits into from

Conversation

teunbrand
Copy link
Contributor

This PR aims to fix #390.

Briefly, it renames all *_trans functions to trans_* functions, while keeping the suffixed versions as aliases.
The as.trans() function first tries the prefixed version, and when unavailable, tries the suffixed version for backward compatibility.

@thomasp85
Copy link
Member

If you are up for it I'd like to rename trans to transform in the API. This could be well folded into this PR

@teunbrand
Copy link
Contributor Author

Sure. Just to clarify, we then should end up with the transform_log10() function and for backward compatibility also the log10_trans() function, right?

@thomasp85
Copy link
Member

exactly. Further, the auxiliary functions also needs renaming + alias (e.g. as.trans)

@teunbrand
Copy link
Contributor Author

I'm going to make a new PR for that, as git merge just wipes all of this PRs changes and I'm in no mood to manually go through every change. I'll start with a clean slate

@teunbrand
Copy link
Contributor Author

Closing this in favour of #410

@teunbrand teunbrand closed this Nov 6, 2023
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.

*_trans suffixed functions would be easier to use if they were renamed to be trans_* prefixed functions
2 participants