Changelog
Source:NEWS.md
Rprofile (development version)
New features
-
.ReadClip()added to read clipboard contents [#31] -
.GithubRelease()added to create a GitHub (pre)release [#29], [#41] -
.Rprofile()gains apathargument (with defaults) for identifying an.Rprofilelocation [#23] -
.FindRprofile()added to find your.Rprofilefile; used within.Rprofile()[#23] - Adds
.LintFile()for selecting individual files tolint(defaults to currently opened file) [#21] - Adds
.GitPrepareCommitMsg()to copy one of two templates to.git/hook/prepare-commit-msg[#10] - Adds
.OpenFile()to open a file path or an object inside a file [#6] -
.Rprofile(TRUE)should work again with correction to internalsf() -
.GitBranchPrompt()has been simplified - A new
..Rprofileenvironment will be created on start-up as a copy of an internal package environment -
@jmbarbone’s preferred settings are now included as.RprofileJordan(), now a single command I can run in my.Rprofile -
.CheckCranStatus()has simplified output when cli is available; linked included to packages [#8] - packing
linting now included -
.CheckCranStatus()specifically sets temporary file for check status results -
.CheckCranStatus()outputs corrected -
.GlobalHandle()added to callrlang::global_handle(); added into.RprofileJordan() -
.FileOpen()now normalizes a path for a file before attempting to open -
.OpenFile()added as an alias for.FileOpen() -
.RprofileJordan()checks for additional library paths from envvarsR_LIBS_PAKandR_LIBS_SCRIBE -
.GithubRelease()now prompts for bothpublishandpre-releaseparams when they are not set -
.NewsUrls()paths corrected and no longer error in error - fuj is now imported
-
.Pak()added as a wrapper forpak::pak() -
.UsePackageLibrary()appends a new path to the library path based on the directory of the package -
.RemoveGlobalConflicts()added to remove global conflicts -
.Search(pattern)now allows for pattern matching [#38] - magrittr removed as an import
Fixes
-
.Rprofile()now usesfs::path_expand_r()to resolve tilde expansions, e.g., with"~/.Rprofile"[#23] - Improves checking for
R_PROFILEenvvar -
.CheckCranStatus()now (again?) exits quietly when an email is not found
Enhancements
-
.NewsUrls()now has prettier print for differences; URLs detected are highlighted with crayon and only the changed lines (with line numbers) are printed - Improvements with package checking
- Prompts via
utils::menu()cleaned up
Rprofile 0.0.0.9000
- Added a
NEWS.mdfile to track changes to the package. - Initial exported general utilities
-
.CharacterIndex()to show character index values of strings -
.CheckCranStatus()to show current CRAN status from emails listed inDESCRIPTION -
.Todos(),.TodosHere(),.Fixmes(),.FixmesHere(), to findTODOandFIXMEnotes in your R files. The*Here()alternatives detect your current document in RStudio -
.GitBranchPrompt()to change the prompt to your git branch -
.NiceMessage()to print a nice message -
.OpenPackageUrl()to open URLs found inDESCRIPTION -
.Restart(),.Reload()to restart your RStudio session; or also remove objects -
.RemoveAll()to remove all objects from your environment -
.RemoveAttachedPackages()to detach packages loaded during your session -
.ResetOptions()to reset options in your current session -
.Search()to print outsearch()a bit nicer
-
- Initial exported
.Rprofileutilities