Skip to content

Conversation

@yu-iskw
Copy link
Contributor

@yu-iskw yu-iskw commented Aug 24, 2015

cc: @shivaram

Summary

  • Modify @tdname of expression functions. i.e. ascii: @rdname functions => @rdname ascii
  • Replace the dynamical function definitions to the static ones because of thir documentations.

Generated PDF File

https://drive.google.com/file/d/0B9biIZIU47lLX2t6ZjRoRnBTSEU/view?usp=sharing

JIRA

[SPARK-10118] Improve SparkR API docs for 1.5 release - ASF JIRA

@SparkQA
Copy link

SparkQA commented Aug 24, 2015

Test build #41435 has finished for PR 8386 at commit 343719b.

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

@yu-iskw
Copy link
Contributor Author

yu-iskw commented Aug 24, 2015

@shivaram could you review it?

@shivaram
Copy link
Contributor

Thanks @yu-iskw for this change and also for sending the PDF. One question I have is if there is any way we can change the documentation from appearing as floor,Column-method to just floor. I think we can do this with aliases, but I haven't tried this out.

cc @davies

@yu-iskw
Copy link
Contributor Author

yu-iskw commented Aug 24, 2015

@shivaram it seems that we can change them with @name. I'll try it.

@yu-iskw
Copy link
Contributor Author

yu-iskw commented Aug 24, 2015

@shivaram These are the gists of floor.Rd to show the difference if using @name or not. If there are any issues, I can revert the update.

@SparkQA
Copy link

SparkQA commented Aug 24, 2015

Test build #41485 has finished for PR 8386 at commit 934a558.

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

@shivaram
Copy link
Contributor

@yu-iskw Thanks this is looking great ! I tried this locally and ran into one small problem while running knitr (using R/create-docs.sh). It needs the following diff to work correctly -- Can you add this to the PR ?

-Rscript -e 'library(SparkR, lib.loc="../../lib"); library(knitr); knit_rd("SparkR")'
+Rscript -e 'libDir <- "../../lib"; library(SparkR, lib.loc=libDir); library(knitr); knit_rd("SparkR", links = tools::findHTMLlinks(paste(libDir, "SparkR", sep="/")))'

Also we should do a similar cleanup of other methods in columns.R and DataFrame.R but we can do it in a separate PR.

@yu-iskw
Copy link
Contributor Author

yu-iskw commented Aug 25, 2015

@shivaram sure. I have just modified it.

@SparkQA
Copy link

SparkQA commented Aug 25, 2015

Test build #41494 has finished for PR 8386 at commit 8a09abb.

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

@shivaram
Copy link
Contributor

Thanks @yu-iskw -- LGTM. Merging this

asfgit pushed a commit that referenced this pull request Aug 25, 2015
cc: shivaram

## Summary

- Modify `tdname` of expression functions. i.e. `ascii`: `rdname functions` => `rdname ascii`
- Replace the dynamical function definitions to the static ones because of thir documentations.

## Generated PDF File
https://drive.google.com/file/d/0B9biIZIU47lLX2t6ZjRoRnBTSEU/view?usp=sharing

## JIRA
[[SPARK-10118] Improve SparkR API docs for 1.5 release - ASF JIRA](https://issues.apache.org/jira/browse/SPARK-10118)

Author: Yu ISHIKAWA <[email protected]>
Author: Yuu ISHIKAWA <[email protected]>

Closes #8386 from yu-iskw/SPARK-10118.

(cherry picked from commit 6511bf5)
Signed-off-by: Shivaram Venkataraman <[email protected]>
@asfgit asfgit closed this in 6511bf5 Aug 25, 2015
@yu-iskw
Copy link
Contributor Author

yu-iskw commented Aug 25, 2015

Thank you for merging it!

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.

3 participants