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

V1.9.5 #5

Merged
merged 30 commits into from
May 29, 2020
Merged

V1.9.5 #5

merged 30 commits into from
May 29, 2020

Conversation

Siel
Copy link
Member

@Siel Siel commented Apr 16, 2020

Goal: provide the user with the possibility of update gfortran within Pmetrics.

This should close #4

…and MacOs the current version of gcc and will update it, EXPERIMENTAL FEATURE this has not been tested yet.
@Siel Siel added the enhancement New feature or request label Apr 16, 2020
@Siel Siel self-assigned this Apr 16, 2020
@Siel Siel requested a review from mnneely April 22, 2020 17:10
R/getGfortran.R Outdated
#' @author Michael Neely
#' @export

updateGfortran <- function() {
Copy link
Member Author

Choose a reason for hiding this comment

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

@mnneely What do you think about this function name?

Copy link
Contributor

Choose a reason for hiding this comment

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

It seems like the underscore is becoming the convention for naming variables, functions, etc. in R?

Suggested change
updateGfortran <- function() {
update_gfortran <- function() {

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok 👍

Copy link
Member Author

@Siel Siel Apr 22, 2020

Choose a reason for hiding this comment

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

Should it have a prefix? like PMupdate_gfortran?

Copy link
Contributor

Choose a reason for hiding this comment

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

Here's a nice coding convention reference. As you can tell, I developed things a long time ago. I would not suffix items as op.1 now. I would call it op_1.
https://www.r-bloggers.com/🖊-r-coding-style-guide/

@Siel
Copy link
Member Author

Siel commented May 5, 2020

Now we are supporting install_gfortran in both Mac and windows, linux would be a little bit harder because the commands will depend on the package manager the user is using.

I also included the script to remove the gfortran installation from the system. but I'm not sure how to proceed. should we also uninstall choco/brew ? @mnneely

@mnneely
Copy link
Contributor

mnneely commented May 5, 2020

The removal is to remove other gfortran installations? I don't think we need to remove choco/brew.

@Siel
Copy link
Member Author

Siel commented May 5, 2020

No, I was thinking about the user that want to uninstall all the dependencies pmetrics uses to setup gfortran

@mnneely
Copy link
Contributor

mnneely commented May 6, 2020 via email

mnneely and others added 13 commits May 8, 2020 13:34
Merge branch 'master' of github.com:LAPKB/Pmetrics

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
…and MacOs the current version of gcc and will update it, EXPERIMENTAL FEATURE this has not been tested yet.
@Siel Siel changed the title V1.9.4 V1.9.5 May 8, 2020
@mnneely mnneely merged commit 1b0da59 into master May 29, 2020
@mnneely mnneely deleted the v1.9.4 branch May 29, 2020 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Check and update gfortran version
3 participants