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

Error in check in packaging: dev.copy2pdf does not work #100

Open
vertesy opened this issue Oct 31, 2021 · 0 comments
Open

Error in check in packaging: dev.copy2pdf does not work #100

vertesy opened this issue Oct 31, 2021 · 0 comments
Labels

Comments

@vertesy
Copy link
Owner

vertesy commented Oct 31, 2021

Error in check(RepositoryDir, cran = TRUE) in source("~/GitHub/Packages/MarkdownReports/Development/Create_the_MarkdownReports_Package.v4.3.2.R")
I think I had this problem before, but I have no idea how did I resolve it.

> checking examples ... ERROR
  Running examples inMarkdownReports-Ex.Rfailed
  The error most likely occurred in:
  
  > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
  > ### Name: barplot_label
  > ### Title: barplot_label
  > ### Aliases: barplot_label
  > 
  > ### ** Examples
  > 
  > barplot (1:10);
  > barplot_label(barplotted_variable = 1:10, labels = 11:2, filename = "myBarplot.pdf")
  Error in dev.copy2pdf(file = ww.FnP_parser(fname_, "pdf"), width = w_,  : 
    can only print from a screen device
  Calls: barplot_label -> wplot_save_this -> ww.dev.copy -> dev.copy2pdf
  Execution halted
@vertesy vertesy added the bug label Oct 31, 2021
@vertesy vertesy changed the title Error in packaging: dev.copy2pdf does not work Error in check in packaging: dev.copy2pdf does not work Oct 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant