Running examples in ‘report-Ex.R’ failed
The error most likely occurred in:

> ### Name: report_participants
> ### Title: Reporting the participant data
> ### Aliases: report_participants
> 
> ### ** Examples
> 
> library(report)
> data <- data.frame(
+   "Age" = c(22, 23, 54, 21, 8, 42),
+   "Sex" = c("Intersex", "F", "M", "M", "NA", NA),
+   "Gender" = c("N", "W", "W", "M", "NA", NA)
+ )
> report_participants(data, age = "Age", sex = "Sex")
[1] "6 participants (Mean age = 28.3, SD = 16.6, range: [8, 54]; Sex: 16.7% females, 33.3% males, 16.7% other, 33.33% missing; Gender: 33.3% women, 16.7% men, 16.67% non-binary, 33.33% missing)"
> 
> # Years of education (relative to high school graduation)
> data$Education <- c(0, 8, -3, -5, 3, 5)
> report_participants(data,
+   age = "Age", sex = "Sex", gender = "Gender",
+   education = "Education"
+ )
[1] "6 participants (Mean age = 28.3, SD = 16.6, range: [8, 54]; Sex: 16.7% females, 33.3% males, 16.7% other, 33.33% missing; Gender: 33.3% women, 16.7% men, 16.67% non-binary, 33.33% missing; Mean education = 1.3, SD = 4.9, range: [-5, 8])"
> 
> # Education as factor
> data$Education2 <- c(
+   "Bachelor", "PhD", "Highschool",
+   "Highschool", "Bachelor", "Bachelor"
+ )
> report_participants(data, age = "Age", sex = "Sex", gender = "Gender", education = "Education2")
[1] "6 participants (Mean age = 28.3, SD = 16.6, range: [8, 54]; Sex: 16.7% females, 33.3% males, 16.7% other, 33.33% missing; Gender: 33.3% women, 16.7% men, 16.67% non-binary, 33.33% missing; Education: Bachelor, 50.00%; Highschool, 33.33%; PhD, 16.67%)"
> 
> # Country
> data <- data.frame(
+   "Age" = c(22, 23, 54, 21, 8, 42, 18, 32, 24, 27, 45),
+   "Sex" = c("Intersex", "F", "F", "M", "M", "M", "F", "F", "F", "F", "F"),
+   "Gender" = c("N", "W", "W", "M", "M", "M", "W", "W", "W", "W", "W"),
+   "Country" = c(
+     "USA", NA, "Canada", "Canada", "India", "Germany",
+     "USA", "USA", "USA", "USA", "Canada"
+   )
+ )
> report_participants(data)
Error in as.data.frame.integer(x[[i]], optional = TRUE) : 
  row names contain missing values
Calls: report_participants ... data.frame -> as.data.frame -> as.data.frame.integer
Execution halted