Skip to content

Commit

Permalink
Renamed variable names in install_via_r_remotes.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
tomuben committed Nov 21, 2024
1 parent 1293fa3 commit fa01881
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ext/scripts/install_scripts/install_via_r_remotes.pl
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ =head1 SYNOPSIS
}


my $combining_template = '
my $combining_template_install = '
library(remotes)
install_or_fail <- function(package_name, version){
Expand Down Expand Up @@ -98,9 +98,9 @@ =head1 SYNOPSIS


my @separators = ("\n");
my @templates = ('install_or_fail("<<<<0>>>>",NULL)');
my @install_templates = ('install_or_fail("<<<<0>>>>",NULL)');
if($with_versions){
@templates = ('install_or_fail("<<<<0>>>>","<<<<1>>>>")');
@install_templates = ('install_or_fail("<<<<0>>>>","<<<<1>>>>")');
}

my @validation_templates = ('validate_or_fail("<<<<0>>>>")');
Expand All @@ -125,7 +125,7 @@ sub replace_missing_version{

my $script =
package_mgmt_utils::generate_joined_and_transformed_string_from_file(
$file,$element_separator,$combining_template,\@templates,\@separators,\@rendered_line_transformation_functions) .
$file,$element_separator,$combining_template_install,\@install_templates,\@separators,\@rendered_line_transformation_functions) .
package_mgmt_utils::generate_joined_and_transformed_string_from_file(
$file,$element_separator,$combining_template_validation,\@validation_templates,\@separators,\@rendered_line_transformation_functions_validation);

Expand Down

0 comments on commit fa01881

Please sign in to comment.