Running examples in 'projects-Ex.R' failed
The error most likely occurred in:

> ### Name: header
> ### Title: Print project header to console
> ### Aliases: header
> 
> ### ** Examples
> 
> #############################################################################
> # SETUP
> old_home <- Sys.getenv("HOME")
> old_ppath <- Sys.getenv("PROJECTS_FOLDER_PATH")
> temp_dir <- tempfile("dir")
> dir.create(temp_dir)
> Sys.unsetenv("PROJECTS_FOLDER_PATH")
> Sys.setenv(HOME = temp_dir)
> setup_projects(path = temp_dir)
projects folder created at
D:/temp/RtmpQpjmVM/dir8dc070aa4cd8/projects

Add affiliations with new_affiliation(),
then add authors with new_author(),
then create projects with new_project()
> new_affiliation(department_name = "Math Dept.",
+                 institution_name = "Springfield College",
+                 address = "123 College St, Springfield, AB")
New affiliation:
# A tibble: 1 x 4
     id department_name institution_name    address                        
  <int> <chr>           <chr>               <chr>                          
1     1 Math Dept.      Springfield College 123 College St, Springfield, AB
> new_affiliation(department_name = "Art Department",
+                 institution_name = "Springfield College",
+                 address = "321 University Boulevard, Springfield, AB",
+                 id = 42)
New affiliation:
# A tibble: 1 x 4
     id department_name institution_name    address                             
  <int> <chr>           <chr>               <chr>                               
1    42 Art Department  Springfield College 321 University Boulevard, Springfie~
> new_affiliation(department_name = "Central Intelligence Agency",
+                 institution_name = "United States Government",
+                 address = "888 Classified Dr, Washington DC")
New affiliation:
# A tibble: 1 x 4
     id department_name          institution_name       address                 
  <int> <chr>                    <chr>                  <chr>                   
1     2 Central Intelligence Ag~ United States Governm~ 888 Classified Dr, Wash~
> new_affiliation(department_name = "Pyrotechnics",
+                 institution_name = "ACME")
New affiliation:
# A tibble: 1 x 4
     id department_name institution_name address
  <int> <chr>           <chr>            <chr>  
1     3 Pyrotechnics    ACME             <NA>   
> new_author(given_names = "Rosetta", last_name = "Stone",
+            affiliations = c(42, "Math"), degree = "PhD",
+            email = "slab@rock.net", phone = "867-555-5309", id = 8888)
New author:
# A tibble: 1 x 7
     id last_name given_names title degree email         phone       
  <int> <chr>     <chr>       <chr> <chr>  <chr>         <chr>       
1  8888 Stone     Rosetta     <NA>  PhD    slab@rock.net 867-555-5309

New author's affiliations:
# A tibble: 2 x 4
  affiliation_id department_name institution_name   address                     
           <int> <chr>           <chr>              <chr>                       
1             42 Art Department  Springfield Colle~ 321 University Boulevard, S~
2              1 Math Dept.      Springfield Colle~ 123 College St, Springfield~
> new_author(given_names = "Spiro", last_name = "Agnew", degree = "LLB",
+            affiliations = "Art D", id = 13)
New author:
# A tibble: 1 x 7
     id last_name given_names title degree email phone
  <int> <chr>     <chr>       <chr> <chr>  <chr> <chr>
1    13 Agnew     Spiro       <NA>  LLB    <NA>  <NA> 

New author's affiliations:
# A tibble: 1 x 4
  affiliation_id department_name institution_name   address                     
           <int> <chr>           <chr>              <chr>                       
1             42 Art Department  Springfield Colle~ 321 University Boulevard, S~
> new_author(given_names = "Plato", id = 303)
New author:
# A tibble: 1 x 7
     id last_name given_names title degree email phone
  <int> <chr>     <chr>       <chr> <chr>  <chr> <chr>
1   303 <NA>      Plato       <NA>  <NA>   <NA>  <NA> 

New author's affiliations:
None.> new_project(title = "Test Project 1", authors = c(13, "303", "Stone"),
+             corresp_auth = "Stone")
Error: Can't convert <integer> to <character>.
Backtrace:
    x
 1. +-projects::new_project(...)
 2. | \-projects::projects_stage(1L)
 3. |   \-vctrs::vec_cast(x, character())
 4. \-vctrs::vec_default_cast(...)
 5.   \-vctrs::stop_incompatible_cast(...)
 6.     \-vctrs::stop_incompatible_type(...)
 7.       \-vctrs:::stop_incompatible(...)
 8.         \-vctrs:::stop_vctrs(...)
Execution halted