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

> ### Name: test_WEAT
> ### Title: Word Embedding Association Test (WEAT) and Single-Category WEAT.
> ### Aliases: test_WEAT
> 
> ### ** Examples
> 
> ## Remember: cc() is more convenient than c()!
> 
> weat = test_WEAT(
+   demodata,
+   labels=list(T1="King", T2="Queen", A1="Male", A2="Female"),
+   T1=cc("king, King"),
+   T2=cc("queen, Queen"),
+   A1=cc("male, man, boy, brother, he, him, his, son"),
+   A2=cc("female, woman, girl, sister, she, her, hers, daughter"),
+   seed=1)
> weat

── WEAT (Word Embedding Association Test) ──────────────────────────────────────

2 King (T1) valid words
2 Queen (T2) valid words
8 Male (A1) valid words
8 Female (A2) valid words
 
Relative semantic similarities (differences):
───────────────────────────────────────────────
         Target cos_sim_diff std_diff closer_to
───────────────────────────────────────────────
 "king"    King        0.104    1.587      Male
 "King"    King        0.090    1.598      Male
 "queen"  Queen       -0.176   -1.751    Female
 "Queen"  Queen       -0.129   -1.781    Female
───────────────────────────────────────────────

Mean differences for single target category:
─────────────────────────────────────────────
 Target mean_raw_diff mean_std_diff     p    
─────────────────────────────────────────────
   King         0.097         1.592 <.001 ***
  Queen        -0.152        -1.766 <.001 ***
─────────────────────────────────────────────
Permutation test: approximate p values (forced to two-sided)

Overall effect (raw and standardized mean differences):
─────────────────────────────────────────────────────────
     Target       Attrib mean_diff_raw eff_size     p    
─────────────────────────────────────────────────────────
 King/Queen  Male/Female         0.249    1.716 <.001 ***
─────────────────────────────────────────────────────────
Permutation test: exact p value = 0.00e+00 (two-sided)

> 
> sc_weat = test_WEAT(
+   demodata,
+   labels=list(T1="Occupation", A1="Male", A2="Female"),
+   T1=cc("
+     architect, boss, leader, engineer, CEO, officer, manager,
+     lawyer, scientist, doctor, psychologist, investigator,
+     consultant, programmer, teacher, clerk, counselor,
+     salesperson, therapist, psychotherapist, nurse"),
+   A1=cc("male, man, boy, brother, he, him, his, son"),
+   A2=cc("female, woman, girl, sister, she, her, hers, daughter"),
+   seed=1)
Error: Input must be `wordvec` or `embed`!
Execution halted