aboutsummaryrefslogtreecommitdiff
path: root/R/create-docs.sh
diff options
context:
space:
mode:
authorShivaram Venkataraman <shivaram@cs.berkeley.edu>2015-06-04 12:52:16 -0700
committerShivaram Venkataraman <shivaram@cs.berkeley.edu>2015-06-04 12:52:16 -0700
commit3dc005282a694e105f40e429b28b0a677743341f (patch)
treedbefabb3bf9640e0beaca073bac3818dd53c4658 /R/create-docs.sh
parentcd3176bd86eafa09a5e11baf3636861c1f46e844 (diff)
downloadspark-3dc005282a694e105f40e429b28b0a677743341f.tar.gz
spark-3dc005282a694e105f40e429b28b0a677743341f.tar.bz2
spark-3dc005282a694e105f40e429b28b0a677743341f.zip
[SPARK-8027] [SPARKR] Move man pages creation to install-dev.sh
This also helps us get rid of the sparkr-docs maven profile as docs are now built by just using -Psparkr when the roxygen2 package is available Related to discussion in #6567 cc pwendell srowen -- Let me know if this looks better Author: Shivaram Venkataraman <shivaram@cs.berkeley.edu> Closes #6593 from shivaram/sparkr-pom-cleanup and squashes the following commits: b282241 [Shivaram Venkataraman] Remove sparkr-docs from release script as well 8f100a5 [Shivaram Venkataraman] Move man pages creation to install-dev.sh This also helps us get rid of the sparkr-docs maven profile as docs are now built by just using -Psparkr when the roxygen2 package is available
Diffstat (limited to 'R/create-docs.sh')
-rwxr-xr-xR/create-docs.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/R/create-docs.sh b/R/create-docs.sh
index af47c0863b..6a4687b06e 100755
--- a/R/create-docs.sh
+++ b/R/create-docs.sh
@@ -30,10 +30,7 @@ set -e
export FWDIR="$(cd "`dirname "$0"`"; pwd)"
pushd $FWDIR
-# Generate Rd file
-Rscript -e 'library(devtools); devtools::document(pkg="./pkg", roclets=c("rd"))'
-
-# Install the package
+# Install the package (this will also generate the Rd files)
./install-dev.sh
# Now create HTML files