Skip to content

Conversation

@felixcheung
Copy link
Member

What changes were proposed in this pull request?

Code in vignettes requires winutils on windows to run, when publishing to CRAN or building from source, winutils might not be available, so it's better to disable code run (so resulting vigenttes will not have output from code, but text is still there and code is still there)

fix * checking re-building of vignette outputs ... WARNING
and

%LOCALAPPDATA% not found. Please define the environment variable or restart and enter an installation path in localDir.

How was this patch tested?

jenkins, appveyor, r-hub

before: https://artifacts.r-hub.io/SparkR_2.2.0.tar.gz-49cecef3bb09db1db130db31604e0293/SparkR.Rcheck/00check.log
after: https://artifacts.r-hub.io/SparkR_2.2.0.tar.gz-86a066c7576f46794930ad114e5cff7c/SparkR.Rcheck/00check.log

@felixcheung felixcheung changed the title [SPARK-21805] Disable R vignettes code on Windows [SPARK-21805][SPARKR] Disable R vignettes code on Windows Aug 22, 2017
@SparkQA
Copy link

SparkQA commented Aug 22, 2017

Test build #80965 has finished for PR 19016 at commit 7c75073.

  • This patch fails due to an unknown error code, -9.
  • This patch merges cleanly.
  • This patch adds no public classes.

@HyukjinKwon
Copy link
Member

retest this please

@felixcheung
Copy link
Member Author

what's with jenkins? looks like JIRA is not updated either...

@HyukjinKwon
Copy link
Member

Yes ... for JIRA linking problem, there are some information here - http://apache-spark-developers-list.1001551.n3.nabble.com/Some-PRs-not-automatically-linked-to-JIRAs-td22067.html just FYI. I think -9 has increased recently..

@SparkQA
Copy link

SparkQA commented Aug 22, 2017

Test build #80972 has finished for PR 19016 at commit 7c75073.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@felixcheung felixcheung reopened this Aug 23, 2017
@shivaram
Copy link
Contributor

Thanks @felixcheung ! Are the warnings about the missing PDF unavoidable ? I see something like

 checking package vignettes in 'inst/doc' ... WARNING
Package vignette without corresponding PDF/HTML:
   'sparkr-vignettes.Rmd'

@felixcheung
Copy link
Member Author

felixcheung commented Aug 23, 2017 via email

@shivaram
Copy link
Contributor

Ah I see. Yeah the failed tests makes sense. We can also try to submit a custom tar.gz to r-hub to test it with the PDF and a different version number ?

@felixcheung
Copy link
Member Author

felixcheung commented Aug 23, 2017 via email

-->

```{r setup, include=FALSE}
library(knitr)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to clarify, the opt_hooks is provided by knitr ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes!

@shivaram
Copy link
Contributor

Sure - change LGTM. Lets see if @HyukjinKwon has any more comments ? If not we can merge to master, branch-2.2 and then do some more tests.

@SparkQA
Copy link

SparkQA commented Aug 23, 2017

Test build #81040 has finished for PR 19016 at commit 23f9d5e.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@HyukjinKwon
Copy link
Member

Sure, I have no more comments and it looks good to me too.

asfgit pushed a commit that referenced this pull request Aug 24, 2017
## What changes were proposed in this pull request?

Code in vignettes requires winutils on windows to run, when publishing to CRAN or building from source, winutils might not be available, so it's better to disable code run (so resulting vigenttes will not have output from code, but text is still there and code is still there)

fix * checking re-building of vignette outputs ... WARNING
and
> %LOCALAPPDATA% not found. Please define the environment variable or restart and enter an installation path in localDir.

## How was this patch tested?

jenkins, appveyor, r-hub

before: https://artifacts.r-hub.io/SparkR_2.2.0.tar.gz-49cecef3bb09db1db130db31604e0293/SparkR.Rcheck/00check.log
after: https://artifacts.r-hub.io/SparkR_2.2.0.tar.gz-86a066c7576f46794930ad114e5cff7c/SparkR.Rcheck/00check.log

Author: Felix Cheung <[email protected]>

Closes #19016 from felixcheung/rvigwind.

(cherry picked from commit 43cbfad)
Signed-off-by: Felix Cheung <[email protected]>
@felixcheung
Copy link
Member Author

thanks, merged to master/2.2.
will check for nightly build from tonight.

@asfgit asfgit closed this in 43cbfad Aug 24, 2017
@felixcheung
Copy link
Member Author

I tested with the nightly, it passed
https://builder.r-hub.io/status/SparkR_2.2.0.tar.gz-fba296d2142edeb8bcdb082e311d8462

@shivaram
Copy link
Contributor

Thats great ! I will also run this by winbuilder later today.

felixcheung added a commit to felixcheung/spark that referenced this pull request Sep 8, 2017
## What changes were proposed in this pull request?

Code in vignettes requires winutils on windows to run, when publishing to CRAN or building from source, winutils might not be available, so it's better to disable code run (so resulting vigenttes will not have output from code, but text is still there and code is still there)

fix * checking re-building of vignette outputs ... WARNING
and
> %LOCALAPPDATA% not found. Please define the environment variable or restart and enter an installation path in localDir.

## How was this patch tested?

jenkins, appveyor, r-hub

before: https://artifacts.r-hub.io/SparkR_2.2.0.tar.gz-49cecef3bb09db1db130db31604e0293/SparkR.Rcheck/00check.log
after: https://artifacts.r-hub.io/SparkR_2.2.0.tar.gz-86a066c7576f46794930ad114e5cff7c/SparkR.Rcheck/00check.log

Author: Felix Cheung <[email protected]>

Closes apache#19016 from felixcheung/rvigwind.
MatthewRBruce pushed a commit to Shopify/spark that referenced this pull request Jul 31, 2018
## What changes were proposed in this pull request?

Code in vignettes requires winutils on windows to run, when publishing to CRAN or building from source, winutils might not be available, so it's better to disable code run (so resulting vigenttes will not have output from code, but text is still there and code is still there)

fix * checking re-building of vignette outputs ... WARNING
and
> %LOCALAPPDATA% not found. Please define the environment variable or restart and enter an installation path in localDir.

## How was this patch tested?

jenkins, appveyor, r-hub

before: https://artifacts.r-hub.io/SparkR_2.2.0.tar.gz-49cecef3bb09db1db130db31604e0293/SparkR.Rcheck/00check.log
after: https://artifacts.r-hub.io/SparkR_2.2.0.tar.gz-86a066c7576f46794930ad114e5cff7c/SparkR.Rcheck/00check.log

Author: Felix Cheung <[email protected]>

Closes apache#19016 from felixcheung/rvigwind.

(cherry picked from commit 43cbfad)
Signed-off-by: Felix Cheung <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants