Encryption and https:

The site has been updated to use encryption. For the web site, old addresses using http: are silently redirected to https:. If you have earlier received warnings from browsers because of the lack of encryption, this upgrade to the server settings should remove them.

The repository at the subdomain https://r.photobiology.info also supports encrypted connections. In addition, because of tightening of security in other ways, if you have been earlier using the address http://www.photobiology.info/R to access the repository, you will need to use https://r.photobiology.info instead from now on. In other words if you are setting this repository address in an .Rprofile file you should edit it to use the new address.

The documentation should be accessed through https://docs.photobiology.info as settings for this subdomain have been changing in the same way.

All these changes should ensure enhanced security for the site and downloads.


R 3.5.0 has been released

R 3.5.0 was released on 23 April. It includes several performance improvements. All packages in the ‘r4photobiology’ suite pass checks on the new version. In CRAN binaries for R 3.5.0 of all packages have been built. In the case of development versions and packages not in CRAN, the repository at http://r.r4photobiology.info/ will soon be updated to include binaries suitable for R 3.5.0. Meanwhile packages will be installed from sources if the require tools are available (e.g. RTools 3.5.0 or 3.4.0 installed in Windows computers).

The update from R 3.4.x to R 3.5.x requires that all packages are reinstalled. For the time being avoid using package ‘installr’ to do the update, at least on Windows, as copying installed packages from an earlier installation is not useful. Please see the page Upgrading R for instructions.

photobiology 0.9.20

The main changes from version 0.9.19, the most recent CRAN release, are:

  • To improve clarity of user code, define wrappers for methods max(), min(), range(), midpoint(), and spread() with names with wl_ prepended (e.g. wl_max()).
  • Rename method spread() to expanse() and deprecate use of spread(). In the case of wl_expanse() and expanse() the new names prevent a name clash with tidyr::spread().
  • Redefine all ‘as.’ class-coercion functions into generic methods and add specialisations. Default behaviour remains unchanged.
  • Add class-coercion methods to and from matrix (and transfer corresponding functions from package ‘photobiologyInOut’).
  • Add function relative_AM() to compute relative air mass from sun elevation.
  • Add functions for calculation of saturated water vapour pressure from air temperature water_vp_sat() and dew point from water vapour pressure water_dp().

Documentation web site at http://docs.r4photobiology.info/photobiology/ includes all help pages, with output from all examples, and vignettes in HTML format.

NOTE: The updated package can be installed from CRAN.

Please raise issues concerning bugs or enhancements to this package through Bitbucket https://bitbucket.org/aphalo/photobiology/issues