/usr/share/doc/r-cran-magrittr/tests/test-all.R is in r-cran-magrittr 1.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2
library(testthat) test_check("magrittr")