Closed jsilve24 closed 1 year ago
Could you please try making a reprex (a smaller package)? See https://pkgdown.r-lib.org/CONTRIBUTING.html
I cloned https://github.com/jsilve24/fido and was able to build the website.
@maelle people are not going to go crazy trying to come up with a simple example, especially when they don't know the underlying code, or the nature of the issue, or are unwilling to spend days trying to figure it out. They give you a bug report, a backtrace, and it's up to you as the author of the code to try to understand what's the nature of the problem knowing the content of the backtrace together with your knowledge of the code.
The R community spends way too much time asking for these reproducibile examples, time that would be better spent by looking at your code and try to figure it out.
@stefanoborini As we have told you before, we only have a limited amount of development time, and we'd prefer to spend it fixing bugs that are possible for us to reproduce so that we know when we have fixed them.
@stefanoborini : Besides what @hadley said, many people are willing to put an effort into solving problems that affect them. If you aren't, then your problems probably aren't going to be solved as quickly. Maybe you think the authors of the free software you are using owe you more of their time, but they actually don't owe you anything: the reverse is much more likely to be true.
@dmurdoch all this open stuff helps and is supported by a company that makes money out of a niche of R software and tools. You claim it's free stuff, but we pay for it. If you have limited development time, then hire more. These tools form the backbone of a de-facto monopoly that Rstudio created. Keeping them as opensource does not exonerate them to consider this code as part of their product line.
@jsilve24 The grDevices::dev.new()
call fails for you. IDK how the default device is selected, but you can debug this:
debug(grDevices::dev.new)
pkgdown::build_site(new_process = FALSE)
and then once in the debugger, run
getOption("device")
This is my output:
function (...)
ragg::agg_png(..., bg = bg)
...
If you have the same, then probably you cannot load the ragg package, so try to (re)install that. If the default device is different, then your issue might be something else, but it'll give you a hint, nevertheless.
Btw. this is probably also mentioned in the standard output, if you look at .Last.error$stdout
, as the error message suggests.
@gaborcsardi Just... Wow... I am not sure how you jumped to that conclusions but you were spot on. My output was identical to yours:
Browse[2]> getOption("device")
function (...)
ragg::agg_png(..., bg = bg)
and install.packages("ragg")
fixed all of my issues.
Thank you so much!
We truly value respectful, open conversation surrounding open source topics. However, it is also important that the discussions in our organization remain positive and supportive of each other’s efforts. We can disagree, but there’s no need to direct negative comments towards the work of others. Our code of conduct highlights this.
Notably, @stefanoborini, please consider this post a direct warning to not engage in such behavior going forward. I value your work and your thoughts and want your input. But it's counter productive to our organization’s shared goals to be adversarial.
Thank you all for understanding.
@tracykteal Yes, let's all be woke, instead of opening the code and look at what's wrong.
Ok, we’ve gone ahead and blocked you across our repositories.
Sorry for cross posting (see https://github.com/r-lib/pkgdown/issues/2186) where I added a comment onto someone elses issue. I am opening a new issue here because I think that error is actually comming from downlit.
In brief, I am running into some very unhelpful error messages when trying to build a pkgdown site which I realized was occuring whenever pkgdown was trying to parse a .Rd file with an examples section. Removing the examples allowed the site to build. Also the backtrace pointed to a downlit call. Here is the reproducible example I provided in the other issue.
Here is (what I think should be) a reproducible example.
then in R
I have been stuck on this for the past 2 hours. I keep getting this error.
The error goes away when I remove the @examples section of every one of my functions. Adding \dontrun{} doesnot make a difference. I think the bug is comming up from one of the dependencies downlit but I am not sure.
Here is the .Last.error
Also note I think this may be related to https://github.com/r-lib/downlit/issues/85