You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "kou (via GitHub)" <gi...@apache.org> on 2024/03/14 03:12:55 UTC

[I] [R][Docs] RMarkdown error in vignettes/arrow.Rmd [arrow]

kou opened a new issue, #40535:
URL: https://github.com/apache/arrow/issues/40535

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   https://github.com/apache/arrow/actions/runs/8272294958/job/22633854105#step:7:13544
   
   ```text
   Reading 'vignettes/arrow.Rmd'
   -- RMarkdown error -------------------------------------------------------------
   
   Quitting from lines 192-195 [unnamed-chunk-14] (arrow.Rmd)
   Warning message:
   The vignette title specified in \VignetteIndexEntry{} is different from the title in the YAML metadata. The former is "", and the latter is "Get started with Arrow". If that is intentional, you may set options(rmarkdown.html_vignette.check_title = FALSE) to suppress this check. 
   --------------------------------------------------------------------------------
   ---
   Standard error:
   Attaching package: 'arrow'
   
   The following object is masked from 'package:utils':
   
       timestamp
   
   Warning message:
   In process_conditional_examples(x) :
     @examplesIf condition `arrow_with_dataset() && identical(Sys.getenv("NOT_CRAN"), "true")` is FALSE
   ---
   Backtrace:
   1. pkgdown::build_site(install = FALSE)
   2. pkgdown:::build_site_external(pkg = pkg, examples = examples, run_dont_run = run_d...
   3. callr::r(function(..., cli_colors, pkgdown_internet) { ...
   4. callr:::get_result(output = out, options)
   5. callr:::throw(callr_remote_error(remerr, output), parent = fix_msg(remerr[[3]]))
   ---
   Subprocess backtrace:
    1. pkgdown::build_site(...)
    2. pkgdown:::build_site_local(pkg = pkg, examples = examples, run_dont_run = run_dont...
    3. pkgdown::build_articles(pkg, lazy = lazy, override = override, preview = FALSE)
    4. purrr::walk(pkg$vignettes$name, build_article, pkg = pkg, quiet = quiet,...
    5. purrr::map(.x, .f, ..., .progress = .progress)
    6. purrr:::map_("list", .x, .f, ..., .progress = .progress)
    7. purrr:::with_indexed_errors(i = i, names = names, error_call = .purrr_error_call...
    8. base::withCallingHandlers(expr, error = function(cnd) { ...
    9. purrr:::call_with_cleanup(map_impl, environment(), .type, .progress, ...
   10. local .f(.x[[i]], ...)
   11. pkgdown:::render_rmarkdown(pkg, input = input, output = output_file, output_format...
   12. base::tryCatch(callr::r_safe(function(...) rmarkdown::render(...), ...
   13. base::tryCatchList(expr, classes, parentenv, handlers)
   14. base::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   15. value[[3L]](cond)
   16. rlang::abort("Failed to render RMarkdown", parent = cnd)
   17. | rlang:::signal_abort(cnd, .file)
   18. | base::signalCondition(cnd)
   19. (function (cnd) ...
   20. cli::cli_abort(message, location = i, name = name, parent = cnd, ...
   21. | rlang::abort(message, ..., call = call, use_cli_format = TRUE, ...
   22. | rlang:::signal_abort(cnd, .file)
   23. | base::signalCondition(cnd)
   24. global (function (e) ...
   Execution halted
   ```
   
   ### Component(s)
   
   Documentation, R


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [R][Docs] RMarkdown error in vignettes/arrow.Rmd [arrow]

Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic commented on issue #40535:
URL: https://github.com/apache/arrow/issues/40535#issuecomment-1997673531

   Looks like a failure to install pyarrow on that job for some reason; I've kicked off another run at https://github.com/apache/arrow/actions/runs/8272294958 to double check it's not random failure, will investigate more if that fails.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [R][Docs] RMarkdown error in vignettes/arrow.Rmd [arrow]

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou closed issue #40535: [R][Docs] RMarkdown error in vignettes/arrow.Rmd
URL: https://github.com/apache/arrow/issues/40535


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [R][Docs] RMarkdown error in vignettes/arrow.Rmd [arrow]

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on issue #40535:
URL: https://github.com/apache/arrow/issues/40535#issuecomment-2001968458

   Issue resolved by pull request 40571
   https://github.com/apache/arrow/pull/40571


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [R][Docs] RMarkdown error in vignettes/arrow.Rmd [arrow]

Posted by "raulcd (via GitHub)" <gi...@apache.org>.
raulcd commented on issue #40535:
URL: https://github.com/apache/arrow/issues/40535#issuecomment-1998002330

   It might be related to: https://github.com/apache/arrow/pull/40455
   @kou do we require to enable the virtualenv here? 
   I see there was a change on the `Dockerfile`:
   ```
   #8 [3/5] RUN python3 -m venv /arrow-dev &&     . /arrow-dev/bin/activate &&     pip install -U pip setuptools wheel &&     pip install       -r arrow/python/requirements-build.txt       -r arrow/python/requirements-test.txt
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [R][Docs] RMarkdown error in vignettes/arrow.Rmd [arrow]

Posted by "raulcd (via GitHub)" <gi...@apache.org>.
raulcd commented on issue #40535:
URL: https://github.com/apache/arrow/issues/40535#issuecomment-1998011218

   I am not familiar with reticulate but we might require to update where to find pyarrow due to the new virtualenv installation:
   https://rstudio.github.io/reticulate/articles/versions.html#providing-hints
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [R][Docs] RMarkdown error in vignettes/arrow.Rmd [arrow]

Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic commented on issue #40535:
URL: https://github.com/apache/arrow/issues/40535#issuecomment-1997739166

   Hmm, weird, it failed again.  There hasn't been a new version of the reticulate package (which is [failing to find pyarrow](https://github.com/apache/arrow/actions/runs/8272294958/job/22664807261#step:7:13339)), so that isn't it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [R][Docs] RMarkdown error in vignettes/arrow.Rmd [arrow]

Posted by "amoeba (via GitHub)" <gi...@apache.org>.
amoeba commented on issue #40535:
URL: https://github.com/apache/arrow/issues/40535#issuecomment-2002077511

   Thanks @raulcd and @kou.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [R][Docs] RMarkdown error in vignettes/arrow.Rmd [arrow]

Posted by "amoeba (via GitHub)" <gi...@apache.org>.
amoeba commented on issue #40535:
URL: https://github.com/apache/arrow/issues/40535#issuecomment-1998122243

   It would be nice to be able to keep that vignette (arrow.Rmd) unchanged here so taking advantage of reticulate's `RETICULATE_PYTHON_ENV ` env var makes sense. So I think if we set it based on whatever's in `ARROW_PYTHON_VENV`, it should get picked up. It looks like setting that on the `ubuntu-docs` job definition would be enough for it to get picked up.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org