once the foam is installed correctly, it is a inert plastic not much different than the foam cushions you sit on. there is not a health rick unless you have off ratio uncured foam that has not mixed properly. the foam is absolutely a health risk in its raw forms before it is mixed and cured. You should not be in the building without proper respirators and eye protection. The spray foam industry should be controlled and regulated by the same standards, testing and inspections that framing ,electrical and plumbing are. until that happens then you will have idiots with spray rigs ruining peoples homes and ruining the market for honest foam contractors that know how to price a job fairly and complete it correctly.
The process by which heat energy in the form of light (usually IR unless the substrate is hot enough to glow in the visible range) is emitted more strongly by warm surfaces and absorbed by other materials especially those of low IR reflectivity (think matte black finish). Radiant heat transfer does not require a medium. Foam insulation materials, such as spray foam insulation, are opaque to thermal radiation, like most solid materials.

Spray Foam Hot Roof

Part of that guidance will be explaining that interior, two component foam is applied with the professional using specific personal protective equipment (high-pressure foam is installed while using a respirator, for example). It is encouraged that professionals explain clearly to customers that this equipment, coupled with certain work and engineering practices, including ventilation, is used to minimize exposures to the chemicals used to make SPF during the job.

A. You can use closed-cell spray foam that way if you want, although you should realize that the spray foam will prevent the roof sheathing from drying inward. This approach should only be used if the roof sheathing is bone dry, because it will never dry when sandwiched in this manner. Most building scientists would prefer to see fiberglass rather than closed-cell spray foam under the roof sheathing in this type of assembly. https://youtube.com/embed/ggLAUsiuI_o
For large jobs, professionals such as Dr. Energy Saver use two-part foam, which comes in larger containers. With 2-part spray foam, it's necessary to mix separate resin and catalyst compounds at the application nozzle. Combining these ingredients starts a chemical reaction that creates expanding foam. Contractors use small 2-part foam "kits" to air-seal an attic or to seal and insulate ductwork. To insulate an entire attic or wood-framed wall with spray foam, the resin and catalyst compounds are pumped to the application nozzle from 50-gallon drums in a specially equipped truck. https://www.youtube.com/watch?v=ggLAUsiuI_o&feature=youtu.be
I used this for the rim-joist in our home. A couple things: I put 1in solid core foam (cut to size) in each bay before using the spray foam. I also was able to do a relatively 'thick' spray to close off any potential gaps that may have existed. I turned off the HVAC and turned on some fans in the windows to exhaust out the fumes, and wore a mask (3m respirator).

If you're chemically sensitive, it's probably not a good idea to get it installed, but it's also not a good idea to breathe musty air from the crawl space either. In addition, your house and its contents are made of lots of materials that affect your indoor air quality. If you're really concerned about this, hire a company to test your air and tell you what you can do about it.
Polyurethane is a closed-cell foam insulation material that initially contains a low-conductivity gas in its cells.[5] As a result of the high thermal resistance of the gas, spray polyurethane insulation typically has an initial R-value around R-3.4 to R-6.7 per inch.[5] In comparison, blown fiberglass typically has an R-Value of only R-3 to R-4 per inch.[6]
R-value is the term given to thermal resistance to heat flow. The higher the R-value of an insulation product, the more effective the insulation properties. Spray polyurethane foam comes in a range of densities and cel structure. Low density foams are referred to as Open Cel SPF while higher density foams are referred to as Closed Cel foam. 1.8-2 pound polyurethane foam has the highest R-value of readily available spray foam insulation used in homes and buildings.[4]

Roof Spray Foam Insulation