The effect of pressure variations on sealed vessels is an extremely complex engineering subject that is at the center of petrochemical plant design. Please refer to the attachment below. However, given the fact that a motor home is hardly a sealed vessel I can assure you that the forces acting on the slide motors, slide rails, etc. are more related to the weight of the slide, it’s position during extension or retraction rather than pressure variations due to repositioning of the slide.
https://www.sciencedirect.com/topics...essure-vessels