[R-pkg-devel] R CMD check: Titles in README
HI all, Submission of a new version of the tidyhydat package to CRAN, I get this warning on the pre-test checks for Debian: * checking top-level files ... WARNING Conversion of ‘README.md’ failed: [WARNING] This document format requires a nonempty element. Defaulting to ‘README’ as the title. To specify a title, use ‘title’ in metadata or --metadata title="...". Here is the actual log: https://win-builder.r-project.org/incoming_pretest/tidyhydat_0.5.0_20191127_215625/Debian/00check.log The .yaml header for the README has not changed since the last successful submission. Looking at the changes to R 3.6.1 patched, nothing has changed in README requirement AFAIK. Is this a false positive? If not, any thoughts on how to make it go away? Best, Sam __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
Re: [Rd] R 3.5.3 having trouble spawning a new process on my Windows 10 machine
Hi Joris, Thanks for trying. > Is your PATH set on your user environment variables or on the system? It is set as a system variable > Did you try to remove the entry for R-3.5.2 ? For each version iteration in the above example, I only had the path of the version that I was working with. So yes. Sam On Mon, Mar 25, 2019 at 9:11 AM Joris Meys wrote: > Hi Sam, > > Is your PATH set on your user environment variables or on the system? > Did you try to remove the entry for R-3.5.2 ? > > I have tested with a standard install, and I can't reproduce your error. I > have the exact same path in my system PATH environment variable for 3.5.3, > and nothing for other versions. > > Sorry I can't be of any more help. > Cheers > Joris > > On Mon, Mar 25, 2019 at 4:54 PM Sam Albers wrote: > >> Hi all, >> >> I am noticing some strange behaviour so I am bringing to this list. In the >> past when I have submitted bugs to bugzilla, I have come here first for >> confirmation/advice. Hopefully this is appropriate. >> >> Upgrading from R 3.5.2 to R 3.5.3 seems to have elicited some strange >> behaviour on my Windows machine. R seems to have trouble spawning a new >> process on my machine. You can noticing with all sort of packages, like >> devtools, which try to spawn new R processes. Here is the replication of >> the beahviour: >> >> >> >> ## On R 3.5.3 >> Open a command prompt: >> >> H:\>R >> '"C:\PROGRA~1\R\R-35~1.3/bin/x64/Rterm.exe"' is not recognized as an >> internal or external command, >> operable program or batch file. >> >> H:\>Rscript -e "sessionInfo()" >> R version 3.5.3 (2019-03-11) >> Platform: x86_64-w64-mingw32/x64 (64-bit) >> Running under: Windows 10 x64 (build 17134) >> >> Matrix products: default >> >> locale: >> [1] LC_COLLATE=English_Canada.1252 LC_CTYPE=English_Canada.1252 >> [3] LC_MONETARY=English_Canada.1252 LC_NUMERIC=C >> [5] LC_TIME=English_Canada.1252 >> >> attached base packages: >> [1] stats graphics grDevices utils datasets methods base >> >> loaded via a namespace (and not attached): >> [1] compiler_3.5.3 >> >> >> >> ## On 3.5.2 >> H:\>R >> >> R version 3.5.2 (2018-12-20) -- "Eggshell Igloo" >> Copyright (C) 2018 The R Foundation for Statistical Computing >> Platform: x86_64-w64-mingw32/x64 (64-bit) >> >> R is free software and comes with ABSOLUTELY NO WARRANTY. >> You are welcome to redistribute it under certain conditions. >> Type 'license()' or 'licence()' for distribution details. >> >> Natural language support but running in an English locale >> >> R is a collaborative project with many contributors. >> Type 'contributors()' for more information and >> 'citation()' on how to cite R or R packages in publications. >> >> Type 'demo()' for some demos, 'help()' for on-line help, or >> 'help.start()' for an HTML browser interface to help. >> Type 'q()' to quit R. >> >> > q() >> Save workspace image? [y/n/c]: n >> >> H:\>Rscript -e "sessionInfo()" >> R version 3.5.2 (2018-12-20) >> Platform: x86_64-w64-mingw32/x64 (64-bit) >> Running under: Windows 10 x64 (build 17134) >> >> Matrix products: default >> >> locale: >> [1] LC_COLLATE=English_Canada.1252 LC_CTYPE=English_Canada.1252 >> [3] LC_MONETARY=English_Canada.1252 LC_NUMERIC=C >> [5] LC_TIME=English_Canada.1252 >> >> attached base packages: >> [1] stats graphics grDevices utils datasets methods base >> >> loaded via a namespace (and not attached): >> [1] compiler_3.5.2 >> >> >> >> ## Considerations >> - I have manually removed both my .Renviron and .Rprofile files just to >> ensure those weren't muddling up anything. >> - I have my PATH set like this "C:\Program Files\R\R-3.5.3\bin" for 3.5.3 >> and "C:\Program Files\R\R-3.5.2\bin" for 3.5.2 >> - R 3.5.3 works final if I just open the default console that ships with >> R. >> But then anytime I try to launch a new process I get the above error. >> >> A similar issue has been raised up before >> https://stat.ethz.ch/pipermail/r-devel/2017-September/074921.html >> https://stat.ethz.ch/pipermail/r-devel/2015-September/071714.html >> >> Am I missing something obvious here? Many thanks in advance for taking a >> look. >> >> Regards, >> >> Sam >> >> [[alternative HTML version deleted]] >> >> __ >> R-devel@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-devel >> > > > -- > Joris Meys > Statistical consultant > > Department of Data Analysis and Mathematical Modelling > Ghent University > Coupure Links 653, B-9000 Gent (Belgium) > > <https://maps.google.com/?q=Coupure+links+653,%C2%A0B-9000+Gent,%C2%A0Belgium=gmail=g> > > --- > Biowiskundedagen 2018-2019 > http://www.biowiskundedagen.ugent.be/ > > --- > Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php > [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
[Rd] R 3.5.3 having trouble spawning a new process on my Windows 10 machine
Hi all, I am noticing some strange behaviour so I am bringing to this list. In the past when I have submitted bugs to bugzilla, I have come here first for confirmation/advice. Hopefully this is appropriate. Upgrading from R 3.5.2 to R 3.5.3 seems to have elicited some strange behaviour on my Windows machine. R seems to have trouble spawning a new process on my machine. You can noticing with all sort of packages, like devtools, which try to spawn new R processes. Here is the replication of the beahviour: ## On R 3.5.3 Open a command prompt: H:\>R '"C:\PROGRA~1\R\R-35~1.3/bin/x64/Rterm.exe"' is not recognized as an internal or external command, operable program or batch file. H:\>Rscript -e "sessionInfo()" R version 3.5.3 (2019-03-11) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 17134) Matrix products: default locale: [1] LC_COLLATE=English_Canada.1252 LC_CTYPE=English_Canada.1252 [3] LC_MONETARY=English_Canada.1252 LC_NUMERIC=C [5] LC_TIME=English_Canada.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] compiler_3.5.3 ## On 3.5.2 H:\>R R version 3.5.2 (2018-12-20) -- "Eggshell Igloo" Copyright (C) 2018 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > q() Save workspace image? [y/n/c]: n H:\>Rscript -e "sessionInfo()" R version 3.5.2 (2018-12-20) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 17134) Matrix products: default locale: [1] LC_COLLATE=English_Canada.1252 LC_CTYPE=English_Canada.1252 [3] LC_MONETARY=English_Canada.1252 LC_NUMERIC=C [5] LC_TIME=English_Canada.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] compiler_3.5.2 ## Considerations - I have manually removed both my .Renviron and .Rprofile files just to ensure those weren't muddling up anything. - I have my PATH set like this "C:\Program Files\R\R-3.5.3\bin" for 3.5.3 and "C:\Program Files\R\R-3.5.2\bin" for 3.5.2 - R 3.5.3 works final if I just open the default console that ships with R. But then anytime I try to launch a new process I get the above error. A similar issue has been raised up before https://stat.ethz.ch/pipermail/r-devel/2017-September/074921.html https://stat.ethz.ch/pipermail/r-devel/2015-September/071714.html Am I missing something obvious here? Many thanks in advance for taking a look. Regards, Sam [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [R-pkg-devel] R CMD INSTALL succeeds while R CMD BUILD fails
Oh you are totally right. And similarly, an .rds file bonks with R CMD build: $ R CMD build foo.rds * checking for file 'foo.rds/DESCRIPTION' ... OK * preparing 'foo.rds': * checking DESCRIPTION meta-information ... OK * checking for LF line-endings in source and make files and shell scripts * checking for empty or unneeded directories Warning in gzfile(file, "rb") : cannot open compressed file 'foo.rds', probable reason 'Permission denied' Error in gzfile(file, "rb") : cannot open the connection Execution halted However this seems like a bug doesn't it? I am able to install a *.rds or *.rdata package but unable to build it. Seems like a) I should be able to install and b) these could be added to the list of unavailable package names. Asking in the context of whether this is worth reporting as a bug. Sam On Fri, Jan 11, 2019 at 12:00 PM Hong Ooi wrote: > > It looks like the ".rdata" in your package name is confusing R CMD BUILD into > thinking there is a .rdata file involved. Consider renaming it to > "bcmaps.data" or something similar. > > > -Original Message- > From: R-package-devel On Behalf Of > Sam Albers > Sent: Friday, 11 January, 2019 2:07 PM > To: r-package-devel@r-project.org > Subject: [R-pkg-devel] R CMD INSTALL succeeds while R CMD BUILD fails > > Hello all, > > I am experiencing some issues with building a package that we are hosting on > GitHub. The package itself is quite large. It is a data package with a bunch > of spatial files stored as .rds files. > > The repo is located here: > https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbcgov%2Fbcmaps.rdatadata=02%7C01%7Chongooi%40microsoft.com%7C6ac8c309c7b84a8de4d208d677fef252%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C636828334223679364sdata=GosuFnTADrpxapDMNQSMxKoI9B4aPtIw7LwPwoCmYxU%3Dreserved=0 > > If we clone that package to local machine via: > git clone > https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbcgov%2Fbcmaps.rdatadata=02%7C01%7Chongooi%40microsoft.com%7C6ac8c309c7b84a8de4d208d677fef252%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C636828334223679364sdata=GosuFnTADrpxapDMNQSMxKoI9B4aPtIw7LwPwoCmYxU%3Dreserved=0 > > The first oddity is that the package installs successfully using this: > > $ R CMD INSTALL "./bcmaps.rdata" > > But fails when I try to build the package: > > $ R CMD BUILD "./bcmaps.rdata" > * checking for file './bcmaps.rdata/DESCRIPTION' ... OK > * preparing 'bcmaps.rdata': > * checking DESCRIPTION meta-information ... OK > * checking for LF line-endings in source and make files and shell scripts > * checking for empty or unneeded directories > * looking to see if a 'data/datalist' file should be added Warning in > gzfile(file, "rb") : > cannot open compressed file 'bcmaps.rdata', probable reason 'Permission > denied' > Error in gzfile(file, "rb") : cannot open the connection Execution halted > > > The second oddity is that if I remove the . from the Package name in the > DESCRIPTION file, the build proceeds smoothly: > > $ R CMD build "./bcmaps.rdata" > * checking for file './bcmaps.rdata/DESCRIPTION' ... OK > * preparing 'bcmapsrdata': > * checking DESCRIPTION meta-information ... OK > * checking for LF line-endings in source and make files and shell scripts > * checking for empty or unneeded directories > * looking to see if a 'data/datalist' file should be added > * building 'bcmapsrdata_0.2.0.tar.gz' > > I am assuming that R CMD install builds the package internally so I find it > confusing that I am not able to build it myself. Similarly confusing is the > lack of a . in the package name indicative of anything? > > Does anyone have any idea what's going on here? Am I missing something > obvious? > > Thanks in advance, > > Sam > > __ > R-package-devel@r-project.org mailing list > https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-package-develdata=02%7C01%7Chongooi%40microsoft.com%7C6ac8c309c7b84a8de4d208d677fef252%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C636828334223679364sdata=0r%2FFfRH6eYqRPLAAFLprWAttPip02VKV0GIqBOtVhI8%3Dreserved=0 __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
[R-pkg-devel] R CMD INSTALL succeeds while R CMD BUILD fails
Hello all, I am experiencing some issues with building a package that we are hosting on GitHub. The package itself is quite large. It is a data package with a bunch of spatial files stored as .rds files. The repo is located here: https://github.com/bcgov/bcmaps.rdata If we clone that package to local machine via: git clone https://github.com/bcgov/bcmaps.rdata The first oddity is that the package installs successfully using this: $ R CMD INSTALL "./bcmaps.rdata" But fails when I try to build the package: $ R CMD BUILD "./bcmaps.rdata" * checking for file './bcmaps.rdata/DESCRIPTION' ... OK * preparing 'bcmaps.rdata': * checking DESCRIPTION meta-information ... OK * checking for LF line-endings in source and make files and shell scripts * checking for empty or unneeded directories * looking to see if a 'data/datalist' file should be added Warning in gzfile(file, "rb") : cannot open compressed file 'bcmaps.rdata', probable reason 'Permission denied' Error in gzfile(file, "rb") : cannot open the connection Execution halted The second oddity is that if I remove the . from the Package name in the DESCRIPTION file, the build proceeds smoothly: $ R CMD build "./bcmaps.rdata" * checking for file './bcmaps.rdata/DESCRIPTION' ... OK * preparing 'bcmapsrdata': * checking DESCRIPTION meta-information ... OK * checking for LF line-endings in source and make files and shell scripts * checking for empty or unneeded directories * looking to see if a 'data/datalist' file should be added * building 'bcmapsrdata_0.2.0.tar.gz' I am assuming that R CMD install builds the package internally so I find it confusing that I am not able to build it myself. Similarly confusing is the lack of a . in the package name indicative of anything? Does anyone have any idea what's going on here? Am I missing something obvious? Thanks in advance, Sam __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel