[R-pkg-devel] noLD error in CRAN checks in package 'HACSim'

2019-05-15 Thread Jarrett Phillips
Hello, My package has recently been posted to CRAN, however, there is an additional issue of noLD on tests on x86_64 Linux with R-devel. I haven't yet received an email from CRAN maintainers on resolving the issue. However, I would like to submit an updated package version with improved

[R-pkg-devel] Check Results ERROR on Windows R release

2019-05-17 Thread Jarrett Phillips
Hello, On submitting an update of my R package (HACSim), checks fail on r-release-windows-ix86+x86_64 The updated package, in addition to improving on documentation, also fixes a noLD error by replacing

[R-pkg-devel] Writing to files without altering working directory in R package

2019-05-03 Thread Jarrett Phillips
Hello, My R package has a function with an argument to specify whether numerical results should be outputted to a CSV file. CRAN policy stipulates verbatim that Packages should not write in the user’s home filespace (including clipboards), nor anywhere else on the file system apart from the R

[R-pkg-devel] False Positive WARNING in devtools::check_built

2019-05-03 Thread Jarrett Phillips
Hello, I have run devtools::check_built() on my package tarball to ensure the presence of no ERRORS/WARNINGS or NOTES. The below WARNING was found: W checking for unstated dependencies in examples ... Warning: parse error in file 'HACSim-Ex.R': 197:17: unexpected symbol 196: #

[R-pkg-devel] What constitutes insufficient merit of an r package?

2019-04-25 Thread Jarrett Phillips
Hello, When submitting a package to the Comprehensive R Archive Network (CRAN), one requirement for eventual acceptance is novelty of the package and its workings (i.e., functions, etc.). That is, a package's contribution cannot be trivial. The flowchart found here explains things pictorially:

[R-pkg-devel] (Not) Reporting minimum R version in DESCRIPTION Depends Field

2019-07-26 Thread Jarrett Phillips
Hello, Numerous CRAN packages report minimum R versions within the Depends field of the DESCRIPTION file. Is this reporting always necessary? Hadley Wickham's book "R Packages" states: "You can also use Depends to require a specific version of R, e.g. Depends: R (>= 3.0.1) . As with packages,

[R-pkg-devel] dir() function use in R packages

2020-03-04 Thread Jarrett Phillips
Hi All, I am updating my R package that is currently on CRAN. I am looking to have my main package function iterate through some files in a directory, but am having some issues. In my function, I do the following (I might switch to 'replicate()' instead since non-preallocated for loops can be

[R-pkg-devel] Problems with devtools::build() in R

2023-05-16 Thread Jarrett Phillips
Hi All, I'm trying to generate a `tar.gz` file on a Mac for R package submission to CRAN but am having issues. I'm using `devtools`, specifically `build()` and `install()`. My package relies on compiled code via `Rcpp/RcppArmadillo`. build("HACSim_OO") ── R CMD build

Re: [R-pkg-devel] Problems with devtools::build() in R

2023-05-16 Thread Jarrett Phillips
On Tue, May 16, 2023 at 2:00 PM Jarrett Phillips wrote: > Yes, in addition to doing what @DirkEddelbuettel suggests. I keep getting > the same error... > > On Tue, May 16, 2023 at 1:47 PM Duncan Murdoch > wrote: > >> On 16/05/2023 1:14 p.m., Jarrett Phillips wrote: >

Re: [R-pkg-devel] Problems with devtools::build() in R

2023-05-16 Thread Jarrett Phillips
Hi Dirk, I wonder if my problem is related to the question you posed about the CRAN macOS builders being down. If it is, then according to @Simon Urbanek, this should be resolved in a few hours. Can you confirm? Thanks. Cheers, Jarrett On Tue, May 16, 2023 at 1:11 PM Dirk Eddelbuettel

Re: [R-pkg-devel] Problems with devtools::build() in R

2023-05-16 Thread Jarrett Phillips
Actually, no, only locally… but so far all proposed solutions have failed. On Tue, May 16, 2023 at 7:11 PM Dirk Eddelbuettel wrote: > > Hi Jarrett > > On 16 May 2023 at 19:06, Jarrett Phillips wrote: > | I wonder if my problem is related to the question you posed about the &

Re: [R-pkg-devel] Problems with devtools::build() in R

2023-05-16 Thread Jarrett Phillips
Installing from the URL you provide, as well as doing R CMD build HACSim as suggested by @JeffNewmiller fails. When trying the latter solution, I get the same error as the one provided in my original post. Any thoughts? On Tue, May 16, 2023 at 12:52 PM Jarrett Phillips < phillipsja

Re: [R-pkg-devel] Problems with devtools::build() in R

2023-05-16 Thread Jarrett Phillips
hat the issue would be. I just tried > >remotes::install_github("jphill01/HACSim.R") > > and it worked fine, but I think that's not the same version that you are > working with. > > Duncan Murdoch > > On 16/05/2023 2:01 p.m., Jarrett Phillips wrote: >

Re: [R-pkg-devel] Problems with devtools::build() in R

2023-05-16 Thread Jarrett Phillips
:39 PM Duncan Murdoch wrote: > On 16/05/2023 12:07 p.m., Jarrett Phillips wrote: > > Hi All, > > > > I'm trying to generate a `tar.gz` file on a Mac for R package submission > to > > CRAN but am having issues. > > > > I'm using `devtools`, specifically `bu

Re: [R-pkg-devel] Problems with devtools::build() in R

2023-05-17 Thread Jarrett Phillips
Hi Ivan, Yes, I can build a Fortran program successfully. cat >hello.f90 < wrote: > Can you build a Fortran program? I.e., does the following work? > > cat >hello.f90 < program hello > print *, 'Hello world' > end program > EOF > gfortran -o hello hello.f90 && ./hello > > Does `which gfortran`