diff --git a/CRAN-RELEASE b/CRAN-RELEASE index 93e19af..1bae46f 100644 --- a/CRAN-RELEASE +++ b/CRAN-RELEASE @@ -1,2 +1,2 @@ This package was submitted to CRAN on 2019-03-13. -Once it is accepted, delete this file and tag the release (commit a004265122). +Once it is accepted, delete this file and tag the release (commit 061de71309). diff --git a/cran-comments.md b/cran-comments.md index c1a93ff..a918bd4 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,7 +1,6 @@ -## Minor release 0.15.6 +## Resubmission 0.15.6 * I have addresed remaining issues in the vignette and the test cases that were still trying write to the user's library causing failures on debian-gcc on CRAN for version 0.15.5 * I've tested with a read-only system and user R library to simulate the errors on the debian system. -* There is one remaining NOTE that is due to the way we load and test a package (using loadNamespace) built by DataPackageR in the vignettes. ## Test environments * local OS X install (x86_64-apple-darwin16.7.0), R 3.6.0 (2019-03-07 r76210) @@ -18,14 +17,10 @@ There were no ERRORs or WARNINGs -There was 1 NOTE: -N checking for unstated dependencies in vignettes ... - 'library' or 'require' call not declared from: ‘mtcars20’ +There was 1 NOTE -There was 1 NOTE when pandoc was absent: - -NOTE: -Files ‘README.md’ or ‘NEWS.md’ cannot be checked without ‘pandoc’ being installed. +* checking CRAN incoming feasibility ... NOTE +Maintainer: 'Greg Finak ' ## Downstream dependencies diff --git a/vignettes/usingDataPackageR.Rmd b/vignettes/usingDataPackageR.Rmd index 1774517..7f62927 100644 --- a/vignettes/usingDataPackageR.Rmd +++ b/vignettes/usingDataPackageR.Rmd @@ -261,8 +261,9 @@ The data set documentation will be accessible via `?cars_over_20`, and the data dir.create(file.path(tempdir(),"lib")) # Let's use the package we just created. install.packages(file.path(tempdir(),"mtcars20_1.0.tar.gz"), type = "source", repos = NULL, lib = file.path(tempdir(),"lib")) -if(!"package:mtcars20"%in%search()) - attachNamespace(loadNamespace('mtcars20',lib.loc = file.path(tempdir(),"lib"))) #use library() in your code +lns <- loadNamespace +if (!"package:mtcars20"%in%search()) + attachNamespace(lns('mtcars20',lib.loc = file.path(tempdir(),"lib"))) #use library() in your code data("cars_over_20") # load the data cars_over_20 # now we can use it.