CRAN Package Check Results for Package PVplr

Last updated on 2022-02-10 08:49:27 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 8.84 269.15 277.99 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.0 7.40 194.80 202.20 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.0 324.60 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.0 314.90 ERROR
r-devel-windows-x86_64-new-UL 0.1.0 39.00 312.00 351.00 ERROR
r-devel-windows-x86_64-new-TK 0.1.0 ERROR
r-patched-linux-x86_64 0.1.0 8.70 259.28 267.98 ERROR
r-release-linux-x86_64 0.1.0 6.65 260.23 266.88 ERROR
r-release-macos-arm64 0.1.0 NOTE
r-release-macos-x86_64 0.1.0 NOTE
r-release-windows-ix86+x86_64 0.1.0 19.00 380.00 399.00 ERROR
r-oldrel-macos-x86_64 0.1.0 NOTE
r-oldrel-windows-ix86+x86_64 0.1.0 19.00 387.00 406.00 ERROR

Check Details

Version: 0.1.0
Check: examples
Result: ERROR
    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
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.0
Check: re-building of vignette outputs
Result: WARN
    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
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.1.0
Check: examples
Result: ERROR
    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
Flavors: r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.1.0
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘ggplot2’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-new-TK, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.1.0
Check: examples
Result: ERROR
    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
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-new-UL, r-devel-windows-x86_64-new-TK

Version: 0.1.0
Check: re-building of vignette outputs
Result: WARN
    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
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-new-UL, r-devel-windows-x86_64-new-TK, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.1.0
Check: examples
Result: ERROR
    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
Flavors: r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64