Error(s) in re-building vignettes:
  ...
--- re-building 'repoRter_nih.Rmd' using rmarkdown

Attaching package: 'dplyr'

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

    filter, lag

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

    intersect, setdiff, setequal, union

This is your JSON payload:
{
    "criteria": {
        "covid_response": [
            "All"
        ],
        "use_relevance": false,
        "include_active_projects": false,
        "exclude_subprojects": false,
        "multi_pi_only": false,
        "newly_added_projects_only": false,
        "sub_project_only": false
    },
    "include_fields": [
        "AwardAmount",
        "CovidResponse"
    ],
    "offset": 0,
    "limit": 500
}

If you receive a non-200 API response, compare this formatting (boxes, braces, quotes, etc.) to the 'Complete Payload' schema provided here:
https://api.reporter.nih.gov/?urls.primaryName=V2.0#/Search/post_v2_projects_search 

Retrieving first page of results (up to 500 records)
Request failed [500]. Retrying in 1 seconds...
Request failed [500]. Retrying in 3.7 seconds...
API Error: received non-200 response - please try again later and if the issue persists
            report the issue to the package maintainer (include the request JSON which is failing).
Quitting from lines 46-104 (repoRter_nih.Rmd) 
Error: processing vignette 'repoRter_nih.Rmd' failed with diagnostics:
object 'p' not found
--- failed re-building 'repoRter_nih.Rmd'

SUMMARY: processing the following file failed:
  'repoRter_nih.Rmd'

Error: Vignette re-building failed.
Execution halted
Error(s) in re-building vignettes:
--- re-building ‘repoRter_nih.Rmd’ using rmarkdown

Attaching package: 'dplyr'

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

    filter, lag

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

    intersect, setdiff, setequal, union

This is your JSON payload:
{
    "criteria": {
        "covid_response": [
            "All"
        ],
        "use_relevance": false,
        "include_active_projects": false,
        "exclude_subprojects": false,
        "multi_pi_only": false,
        "newly_added_projects_only": false,
        "sub_project_only": false
    },
    "include_fields": [
        "AwardAmount",
        "CovidResponse"
    ],
    "offset": 0,
    "limit": 500
}

If you receive a non-200 API response, compare this formatting (boxes, braces, quotes, etc.) to the 'Complete Payload' schema provided here:
https://api.reporter.nih.gov/?urls.primaryName=V2.0#/Search/post_v2_projects_search 

Retrieving first page of results (up to 500 records)
Request failed [500]. Retrying in 1 seconds...
Request failed [500]. Retrying in 1.4 seconds...
API Error: received non-200 response - please try again later and if the issue persists
            report the issue to the package maintainer (include the request JSON which is failing).
Quitting from lines 46-104 (repoRter_nih.Rmd) 
Error: processing vignette 'repoRter_nih.Rmd' failed with diagnostics:
object 'p' not found
--- failed re-building ‘repoRter_nih.Rmd’

SUMMARY: processing the following file failed:
  ‘repoRter_nih.Rmd’

Error: Vignette re-building failed.
Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘repoRter_nih.Rmd’ using rmarkdown

Attaching package: 'dplyr'

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

    filter, lag

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

    intersect, setdiff, setequal, union

This is your JSON payload:
{
    "criteria": {
        "covid_response": [
            "All"
        ],
        "use_relevance": false,
        "include_active_projects": false,
        "exclude_subprojects": false,
        "multi_pi_only": false,
        "newly_added_projects_only": false,
        "sub_project_only": false
    },
    "include_fields": [
        "AwardAmount",
        "CovidResponse"
    ],
    "offset": 0,
    "limit": 500
}

If you receive a non-200 API response, compare this formatting (boxes, braces, quotes, etc.) to the 'Complete Payload' schema provided here:
https://api.reporter.nih.gov/?urls.primaryName=V2.0#/Search/post_v2_projects_search 

Retrieving first page of results (up to 500 records)
Request failed [500]. Retrying in 1 seconds...
Request failed [500]. Retrying in 1.9 seconds...
API Error: received non-200 response - please try again later and if the issue persists
            report the issue to the package maintainer (include the request JSON which is failing).
Quitting from lines 46-104 (repoRter_nih.Rmd) 
Error: processing vignette ‘repoRter_nih.Rmd’ failed with diagnostics:
object ‘p’ not found
--- failed re-building ‘repoRter_nih.Rmd’

SUMMARY: processing the following file failed:
  ‘repoRter_nih.Rmd’

Error: Vignette re-building failed.
Execution halted
Error(s) in re-building vignettes:
--- re-building 'repoRter_nih.Rmd' using rmarkdown

Attaching package: 'dplyr'

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

    filter, lag

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

    intersect, setdiff, setequal, union

This is your JSON payload:
{
    "criteria": {
        "covid_response": [
            "All"
        ],
        "use_relevance": false,
        "include_active_projects": false,
        "exclude_subprojects": false,
        "multi_pi_only": false,
        "newly_added_projects_only": false,
        "sub_project_only": false
    },
    "include_fields": [
        "AwardAmount",
        "CovidResponse"
    ],
    "offset": 0,
    "limit": 500
}

If you receive a non-200 API response, compare this formatting (boxes, braces, quotes, etc.) to the 'Complete Payload' schema provided here:
https://api.reporter.nih.gov/?urls.primaryName=V2.0#/Search/post_v2_projects_search 

Retrieving first page of results (up to 500 records)
Retrieving results 501 to 1000 of 3278
Retrieving results 1001 to 1500 of 3278
Retrieving results 1501 to 2000 of 3278
Retrieving results 2001 to 2500 of 3278
Retrieving results 2501 to 3000 of 3278
Retrieving results 3001 to 3278 of 3278
! Undefined control sequence.
l.68 \UseRawInputEncoding

Error: processing vignette 'repoRter_nih.Rmd' failed with diagnostics:
LaTeX failed to compile d:/RCompile/CRANpkg/local/4.1/repoRter.nih.Rcheck/vign_test/repoRter.nih/vignettes/repoRter_nih.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See repoRter_nih.log for more info.
--- failed re-building 'repoRter_nih.Rmd'

SUMMARY: processing the following file failed:
  'repoRter_nih.Rmd'

Error: Vignette re-building failed.
Execution halted