Issues after upgrading roxygen2 from 7.2.3 to 7.3.2

I have my personal package developed a few years ago with roxygen2 version 7.2.3 and have just upgraded to version 7.3.2 but when I try to run devtools::check() it gets stuck after these 2 lines of output:
===Documenting====
Updating packagename documentation
Loading packagename

I've tried many arguments inside the check function without any success (args = c('--no-examples', '--no-manual', '--no-tests')).

If I downgrade roxygen2 version back to the previous one, it works again. Please let me know if anyone has any idea what that might be.

Thanks,
Anselmo

Try calling devtools::document() or roxygen2::roxygenize() directly, to see if you'll get better output.

Hi Gabor,

Same output for both commands. It doesn't move forward after "Loading packagename" message.

Will try creating a new folder project to see if it gets better.

Are you sure that this is related to roxygen2? Does this work?

pkgload::load_all()
pkgload::load_all()

works fine.

If I run:

devtools::check(document = FALSE)

also works.

But these don't work (stay at "Loading packagename" message indefinitely):

devtools::document()
roxygen2::roxygenize()

I also created a new folder and copied only the necessary files to replicate the package. Also created a env to isolate the packages. Same thing happens: can check without creating the documentation.

Also tried in another PC machine and same output.

Is you package open source? Is it in a repository where we can see it?

It's not open source. I can share it with you but it's basically to run my daily routine files.

Just to let you know:

Within the new folder with renv, just deleted roxygen2 7.3.2 and did:

remotes::install_version("roxygen2", version = "7.2.3")

Now

roxygen2::roxigenize()
devtools::document()

both work!

If you use renv, then it could also be some interaction with renv, but really just guessing here.

Only to test with this new folder.

Did the same with my regular libraries folder, got the same output.

Still want to make it works with the latest version.

Will keep doing tests and post if find anything useful.

Thanks