Closed massimoaria closed 10 months ago
@trangdata @yjunechoe
devtools::build_readme() returns an error.
ℹ Installing openalexR in temporary library
ℹ Building /Users/massimoaria/Rpackages/openalexR/README.Rmd
Quitting from lines 190-203 [unnamed-chunk-12] (README.Rmd)
Error in item$last_known_institution :
$ operator is invalid for atomic vectors
Error:
! in callr subprocess.
Caused by error in `item$last_known_institution`:
! $ operator is invalid for atomic vectors
ℹ See `$stdout` for standard output.
Type .Last.error to see the more details.
We are not able to build readme because the following lines don't work:
_my_arguments <- list( entity = "authors", last_known_institution.id = "I71267560", works_count = ">499" ) do.call(oa_fetch, c(my_arguments, list(countonly = TRUE)))
The issue appears only when you set count_only = TRUE
I proposed a commit that solves this issue
Prepare for release:
git pull
urlchecker::url_check()
devtools::build_readme()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check_win_devel()
revdepcheck::revdep_check(num_workers = 4)
cran-comments.md
git push
Submit to CRAN:
usethis::use_version('patch')
devtools::submit_cran()
Wait for CRAN...
usethis::use_github_release()
usethis::use_dev_version(push = TRUE)