Skip to content

Commit

Permalink
Fixing R build to always run 'doxygen2' and generate the 'NAMESPACE' …
Browse files Browse the repository at this point in the history
…file required for package installation.
  • Loading branch information
piotrszul committed Apr 11, 2024
1 parent 720bbb8 commit cb7b800
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions lib/R/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,21 @@
</arguments>
</configuration>
</execution>
<execution>
<id>generate-docs</id>
<phase>process-sources</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>Rscript</executable>
<workingDirectory>${project.basedir}</workingDirectory>
<arguments>
<argument>-e</argument>
<argument>roxygen2::roxygenise()</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>test</id>
<phase>test</phase>
Expand Down Expand Up @@ -308,21 +323,6 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>generate-docs</id>
<phase>process-sources</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>Rscript</executable>
<workingDirectory>${project.basedir}</workingDirectory>
<arguments>
<argument>-e</argument>
<argument>roxygen2::roxygenise()</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>generate-site</id>
<phase>process-sources</phase>
Expand Down

0 comments on commit cb7b800

Please sign in to comment.