kosukeimai / mediation

R package mediation
58 stars 29 forks source link

Roxygen2 commends added to *.R #5

Closed HJ08003 closed 5 years ago

HJ08003 commented 6 years ago

(1) Reverse engineering to insert Roxygen2 comments by Rd2roxygen::Rd2roxygen("mediation") (2) Used Roxygen2 comments in .R to automatically generate .Rd by roxygen2::roxygenise() (3) Updated Roxygen2 comments to automatically generate NAMESPACE (same as the old one) (4) Added testhat examples

Test are done and passed already: (1) On Mac and Linux, R CMD check --as-cran (2) travis-ci

The test from win-builder is still pending results

HJ08003 commented 6 years ago

The win-builder check is also passed.

However, the test takes about 10s at this moment. Is this OK, or should I remove something in the test?

kosukeimai commented 6 years ago

@HJ08003 What about reducing the number of simulations in mediate() so that the test will take less time?