On 29.08.2022 11:01, Adelchi Azzalini wrote:
Hi. In the last version of package ’sn’ (v. 2.1.0) the old NEWS text file
has been converted to inst/NEWS.Rd. The headers in this file are of the form

\section{Changes in sn version 2.1.0 (2022-07-30)}
\section{Changes in sn version 2.0.2 (2022-03-07)}
and so on

However, when I now look at the package documentation in the HTML rendering,
the “NEWS in packages ’sn’”  does NOT display the dates!

Details on the session are reported below, in case they are relevant.

Can anyone explain how show these dates?

In an interacticve session news(package="sn") open a web page in some web browser and the html code does not contain the dates, but the text form does:

print(news(package="sn"), doBrowse=FALSE)

To analyzse more precisely, we can directly look at the database if the format was read correctly:

db <- news(package="sn")
str(db)
db$Date

and all dates were read correctly.

Best,
Uwe Ligges

---
Adelchi Azzalini
http://azzalini.stat.unipd.it



R> sessionInfo()
R version 4.2.1 (2022-06-23)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Monterey 12.5.1

Matrix products: default
BLAS:   
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/lib/libRblas.0.dylib
LAPACK: 
/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/lib/libRlapack.dylib

Random number generation:
  RNG:     Mersenne-Twister
  Normal:  Inversion
  Sample:  Rounding
locale:
[1] en_US.UTF-8/UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] grid      stats4    stats     utils     datasets  grDevices graphics  
methods   base

other attached packages:
[1] gtable_0.3.0  ggplot2_3.3.6 sn_2.1.0

loaded via a namespace (and not attached):
  [1] Rcpp_1.0.8.3        highr_0.9           pillar_1.7.0        compiler_4.2.1
  [5] tools_4.2.1         digest_0.6.29       evaluate_0.15       
lifecycle_1.0.1
  [9] tibble_3.1.7        lattice_0.20-45     pkgconfig_2.0.3     rlang_1.0.2
[13] Matrix_1.4-1        cli_3.3.0           xfun_0.31           stringr_1.4.0
[17] withr_2.5.0         dplyr_1.0.9         knitr_1.39          generics_0.1.2
[21] vctrs_0.4.1         isoband_0.2.5       tidyselect_1.1.2    glue_1.6.2
[25] R6_2.5.1            fansi_1.0.3         purrr_0.3.4         farver_2.1.0
[29] magrittr_2.0.3      scales_1.2.0        ellipsis_0.3.2      mnormt_2.1.0
[33] colorspace_2.0-3    numDeriv_2016.8-1.1 labeling_0.4.2      utf8_1.2.2
[37] stringi_1.7.6       munsell_0.5.0       crayon_1.5.1
R>
______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to