Running examples in 'PVplr-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: plr_weighted_regression
> ### Title: Weighted Regression
> ### Aliases: plr_weighted_regression
> 
> ### ** Examples
> 
> # build var_list
> var_list <- plr_build_var_list(time_var = "timestamp",
+                                power_var = "power",
+                                irrad_var = "g_poa",
+                                temp_var = "mod_temp",
+                                wind_var = NA)
> # Clean Data
> test_dfc <- plr_cleaning(test_df, var_list, irrad_thresh = 100,
+                          low_power_thresh = 0.01, high_power_cutoff = NA)
>                          
> # Perform the power predictive modeling step
> test_xbx_wbw_res <- plr_xbx_model(test_dfc, var_list, by = "week",
+                                   data_cutoff = 30, predict_data = NULL)
>                                   
> # Calculate Performance Loss Rate
> xbx_wbw_plr <- plr_weighted_regression(test_xbx_wbw_res, 
+                                        power_var = 'power_var', 
+                                        time_var = 'time_var',
+                                        model = "xbx", 
+                                        per_year = 52, 
+                                        weight_var = 'sigma')
Error:
! Can't subset `.data` outside of a data mask context.
Backtrace:
     x
  1. \-PVplr::plr_weighted_regression(...)
  2.   +-stats::lm(pvar ~ tvar, data = data, weights = .data$wvar)
  3.   | \-base::eval(mf, parent.frame())
  4.   |   \-base::eval(mf, parent.frame())
  5.   +-stats::model.frame(...)
  6.   \-stats::model.frame.default(...)
  7.     \-base::eval(extras, data, env)
  8.       \-base::eval(extras, data, env)
  9.         +-wvar
 10.         \-rlang:::`$.rlang_fake_data_pronoun`(.data, wvar)
 11.           \-rlang:::stop_fake_data_subset(call)
 12.             \-rlang::abort(...)
Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building 'feature_correction.Rmd' using rmarkdown
--- finished re-building 'feature_correction.Rmd'

--- re-building 'model_comparison.Rmd' using rmarkdown
--- finished re-building 'model_comparison.Rmd'

--- re-building 'nonlinear_plr.Rmd' using rmarkdown
Warning: Removed 16 rows containing missing values (geom_point).
Quitting from lines 91-94 (nonlinear_plr.Rmd) 
Error: processing vignette 'nonlinear_plr.Rmd' failed with diagnostics:
Can't subset `.data` outside of a data mask context.
--- failed re-building 'nonlinear_plr.Rmd'

--- re-building 'pipeline_walkthrough.Rmd' using rmarkdown
Quitting from lines 138-142 (pipeline_walkthrough.Rmd) 
Error: processing vignette 'pipeline_walkthrough.Rmd' failed with diagnostics:
Can't subset `.data` outside of a data mask context.
--- failed re-building 'pipeline_walkthrough.Rmd'

SUMMARY: processing the following files failed:
  'nonlinear_plr.Rmd' 'pipeline_walkthrough.Rmd'

Error: Vignette re-building failed.
Execution halted
Running examples in ‘PVplr-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: plr_weighted_regression
> ### Title: Weighted Regression
> ### Aliases: plr_weighted_regression
> 
> ### ** Examples
> 
> # build var_list
> var_list <- plr_build_var_list(time_var = "timestamp",
+                                power_var = "power",
+                                irrad_var = "g_poa",
+                                temp_var = "mod_temp",
+                                wind_var = NA)
> # Clean Data
> test_dfc <- plr_cleaning(test_df, var_list, irrad_thresh = 100,
+                          low_power_thresh = 0.01, high_power_cutoff = NA)
>                          
> # Perform the power predictive modeling step
> test_xbx_wbw_res <- plr_xbx_model(test_dfc, var_list, by = "week",
+                                   data_cutoff = 30, predict_data = NULL)
>                                   
> # Calculate Performance Loss Rate
> xbx_wbw_plr <- plr_weighted_regression(test_xbx_wbw_res, 
+                                        power_var = 'power_var', 
+                                        time_var = 'time_var',
+                                        model = "xbx", 
+                                        per_year = 52, 
+                                        weight_var = 'sigma')
Error:
! Can't subset `.data` outside of a data mask context.
Backtrace:
     ▆
  1. └─PVplr::plr_weighted_regression(...)
  2.   ├─stats::lm(pvar ~ tvar, data = data, weights = .data$wvar)
  3.   │ └─base::eval(mf, parent.frame())
  4.   │   └─base::eval(mf, parent.frame())
  5.   ├─stats::model.frame(...)
  6.   └─stats::model.frame.default(...)
  7.     └─base::eval(extras, data, env)
  8.       └─base::eval(extras, data, env)
  9.         ├─wvar
 10.         └─rlang:::`$.rlang_fake_data_pronoun`(.data, wvar)
 11.           └─rlang:::stop_fake_data_subset(call)
 12.             └─rlang::abort(...)
Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘feature_correction.Rmd’ using rmarkdown
--- finished re-building ‘feature_correction.Rmd’

--- re-building ‘model_comparison.Rmd’ using rmarkdown
--- finished re-building ‘model_comparison.Rmd’

--- re-building ‘nonlinear_plr.Rmd’ using rmarkdown
Warning: Removed 16 rows containing missing values (geom_point).
Quitting from lines 91-94 (nonlinear_plr.Rmd) 
Error: processing vignette ‘nonlinear_plr.Rmd’ failed with diagnostics:
Can't subset `.data` outside of a data mask context.
--- failed re-building ‘nonlinear_plr.Rmd’

--- re-building ‘pipeline_walkthrough.Rmd’ using rmarkdown
Quitting from lines 138-142 (pipeline_walkthrough.Rmd) 
Error: processing vignette ‘pipeline_walkthrough.Rmd’ failed with diagnostics:
Can't subset `.data` outside of a data mask context.
--- failed re-building ‘pipeline_walkthrough.Rmd’

SUMMARY: processing the following files failed:
  ‘nonlinear_plr.Rmd’ ‘pipeline_walkthrough.Rmd’

Error: Vignette re-building failed.
Execution halted
Namespace in Imports field not imported from: ‘ggplot2’
  All declared Imports should be used.
Running examples in ‘PVplr-Ex.R’ failed
The error most likely occurred in:

> ### Name: plr_weighted_regression
> ### Title: Weighted Regression
> ### Aliases: plr_weighted_regression
> 
> ### ** Examples
> 
> # build var_list
> var_list <- plr_build_var_list(time_var = "timestamp",
+                                power_var = "power",
+                                irrad_var = "g_poa",
+                                temp_var = "mod_temp",
+                                wind_var = NA)
> # Clean Data
> test_dfc <- plr_cleaning(test_df, var_list, irrad_thresh = 100,
+                          low_power_thresh = 0.01, high_power_cutoff = NA)
>                          
> # Perform the power predictive modeling step
> test_xbx_wbw_res <- plr_xbx_model(test_dfc, var_list, by = "week",
+                                   data_cutoff = 30, predict_data = NULL)
>                                   
> # Calculate Performance Loss Rate
> xbx_wbw_plr <- plr_weighted_regression(test_xbx_wbw_res, 
+                                        power_var = 'power_var', 
+                                        time_var = 'time_var',
+                                        model = "xbx", 
+                                        per_year = 52, 
+                                        weight_var = 'sigma')
Error:
! Can't subset `.data` outside of a data mask context.
Backtrace:
     ▆
  1. └─PVplr::plr_weighted_regression(...)
  2.   ├─stats::lm(pvar ~ tvar, data = data, weights = .data$wvar)
  3.   │ └─base::eval(mf, parent.frame())
  4.   │   └─base::eval(mf, parent.frame())
  5.   ├─stats::model.frame(...)
  6.   └─stats::model.frame.default(...)
  7.     └─base::eval(extras, data, env)
  8.       └─base::eval(extras, data, env)
  9.         ├─wvar
 10.         └─rlang:::`$.rlang_fake_data_pronoun`(.data, wvar)
 11.           └─rlang:::stop_fake_data_subset(call)
 12.             └─rlang::abort(...)
Execution halted
Error(s) in re-building vignettes:
--- re-building ‘feature_correction.Rmd’ using rmarkdown
--- finished re-building ‘feature_correction.Rmd’

--- re-building ‘model_comparison.Rmd’ using rmarkdown
--- finished re-building ‘model_comparison.Rmd’

--- re-building ‘nonlinear_plr.Rmd’ using rmarkdown
Warning: Removed 16 rows containing missing values (geom_point).
Quitting from lines 91-94 (nonlinear_plr.Rmd) 
Error: processing vignette 'nonlinear_plr.Rmd' failed with diagnostics:
Can't subset `.data` outside of a data mask context.
--- failed re-building ‘nonlinear_plr.Rmd’

--- re-building ‘pipeline_walkthrough.Rmd’ using rmarkdown
Quitting from lines 138-142 (pipeline_walkthrough.Rmd) 
Error: processing vignette 'pipeline_walkthrough.Rmd' failed with diagnostics:
Can't subset `.data` outside of a data mask context.
--- failed re-building ‘pipeline_walkthrough.Rmd’

SUMMARY: processing the following files failed:
  ‘nonlinear_plr.Rmd’ ‘pipeline_walkthrough.Rmd’

Error: Vignette re-building failed.
Execution halted
Namespace in Imports field not imported from: ‘ggplot2’
  All declared Imports should be used.
Running examples in ‘PVplr-Ex.R’ failed
The error most likely occurred in:

> ### Name: plr_weighted_regression
> ### Title: Weighted Regression
> ### Aliases: plr_weighted_regression
> 
> ### ** Examples
> 
> # build var_list
> var_list <- plr_build_var_list(time_var = "timestamp",
+                                power_var = "power",
+                                irrad_var = "g_poa",
+                                temp_var = "mod_temp",
+                                wind_var = NA)
> # Clean Data
> test_dfc <- plr_cleaning(test_df, var_list, irrad_thresh = 100,
+                          low_power_thresh = 0.01, high_power_cutoff = NA)
>                          
> # Perform the power predictive modeling step
> test_xbx_wbw_res <- plr_xbx_model(test_dfc, var_list, by = "week",
+                                   data_cutoff = 30, predict_data = NULL)
>                                   
> # Calculate Performance Loss Rate
> xbx_wbw_plr <- plr_weighted_regression(test_xbx_wbw_res, 
+                                        power_var = 'power_var', 
+                                        time_var = 'time_var',
+                                        model = "xbx", 
+                                        per_year = 52, 
+                                        weight_var = 'sigma')
Error:
! Can't subset `.data` outside of a data mask context.
Backtrace:
     ▆
  1. └─PVplr::plr_weighted_regression(...)
  2.   ├─stats::lm(pvar ~ tvar, data = data, weights = .data$wvar)
  3.   │ └─base::eval(mf, parent.frame())
  4.   │   └─base::eval(mf, parent.frame())
  5.   ├─stats::model.frame(...)
  6.   └─stats::model.frame.default(...)
  7.     └─base::eval(extras, data, env)
  8.       └─base::eval(extras, data, env)
  9.         ├─wvar
 10.         └─rlang:::`$.rlang_fake_data_pronoun`(.data, wvar)
 11.           └─rlang:::stop_fake_data_subset(call)
 12.             └─rlang::abort(...)
Execution halted
Error(s) in re-building vignettes:
--- re-building ‘feature_correction.Rmd’ using rmarkdown
--- finished re-building ‘feature_correction.Rmd’

--- re-building ‘model_comparison.Rmd’ using rmarkdown
--- finished re-building ‘model_comparison.Rmd’

--- re-building ‘nonlinear_plr.Rmd’ using rmarkdown
Warning: Removed 16 rows containing missing values (geom_point).
Quitting from lines 91-94 (nonlinear_plr.Rmd) 
Error: processing vignette 'nonlinear_plr.Rmd' failed with diagnostics:
Can't subset `.data` outside of a data mask context.
--- failed re-building ‘nonlinear_plr.Rmd’

--- re-building ‘pipeline_walkthrough.Rmd’ using rmarkdown
Quitting from lines 138-142 (pipeline_walkthrough.Rmd) 
Error: processing vignette 'pipeline_walkthrough.Rmd' failed with diagnostics:
Can't subset `.data` outside of a data mask context.
--- failed re-building ‘pipeline_walkthrough.Rmd’

SUMMARY: processing the following files failed:
  ‘nonlinear_plr.Rmd’ ‘pipeline_walkthrough.Rmd’

Error: Vignette re-building failed.
Execution halted
Running examples in 'PVplr-Ex.R' failed
The error most likely occurred in:

> ### Name: plr_weighted_regression
> ### Title: Weighted Regression
> ### Aliases: plr_weighted_regression
> 
> ### ** Examples
> 
> # build var_list
> var_list <- plr_build_var_list(time_var = "timestamp",
+                                power_var = "power",
+                                irrad_var = "g_poa",
+                                temp_var = "mod_temp",
+                                wind_var = NA)
> # Clean Data
> test_dfc <- plr_cleaning(test_df, var_list, irrad_thresh = 100,
+                          low_power_thresh = 0.01, high_power_cutoff = NA)
>                          
> # Perform the power predictive modeling step
> test_xbx_wbw_res <- plr_xbx_model(test_dfc, var_list, by = "week",
+                                   data_cutoff = 30, predict_data = NULL)
>                                   
> # Calculate Performance Loss Rate
> xbx_wbw_plr <- plr_weighted_regression(test_xbx_wbw_res, 
+                                        power_var = 'power_var', 
+                                        time_var = 'time_var',
+                                        model = "xbx", 
+                                        per_year = 52, 
+                                        weight_var = 'sigma')
Error:
! Can't subset `.data` outside of a data mask context.
Backtrace:
     ▆
  1. └─PVplr::plr_weighted_regression(...)
  2.   ├─stats::lm(pvar ~ tvar, data = data, weights = .data$wvar)
  3.   │ └─base::eval(mf, parent.frame())
  4.   │   └─base::eval(mf, parent.frame())
  5.   ├─stats::model.frame(...)
  6.   └─stats::model.frame.default(...)
  7.     └─base::eval(extras, data, env)
  8.       └─base::eval(extras, data, env)
  9.         ├─wvar
 10.         └─rlang:::`$.rlang_fake_data_pronoun`(.data, wvar)
 11.           └─rlang:::stop_fake_data_subset(call)
 12.             └─rlang::abort(...)
Execution halted
Error(s) in re-building vignettes:
--- re-building 'feature_correction.Rmd' using rmarkdown
--- finished re-building 'feature_correction.Rmd'

--- re-building 'model_comparison.Rmd' using rmarkdown
--- finished re-building 'model_comparison.Rmd'

--- re-building 'nonlinear_plr.Rmd' using rmarkdown
Warning: Removed 16 rows containing missing values (geom_point).
Quitting from lines 91-94 (nonlinear_plr.Rmd) 
Error: processing vignette 'nonlinear_plr.Rmd' failed with diagnostics:
Can't subset `.data` outside of a data mask context.
--- failed re-building 'nonlinear_plr.Rmd'

--- re-building 'pipeline_walkthrough.Rmd' using rmarkdown
Quitting from lines 138-142 (pipeline_walkthrough.Rmd) 
Error: processing vignette 'pipeline_walkthrough.Rmd' failed with diagnostics:
Can't subset `.data` outside of a data mask context.
--- failed re-building 'pipeline_walkthrough.Rmd'

SUMMARY: processing the following files failed:
  'nonlinear_plr.Rmd' 'pipeline_walkthrough.Rmd'

Error: Vignette re-building failed.
Execution halted
Namespace in Imports field not imported from: 'ggplot2'
  All declared Imports should be used.
Running examples in 'PVplr-Ex.R' failed
The error most likely occurred in:

> ### Name: plr_weighted_regression
> ### Title: Weighted Regression
> ### Aliases: plr_weighted_regression
> 
> ### ** Examples
> 
> # build var_list
> var_list <- plr_build_var_list(time_var = "timestamp",
+                                power_var = "power",
+                                irrad_var = "g_poa",
+                                temp_var = "mod_temp",
+                                wind_var = NA)
> # Clean Data
> test_dfc <- plr_cleaning(test_df, var_list, irrad_thresh = 100,
+                          low_power_thresh = 0.01, high_power_cutoff = NA)
>                          
> # Perform the power predictive modeling step
> test_xbx_wbw_res <- plr_xbx_model(test_dfc, var_list, by = "week",
+                                   data_cutoff = 30, predict_data = NULL)
>                                   
> # Calculate Performance Loss Rate
> xbx_wbw_plr <- plr_weighted_regression(test_xbx_wbw_res, 
+                                        power_var = 'power_var', 
+                                        time_var = 'time_var',
+                                        model = "xbx", 
+                                        per_year = 52, 
+                                        weight_var = 'sigma')
Error:
! Can't subset `.data` outside of a data mask context.
Backtrace:
     ▆
  1. └─PVplr::plr_weighted_regression(...)
  2.   ├─stats::lm(pvar ~ tvar, data = data, weights = .data$wvar)
  3.   │ └─base::eval(mf, parent.frame())
  4.   │   └─base::eval(mf, parent.frame())
  5.   ├─stats::model.frame(...)
  6.   └─stats::model.frame.default(...)
  7.     └─base::eval(extras, data, env)
  8.       └─base::eval(extras, data, env)
  9.         ├─wvar
 10.         └─rlang:::`$.rlang_fake_data_pronoun`(.data, wvar)
 11.           └─rlang:::stop_fake_data_subset(call)
 12.             └─rlang::abort(...)
Execution halted
Error(s) in re-building vignettes:
--- re-building 'feature_correction.Rmd' using rmarkdown
--- finished re-building 'feature_correction.Rmd'

--- re-building 'model_comparison.Rmd' using rmarkdown
--- finished re-building 'model_comparison.Rmd'

--- re-building 'nonlinear_plr.Rmd' using rmarkdown
Warning: Removed 16 rows containing missing values (geom_point).
Quitting from lines 91-94 (nonlinear_plr.Rmd) 
Error: processing vignette 'nonlinear_plr.Rmd' failed with diagnostics:
Can't subset `.data` outside of a data mask context.
--- failed re-building 'nonlinear_plr.Rmd'

--- re-building 'pipeline_walkthrough.Rmd' using rmarkdown
Quitting from lines 138-142 (pipeline_walkthrough.Rmd) 
Error: processing vignette 'pipeline_walkthrough.Rmd' failed with diagnostics:
Can't subset `.data` outside of a data mask context.
--- failed re-building 'pipeline_walkthrough.Rmd'

SUMMARY: processing the following files failed:
  'nonlinear_plr.Rmd' 'pipeline_walkthrough.Rmd'

Error: Vignette re-building failed.
Execution halted
Running examples in ‘PVplr-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: plr_weighted_regression
> ### Title: Weighted Regression
> ### Aliases: plr_weighted_regression
> 
> ### ** Examples
> 
> # build var_list
> var_list <- plr_build_var_list(time_var = "timestamp",
+                                power_var = "power",
+                                irrad_var = "g_poa",
+                                temp_var = "mod_temp",
+                                wind_var = NA)
> # Clean Data
> test_dfc <- plr_cleaning(test_df, var_list, irrad_thresh = 100,
+                          low_power_thresh = 0.01, high_power_cutoff = NA)
>                          
> # Perform the power predictive modeling step
> test_xbx_wbw_res <- plr_xbx_model(test_dfc, var_list, by = "week",
+                                   data_cutoff = 30, predict_data = NULL)
>                                   
> # Calculate Performance Loss Rate
> xbx_wbw_plr <- plr_weighted_regression(test_xbx_wbw_res, 
+                                        power_var = 'power_var', 
+                                        time_var = 'time_var',
+                                        model = "xbx", 
+                                        per_year = 52, 
+                                        weight_var = 'sigma')
Error:
! Can't subset `.data` outside of a data mask context.
Backtrace:
     ▆
  1. └─PVplr::plr_weighted_regression(...)
  2.   ├─stats::lm(pvar ~ tvar, data = data, weights = .data$wvar)
  3.   │ └─base::eval(mf, parent.frame())
  4.   │   └─base::eval(mf, parent.frame())
  5.   ├─stats::model.frame(...)
  6.   └─stats::model.frame.default(...)
  7.     └─base::eval(extras, data, env)
  8.       └─base::eval(extras, data, env)
  9.         ├─wvar
 10.         └─rlang:::`$.rlang_fake_data_pronoun`(.data, wvar)
 11.           └─rlang:::stop_fake_data_subset(call)
 12.             └─rlang::abort(...)
Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘feature_correction.Rmd’ using rmarkdown
--- finished re-building ‘feature_correction.Rmd’

--- re-building ‘model_comparison.Rmd’ using rmarkdown
--- finished re-building ‘model_comparison.Rmd’

--- re-building ‘nonlinear_plr.Rmd’ using rmarkdown
Warning: Removed 16 rows containing missing values (geom_point).
Quitting from lines 91-94 (nonlinear_plr.Rmd) 
Error: processing vignette 'nonlinear_plr.Rmd' failed with diagnostics:
Can't subset `.data` outside of a data mask context.
--- failed re-building ‘nonlinear_plr.Rmd’

--- re-building ‘pipeline_walkthrough.Rmd’ using rmarkdown
Quitting from lines 138-142 (pipeline_walkthrough.Rmd) 
Error: processing vignette 'pipeline_walkthrough.Rmd' failed with diagnostics:
Can't subset `.data` outside of a data mask context.
--- failed re-building ‘pipeline_walkthrough.Rmd’

SUMMARY: processing the following files failed:
  ‘nonlinear_plr.Rmd’ ‘pipeline_walkthrough.Rmd’

Error: Vignette re-building failed.
Execution halted
Running examples in ‘PVplr-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: plr_weighted_regression
> ### Title: Weighted Regression
> ### Aliases: plr_weighted_regression
> 
> ### ** Examples
> 
> # build var_list
> var_list <- plr_build_var_list(time_var = "timestamp",
+                                power_var = "power",
+                                irrad_var = "g_poa",
+                                temp_var = "mod_temp",
+                                wind_var = NA)
> # Clean Data
> test_dfc <- plr_cleaning(test_df, var_list, irrad_thresh = 100,
+                          low_power_thresh = 0.01, high_power_cutoff = NA)
>                          
> # Perform the power predictive modeling step
> test_xbx_wbw_res <- plr_xbx_model(test_dfc, var_list, by = "week",
+                                   data_cutoff = 30, predict_data = NULL)
>                                   
> # Calculate Performance Loss Rate
> xbx_wbw_plr <- plr_weighted_regression(test_xbx_wbw_res, 
+                                        power_var = 'power_var', 
+                                        time_var = 'time_var',
+                                        model = "xbx", 
+                                        per_year = 52, 
+                                        weight_var = 'sigma')
Error:
! Can't subset `.data` outside of a data mask context.
Backtrace:
     ▆
  1. └─PVplr::plr_weighted_regression(...)
  2.   ├─stats::lm(pvar ~ tvar, data = data, weights = .data$wvar)
  3.   │ └─base::eval(mf, parent.frame())
  4.   │   └─base::eval(mf, parent.frame())
  5.   ├─stats::model.frame(...)
  6.   └─stats::model.frame.default(...)
  7.     └─base::eval(extras, data, env)
  8.       └─base::eval(extras, data, env)
  9.         ├─wvar
 10.         └─rlang:::`$.rlang_fake_data_pronoun`(.data, wvar)
 11.           └─rlang:::stop_fake_data_subset(call)
 12.             └─rlang::abort(...)
Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘feature_correction.Rmd’ using rmarkdown
--- finished re-building ‘feature_correction.Rmd’

--- re-building ‘model_comparison.Rmd’ using rmarkdown
--- finished re-building ‘model_comparison.Rmd’

--- re-building ‘nonlinear_plr.Rmd’ using rmarkdown
Warning: Removed 16 rows containing missing values (geom_point).
Quitting from lines 91-94 (nonlinear_plr.Rmd) 
Error: processing vignette 'nonlinear_plr.Rmd' failed with diagnostics:
Can't subset `.data` outside of a data mask context.
--- failed re-building ‘nonlinear_plr.Rmd’

--- re-building ‘pipeline_walkthrough.Rmd’ using rmarkdown
Quitting from lines 138-142 (pipeline_walkthrough.Rmd) 
Error: processing vignette 'pipeline_walkthrough.Rmd' failed with diagnostics:
Can't subset `.data` outside of a data mask context.
--- failed re-building ‘pipeline_walkthrough.Rmd’

SUMMARY: processing the following files failed:
  ‘nonlinear_plr.Rmd’ ‘pipeline_walkthrough.Rmd’

Error: Vignette re-building failed.
Execution halted
Namespace in Imports field not imported from: ‘ggplot2’
  All declared Imports should be used.
Namespace in Imports field not imported from: ‘ggplot2’
  All declared Imports should be used.
Running examples in 'PVplr-Ex.R' failed
The error most likely occurred in:

> ### Name: plr_weighted_regression
> ### Title: Weighted Regression
> ### Aliases: plr_weighted_regression
> 
> ### ** Examples
> 
> # build var_list
> var_list <- plr_build_var_list(time_var = "timestamp",
+                                power_var = "power",
+                                irrad_var = "g_poa",
+                                temp_var = "mod_temp",
+                                wind_var = NA)
> # Clean Data
> test_dfc <- plr_cleaning(test_df, var_list, irrad_thresh = 100,
+                          low_power_thresh = 0.01, high_power_cutoff = NA)
>                          
> # Perform the power predictive modeling step
> test_xbx_wbw_res <- plr_xbx_model(test_dfc, var_list, by = "week",
+                                   data_cutoff = 30, predict_data = NULL)
>                                   
> # Calculate Performance Loss Rate
> xbx_wbw_plr <- plr_weighted_regression(test_xbx_wbw_res, 
+                                        power_var = 'power_var', 
+                                        time_var = 'time_var',
+                                        model = "xbx", 
+                                        per_year = 52, 
+                                        weight_var = 'sigma')
Error:
! Can't subset `.data` outside of a data mask context.
Backtrace:
     x
  1. \-PVplr::plr_weighted_regression(...)
  2.   +-stats::lm(pvar ~ tvar, data = data, weights = .data$wvar)
  3.   | \-base::eval(mf, parent.frame())
  4.   |   \-base::eval(mf, parent.frame())
  5.   +-stats::model.frame(...)
  6.   \-stats::model.frame.default(...)
  7.     \-base::eval(extras, data, env)
  8.       \-base::eval(extras, data, env)
  9.         +-wvar
 10.         \-rlang:::`$.rlang_fake_data_pronoun`(.data, wvar)
 11.           \-rlang:::stop_fake_data_subset(call)
 12.             \-rlang::abort(...)
Execution halted
Error(s) in re-building vignettes:
--- re-building 'feature_correction.Rmd' using rmarkdown
--- finished re-building 'feature_correction.Rmd'

--- re-building 'model_comparison.Rmd' using rmarkdown
--- finished re-building 'model_comparison.Rmd'

--- re-building 'nonlinear_plr.Rmd' using rmarkdown
Warning: Removed 16 rows containing missing values (geom_point).
Quitting from lines 91-94 (nonlinear_plr.Rmd) 
Error: processing vignette 'nonlinear_plr.Rmd' failed with diagnostics:
Can't subset `.data` outside of a data mask context.
--- failed re-building 'nonlinear_plr.Rmd'

--- re-building 'pipeline_walkthrough.Rmd' using rmarkdown
Quitting from lines 138-142 (pipeline_walkthrough.Rmd) 
Error: processing vignette 'pipeline_walkthrough.Rmd' failed with diagnostics:
Can't subset `.data` outside of a data mask context.
--- failed re-building 'pipeline_walkthrough.Rmd'

SUMMARY: processing the following files failed:
  'nonlinear_plr.Rmd' 'pipeline_walkthrough.Rmd'

Error: Vignette re-building failed.
Execution halted
Namespace in Imports field not imported from: ‘ggplot2’
  All declared Imports should be used.
Running examples in 'PVplr-Ex.R' failed
The error most likely occurred in:

> ### Name: plr_weighted_regression
> ### Title: Weighted Regression
> ### Aliases: plr_weighted_regression
> 
> ### ** Examples
> 
> # build var_list
> var_list <- plr_build_var_list(time_var = "timestamp",
+                                power_var = "power",
+                                irrad_var = "g_poa",
+                                temp_var = "mod_temp",
+                                wind_var = NA)
> # Clean Data
> test_dfc <- plr_cleaning(test_df, var_list, irrad_thresh = 100,
+                          low_power_thresh = 0.01, high_power_cutoff = NA)
>                          
> # Perform the power predictive modeling step
> test_xbx_wbw_res <- plr_xbx_model(test_dfc, var_list, by = "week",
+                                   data_cutoff = 30, predict_data = NULL)
>                                   
> # Calculate Performance Loss Rate
> xbx_wbw_plr <- plr_weighted_regression(test_xbx_wbw_res, 
+                                        power_var = 'power_var', 
+                                        time_var = 'time_var',
+                                        model = "xbx", 
+                                        per_year = 52, 
+                                        weight_var = 'sigma')
Error:
! Can't subset `.data` outside of a data mask context.
Backtrace:
     x
  1. \-PVplr::plr_weighted_regression(...)
  2.   +-stats::lm(pvar ~ tvar, data = data, weights = .data$wvar)
  3.   | \-base::eval(mf, parent.frame())
  4.   |   \-base::eval(mf, parent.frame())
  5.   +-stats::model.frame(...)
  6.   \-stats::model.frame.default(...)
  7.     \-base::eval(extras, data, env)
  8.       \-base::eval(extras, data, env)
  9.         +-wvar
 10.         \-rlang:::`$.rlang_fake_data_pronoun`(.data, wvar)
 11.           \-rlang:::stop_fake_data_subset(call)
 12.             \-rlang::abort(...)
Execution halted
Error(s) in re-building vignettes:
--- re-building 'feature_correction.Rmd' using rmarkdown
--- finished re-building 'feature_correction.Rmd'

--- re-building 'model_comparison.Rmd' using rmarkdown
--- finished re-building 'model_comparison.Rmd'

--- re-building 'nonlinear_plr.Rmd' using rmarkdown
Warning: Removed 16 rows containing missing values (geom_point).
Quitting from lines 91-94 (nonlinear_plr.Rmd) 
Error: processing vignette 'nonlinear_plr.Rmd' failed with diagnostics:
Can't subset `.data` outside of a data mask context.
--- failed re-building 'nonlinear_plr.Rmd'

--- re-building 'pipeline_walkthrough.Rmd' using rmarkdown
Quitting from lines 138-142 (pipeline_walkthrough.Rmd) 
Error: processing vignette 'pipeline_walkthrough.Rmd' failed with diagnostics:
Can't subset `.data` outside of a data mask context.
--- failed re-building 'pipeline_walkthrough.Rmd'

SUMMARY: processing the following files failed:
  'nonlinear_plr.Rmd' 'pipeline_walkthrough.Rmd'

Error: Vignette re-building failed.
Execution halted