Skip to content

papaja

Prepare American Psychological Association Journal Articles with R Markdown

v0.1.4 · Sep 26, 2025 · MIT + file LICENSE

Description

Tools to create dynamic, submission-ready manuscripts, which conform to American Psychological Association manuscript guidelines. We provide R Markdown document formats for manuscripts (PDF and Word) and revision letters (PDF). Helper functions facilitate reporting statistical analyses or create publication-ready tables and plots.

Downloads

1.6K

Last 30 days

3048th

1.6K

Last 90 days

1.6K

Last year

CRAN Check Status

1 ERROR
13 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 ERROR
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
OK r-devel-linux-x86_64-debian-gcc

*


            
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
ERROR r-devel-macos-arm64

tests

  Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [12s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > library("papaja")
  Loading required package: tinylabels
  > 
  > test_check("papaja")
  # weights:  11 (10 variable)
  initial  value 131.004817 
  iter  10 value 18.950613
  iter  20 value 1.688044
  iter  30 value 0.191850
  iter  40 value 0.157681
  iter  50 value 0.144956
  iter  60 value 0.140122
  iter  70 value 0.126855
  iter  80 value 0.121665
  iter  90 value 0.119362
  iter 100 value 0.114966
  final  value 0.114966 
  stopped after 100 iterations
  Saving _problems/test_apa_print_anova-561.R
  [ FAIL 1 | WARN 0 | SKIP 10 | PASS 2511 ]
  
  ══ Skipped tests (10) ══════════════════════════════════════════════════════════
  • On CRAN (7): 'test-generate_author_yml.R:18:5',
    'test_apa_print_merMod.R:6:5', 'test_apa_print_merMod.R:117:5',
    'test_apa_print_model_comp.R:83:5', 'test_apa_table.R:19:5',
    'test_custom_effect_sizes.R:109:5', 'test_skeleton.R:4:5'
  • Structure of glht output not decided, yet. (2): 'test_apa_print_glht.R:7:5',
    'test_apa_print_glht.R:36:5'
  • emtrends() is not yet supported. (1): 'test_apa_print_emm_lsm.R:936:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_apa_print_anova.R:561:5'): Analysis of deviance from the stats and car packages ──
  Error in `remove_residuals_row(y)`: sum(resid_row) == 1 is not TRUE
  Backtrace:
      ▆
   1. ├─papaja::apa_print(anova(glm.D93, test = "Rao")) at test_apa_print_anova.R:561:5
   2. └─papaja:::apa_print.anova(anova(glm.D93, test = "Rao"))
   3.   └─papaja:::remove_residuals_row(y)
   4.     └─base::stopifnot(sum(resid_row) == 1)
  
  [ FAIL 1 | WARN 0 | SKIP 10 | PASS 2511 ]
  Error:
  ! Test failures.
  Execution halted
OK r-devel-windows-x86_64

*


            
OK r-oldrel-macos-arm64

*


            
OK r-oldrel-macos-x86_64

*


            
OK r-oldrel-windows-x86_64

*


            
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 9, 2026
ERROR r-devel-macos-arm64

tests

  Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [12s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > library("papaja")
  Loading required package: tinylabels
  > 
  > test_check("papaja")
  # weights:  11 (10 variable)
  initial  value 131.004817 
  iter  10 value 18.950613
  iter  20 value 1.688044
  iter  30 value 0.191850
  iter  40 value 0.157681
  iter  50 value 0.144956
  iter  60 value 0.140122
  iter  70 value 0.126855
  iter  80 va

Reverse Dependencies (5)

imports

suggests

Dependency Network

Dependencies Reverse dependencies tinylabels bookdown broom glue knitr rmarkdown rmdfiltr yaml zip apathe revise corx ctsem worcs papaja

Version History

new 0.1.4 Mar 9, 2026