May I ask if the Raster bag needs to be taken off the shelf?

I would like to ask, if the raster package is removed, how can the terra package convert multi-layer nc files to ENVI format and resample them to the same number of rows and resolution as another raster image?