MixSIAR icon indicating copy to clipboard operation
MixSIAR copied to clipboard

error in output_JAGS(jags.1, mix, source, output_options)

Open Xc-Qin opened this issue 1 year ago • 1 comments

output_options <- list(summary_save = TRUE,

  •                    summary_name = "summary_statistics",
    
  •                    sup_post = FALSE,
    
  •                    plot_post_save_pdf = TRUE,
    
  •                    plot_post_name = "posterior_density",
    
  •                    sup_pairs = FALSE,
    
  •                    plot_pairs_save_pdf = TRUE,
    
  •                    plot_pairs_name = "pairs_plot",
    
  •                    sup_xy = TRUE,
    
  •                    plot_xy_save_pdf = FALSE,
    
  •                    plot_xy_name = "xy_plot",
    
  •                    gelman = TRUE,
    
  •                    heidel = FALSE,
    
  •                    geweke = TRUE,
    
  •                    diag_save = TRUE,
    
  •                    diag_name = "diagnostics",
    
  •                    indiv_effect = FALSE,
    
  •                    plot_post_save_png = FALSE,
    
  •                    plot_pairs_save_png = FALSE,
    
  •                    plot_xy_save_png = FALSE,
    
  •                    diag_save_ggmcmc = FALSE)
    

output_JAGS(jags.1, mix, source, output_options) Error in UseMethod("depth") : no applicable method for 'depth' applied to an object of class "NULL" In addition: Warning messages: 1: In par(usr) : argument 1 does not name a graphical parameter 2: In par(usr) : argument 1 does not name a graphical parameter 3: In par(usr) : argument 1 does not name a graphical parameter 4: In par(usr) : argument 1 does not name a graphical parameter 5: In par(usr) : argument 1 does not name a graphical parameter 6: In par(usr) : argument 1 does not name a graphical parameter 7: The dot-dot notation (..scaled..) was deprecated in ggplot2 3.4.0. ℹ Please use after_stat(scaled) instead. ℹ The deprecated feature was likely used in the MixSIAR package. Please report the issue at https://github.com/brianstock/MixSIAR/issues. This warning is displayed once every 8 hours. Call lifecycle::last_lifecycle_warnings() to see where this warning was generated.

Xc-Qin avatar Dec 30 '23 07:12 Xc-Qin

I also got this error. I'm not sure how to proceed.

output_JAGS(jags.1, mix, source) Error in UseMethod("depth") : no applicable method for 'depth' applied to an object of class "NULL" In addition: Warning messages: 1: In par(usr) : argument 1 does not name a graphical parameter 2: In par(usr) : argument 1 does not name a graphical parameter 3: In par(usr) : argument 1 does not name a graphical parameter 4: The dot-dot notation (..scaled..) was deprecated in ggplot2 3.4.0. ℹ Please use after_stat(scaled) instead. ℹ The deprecated feature was likely used in the MixSIAR package. Please report the issue at https://github.com/brianstock/MixSIAR/issues. This warning is displayed once every 8 hours. Call lifecycle::last_lifecycle_warnings() to see where this warning was generated.

nattycep avatar Apr 11 '24 13:04 nattycep