Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
paleolimbot committed Aug 15, 2023
1 parent 48d463e commit 0b0d8e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/scripts/docs_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ main() {
# Only build R documentation for installed packages (e.g., so that
# Python's documentation build can run without installing the R
# packages). Packages are installed in ci/scripts/r_build.sh
if Rscript -e "requireNamespace('$pkg')"; then
if Rscript -e "loadNamespace('$pkg_name')" ; then
R -e "pkgdown::build_site_github_pages(pkg = '$pkg', dest_dir = '$source_dir/docs/build/html/r/$pkg_name')"
fi
done
Expand Down

0 comments on commit 0b0d8e2

Please sign in to comment.