Error(s) in re-building vignettes:
--- re-building 'mhcII-hu.Rmd' using rmarkdown
-- Attaching packages --------------------------------------- tidyverse 1.3.2 --
v ggplot2 3.3.6     v purrr   0.3.4
v tibble  3.1.8     v dplyr   1.0.9
v tidyr   1.2.0     v stringr 1.4.1
v readr   2.1.2     v forcats 0.5.2
-- Conflicts ------------------------------------------ tidyverse_conflicts() --
x dplyr::filter() masks stats::filter()
x dplyr::lag()    masks stats::lag()
Loading required package: usethis
here() starts at d:/RCompile/CRANpkg/local/4.1/epitopR.Rcheck/vign_test/epitopR
Loading required package: BiocGenerics

Attaching package: 'BiocGenerics'

The following object is masked from 'package:fs':

    path

The following objects are masked from 'package:dplyr':

    combine, intersect, setdiff, union

The following objects are masked from 'package:stats':

    IQR, mad, sd, var, xtabs

The following objects are masked from 'package:base':

    Filter, Find, Map, Position, Reduce, anyDuplicated, append,
    as.data.frame, basename, cbind, colnames, dirname, do.call,
    duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
    lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
    pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table,
    tapply, union, unique, unsplit, which.max, which.min

Loading required package: S4Vectors
Loading required package: stats4

Attaching package: 'S4Vectors'

The following objects are masked from 'package:dplyr':

    first, rename

The following object is masked from 'package:tidyr':

    expand

The following objects are masked from 'package:base':

    I, expand.grid, unname

Loading required package: IRanges

Attaching package: 'IRanges'

The following objects are masked from 'package:dplyr':

    collapse, desc, slice

The following object is masked from 'package:purrr':

    reduce

The following object is masked from 'package:grDevices':

    windows

Loading required package: XVector

Attaching package: 'XVector'

The following object is masked from 'package:purrr':

    compact

Loading required package: GenomeInfoDb

Attaching package: 'Biostrings'

The following object is masked from 'package:base':

    strsplit

Quitting from lines 62-75 (mhcII-hu.Rmd) 
Error: processing vignette 'mhcII-hu.Rmd' failed with diagnostics:
Problem while computing `antigen = str_remove(gsub(".*/", "", id),
paste0("_", nm_method, ".txt"))`.
Caused by error in `as.character()`:
! cannot coerce type 'closure' to vector of type 'character'
--- failed re-building 'mhcII-hu.Rmd'

SUMMARY: processing the following file failed:
  'mhcII-hu.Rmd'

Error: Vignette re-building failed.
Execution halted